Skip to content

fix(network): Rephrase challenge fallback comment to avoid scanner false positive - #426

Merged
maatheusgois-dd merged 1 commit into
mainfrom
fix/httpprotocol-comment-388
Jul 22, 2026
Merged

fix(network): Rephrase challenge fallback comment to avoid scanner false positive#426
maatheusgois-dd merged 1 commit into
mainfrom
fix/httpprotocol-comment-388

Conversation

@maatheusgois-dd

Copy link
Copy Markdown
Contributor

Summary

The comment on HTTPProtocol.swift:806 described working code — the session-level challenge fallback IS implemented. An automated scanner flagged "not implemented" as a placeholder trigger phrase (issue #388).

Changes

Rephrase the comment to accurately describe the working fallback delegation without the scanner trigger phrase.

Test plan

  • xcodebuild build succeeds on iOS Simulator
  • No behavior change — comment-only fix

Fixes #388

Co-authored-by: oh-my-pi https://omp.sh

The comment 'Fallback to session-level challenge if task-level not
implemented' described working code — the fallback IS implemented.
The automated scanner flagged 'not implemented' as a trigger phrase.
Rephrase to accurately describe the working fallback delegation.

Fixes #388

Co-authored-by: oh-my-pi <https://omp.sh>
@github-actions

Copy link
Copy Markdown
Warnings
⚠️ Please assign yourself to the PR.
Messages
📖 Project coverage: 24.35%
📖 The PR added 1 and removed 1 lines. 1 file(s) changed.

DebugSwift: Coverage: 14.46

File Coverage
HTTPProtocol.swift 0.27% ⚠️

Generated by 🚫 Danger Swift against b8541b6

@maatheusgois-dd
maatheusgois-dd merged commit dee9ecc into main Jul 22, 2026
5 checks passed
@maatheusgois-dd
maatheusgois-dd deleted the fix/httpprotocol-comment-388 branch July 22, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TASK] Address // Fallback to session-level challenge if task-level not imp in DebugSwift/Sources/Features/

1 participant