GeezerVison is showing github.com — mcpx e2e: classify MCPX_AUTH_MODE as harness-set in env guard (#15689 slice) by developing-today[bot] · Pull Request #15852 · developing-today/code
Conversation
developing-today
Bot
commented
Nov 27, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #15689 — one slice of the 13 failing mcpx e2e tests in main run 45920891536; this PR does NOT close #15689.
What
Classify MCPX_AUTH_MODE in harnessSetMCPX in pkgs/mcpx/internal/e2e/envguard_test.go (+1 line).
Why
auth.mode (#13659, default off) was added to the settings registry in pkgs/mcpx/internal/settings/transport.go without classifying its env var in the e2e env guard (#1992 Approach C), so TestEveryRegistryVariableIsHarnessSetOrSafe fails deterministically on main:
envguard_test.go:316: MCPX_AUTH_MODE (auth.mode) is in neither table; classify it: harnessSetMCPX if the harness sets it, safeMCPX if the default governs
The harness does set it: TestAuthModeRequiredGatesTCPButNotTheSocket in pkgs/mcpx/internal/e2e/http_transport_effect_test.go sets MCPX_AUTH_MODE=required via e.setenv(...). Per the guard's own definition ("a test's withEnv for its own" counts as harness-set), it belongs in harnessSetMCPX, not safeMCPX.
Verification
Remaining on #15689
The other 12 failing e2e tests (supervisor restart/takeover/shutdown lifecycle cluster plus warm-timeout, catalog-budget, shutdown-grace and tool-filter contracts, and the leaked-process sweep) stay on #15689's single fix track (queue task 24323). A green main mcpx nix build is still required before #15689 closes.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-27T02:05:50Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…5689)
auth.mode (#13659) was added to the settings registry without classifying its env var in pkgs/mcpx/internal/e2e/envguard_test.go, so TestEveryRegistryVariableIsHarnessSetOrSafe fails on main (run 45920891536). The harness does set it: TestAuthModeRequiredGatesTCPButNotTheSocket sets MCPX_AUTH_MODE=required via setenv, so it belongs in harnessSetMCPX, not safeMCPX.
Refs #15689 (one of 13 failing e2e tests; does not close it)
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
78a5d74b-518c-4f75-acf7-2d804d8a2234
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 2026
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1952-F note: this merge auto-closed #15689 because the PR body sentence 'does NOT close #15689' matched GitHub's closing-keyword parser. #15689 has been reopened with the explanation (#15689 (comment)): 12 of the 13 failing e2e tests remain on its single fix track until a green main mcpx nix build is verified. This PR's slice (MCPX_AUTH_MODE env-guard classification) stands as merged and verified in fleet run 45926258351.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1 · 2007-A · independent verification (charlie ADVANCE lane)
PR #15852 verified firsthand and confirmed MERGED (merge commit 37dc7a0, merged 2026-11-27T02:28:52Z; merged by the author lane as this lane's verification completed).
- Scope: diff read firsthand — exactly 1 file, +1/-0:
pkgs/mcpx/internal/e2e/envguard_test.go adds "MCPX_AUTH_MODE": {}, to harnessSetMCPX (line 37 at head). Matches the body.
- Classification premise checked in source at head f4beabf:
http_transport_effect_test.go:723 sets e.setenv("MCPX_AUTH_MODE=required") — the harness does set it, so harnessSetMCPX is the correct table.
- Test evidence re-read via gh api (not the body alone): fleet run 45926258351 https://github.com/developing-today/fleet/actions/runs/45926258351 — completed / success; Linux job success. Job log verified:
Target HEAD: f4beabf7609b4c20d89a886ffc8dc99c9d509db5 (= PR head), command gofmt -l clean + go test ./internal/e2e/ -run 'TestEveryRegistryVariableIsHarnessSetOrSafe|TestTheHarnessBuildsChildrenFromTheAllowlist' -count=1 -v → both tests --- PASS, overall PASS.
- Post-merge: the
MCPX_AUTH_MODE line is present on main at envguard_test.go:37. main-broken: developing-today/code mcpx nix build @0d1d071 — basic: nix build #15689 remains OPEN by design (Refs only — the other 12 e2e failures stay on its single fix track, queue task 24323).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 27, 2026
- settings/effect: register auth.capabilityCeilings probe
- e2e: add TestAuthCapabilityCeilingsDenyAToolOutsideTheCeiling
(discovery ceiling 403 -> settings-set widen -> 200)
- cli/commands: resolve via defaults.RefreshTimeout and
defaults.SupervisorReapGrace (new plumbing.supervisorReapGrace=5s)
- e2e/envguard: classify MCPX_SCRIPT_CHECK_JS (harnessSet) and
MCPX_AUTH_CAPABILITY_CEILINGS (safe)
- regen docs/configuration.md and docs/parity.md via -update tests
Fixes the 5 fast deterministic failures; does not touch
MCPX_AUTH_MODE env-guard (#15852).
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|