Skip to content

test: rename the env fixture token to an obviously synthetic value - #61

Merged
stanlyzoolo merged 1 commit into
mainfrom
feat/api-failure-degradation_flow
Aug 4, 2026
Merged

test: rename the env fixture token to an obviously synthetic value#61
stanlyzoolo merged 1 commit into
mainfrom
feat/api-failure-degradation_flow

Conversation

@stanlyzoolo

Copy link
Copy Markdown
Owner

Follow-up to #60. This commit was pushed to the branch a few minutes before the merge, but GitHub had not registered the new head yet, so #60 merged at 31797e7 and left it behind. No CI ever ran on it.

envRejectedOverlayModel took its GITHUB_TOKEN fixture from the shape rejectedOverlayModel used before b4e86c7 renamed it — mixed-case alphanumerics that read as high entropy. GitGuardian scans a PR's commits, so it raised a second finding, and a false positive there is a manual triage in the dashboard rather than something the repo can settle.

Every other token fixture in the suite is an obviously fake lowercase word — ghp_notarealtoken, ghp_refusedtoken, ghp_deadbeef, ghp_expired. This one joins them.

No behavior change and no test reads the value: TestAPIStatusNudgeIsEnvAware asserts on the nudge row, not on the masked token line. Verified locally with go build / go vet / go test -race ./internal/model/ / golangci-lint run (0 issues).

envRejectedOverlayModel took its GITHUB_TOKEN fixture from the shape
rejectedOverlayModel used before b4e86c7 renamed it — mixed-case alphanumerics
that read as high entropy. GitGuardian scans the PR's commits, so the new one
raised a second finding, and a false positive there is a manual triage in the
dashboard rather than something the repo can settle.

Every other token fixture in the suite is an obviously fake lowercase word —
ghp_notarealtoken, ghp_refusedtoken, ghp_deadbeef, ghp_expired. This one joins
them. No test reads the value: TestAPIStatusNudgeIsEnvAware asserts on the nudge
row, not on the masked token line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@stanlyzoolo
stanlyzoolo merged commit caf2ad1 into main Aug 4, 2026
3 checks passed
@stanlyzoolo
stanlyzoolo deleted the feat/api-failure-degradation_flow branch August 4, 2026 13:28
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