Repository navigation
mcpx: clear TestNoPackageRedeclaresADefault — 11 sites dispositioned (#8720, task 16870) - #10065
Conversation
…8720, task 16870) Real defaults, moved to internal/defaults/defaults.json: - the two adapter-import probe bounds (10s, internal/cli runCapture / runCaptureEnv) become preflight.probeTimeout (defaults.PreflightProbeTimeout) - daemon scriptview's WaitDelay (2s) becomes plumbing.scriptWait (defaults.ScriptWait) - mcpauth failover's cooldown fallback ('zero means 60') becomes plumbing.failoverCooldown (defaults.FailoverCooldown) Allowlisted in the guard with reasons — protocol arithmetic imposed by GitHub's platform rules, and test-harness timing in testsupport: - mcpauth App JWT iat backdate 60s, JWT lifetime 9m (10m platform cap), installation-token refresh margin 5m - eramcp reply window 2s, sweep leftover grace 10s + poll 100ms - seed shuffle's (1<<63 - 1) MaxInt63 mask No guard pattern widened, no file added to outOfScope. go test ./internal/defaults/ passes in full; daemon, mcpauth and testsupport suites pass; internal/cli and internal/settings failure sets are byte-identical to clean main (pre-existing reds).
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Salvage note from the duplicate PR #10071 (task 16869 / issue #8270, lane any-b), per the duplicate-PR protocol: PR #10071 implemented the same 11-site fix in parallel (the two packets carried different dedupe keys — #8270 vs #8720 — for the same guard failure) and is being closed as superseded by this PR, which merged first. Diff of the duplicate against this canonical change, site by site:
Verdict: nothing unique in PR #10071; it closes with no salvage. Issue #8270 closes on this PR's evidence (its acceptance — the guard green on clean main — now holds, which also clears its block on task 15117 / issue #8900). |
Clears the last failing mcpx defaults guard from #8720 (task 16870), dispositioning all 11 inventoried sites per the guard's philosophy:
Moved to
internal/defaults/defaults.json(real defaults):internal/cliimport probes (runCapture / runCaptureEnv, 10s) →preflight.probeTimeout(defaults.PreflightProbeTimeout) — sibling of the existingpreflight.npmTimeoutinternal/daemonscriptviewWaitDelay(2s) →plumbing.scriptWait(defaults.ScriptWait)internal/mcpauthfailover cooldown fallback ("zero means 60") →plumbing.failoverCooldown(defaults.FailoverCooldown)Allowlisted in
guard_test.gowith written reasons (exact matched text, no pattern widened, nooutOfScopeadditions):iatbackdate 60s (documented clock-skew allowance), JWTexp9m (10m platform cap), installation-token refresh margin 5m (1h token life)(1<<63 - 1)— MaxInt63 by definition, formula pinned across three implementationsVerification (oracle: the guard + package suites, on the branch):
go test ./internal/defaults/— PASS in full (acceptance)go test ./internal/daemon/PASS (120.9s),./internal/mcpauth/PASS,./internal/testsupport/...PASS,go build ./...OKgo test ./internal/settings/and./internal/cli/— failure sets identical to clean main at the same base (settings: pre-existingTestEveryDocumentHasAChapterondocs/changes/research-and-findings-nix-slice.md; cli: six pre-existing manual/parity reds) — no regression from this change; those reds are the family already tracked by mcpx baseline: four tests red on main (settings docs/scriptenv + e2e envguard classification) #9017/fleet-stalling: main mcpx test failures block clean PR checks (run 43191539255) #8900.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.