Skip to content

fix: recognised Cyber access denials - #210

Merged
jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/cyber-denial-message
Sep 23, 2026
Merged

jacobcxdev merged 1 commit into
mainfrom
jacobcxdev/fix/cyber-denial-message

Conversation

@jacobcxdev

@jacobcxdev jacobcxdev commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

A Cyber request can receive 403 Forbidden with only “The requested Cyber access program is not authorized for this workspace.” Earlier routing recognised structured code and param fields, so this response reached Codex instead of triggering account failover. CQ now recognises that exact message at status 403 across HTTP and WebSocket, keeps unrelated 403s unchanged, and does not mark quota exhausted.

Targeted race tests reproduce both leaked paths before the fix and pass afterward. go build ./..., go vet ./..., and go test -race -count=1 ./... passed.

- Matched exact forbidden access messages when upstream omitted structured details.
- Retried eligible accounts across HTTP and WebSocket paths without marking quota exhausted.
@jacobcxdev jacobcxdev self-assigned this Sep 23, 2026
@jacobcxdev
jacobcxdev merged commit e019d2b into main Sep 23, 2026
2 checks passed
@jacobcxdev
jacobcxdev deleted the jacobcxdev/fix/cyber-denial-message branch September 23, 2026 00:11
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.

1 participant