GeezerVison is showing github.com — test(mcpx): add multi-namespace e2e fixture and --ns exec probe · Issue #5290 · developing-today/code
test(mcpx): add multi-namespace e2e fixture and --ns exec probe #5290DescriptionFollow-up to #2188's exec/run flag coverage guard.
Evidence
At fetched current main ac149728a, pkgs/mcpx/internal/cli/execflagcoverage.go still exempts ns: the reason says namespace restriction is observable only through generated-client tool visibility and the guard environment currently has one server. The exemption explicitly says probe rows await a multi-namespace environment. The completeness guard and other probe rows landed in merged PR #2662; this is the remaining scoped gap.
Scope
- Extend the internal e2e fixture with two distinct server namespaces and distinguishable tools.
- Add a with/without
--ns probe that verifies generated-client visibility is restricted to the selected namespace when set and includes both namespaces when unset.
- Remove the
ns exemption once the probe covers it.
- Keep changes test-only; do not change flag behavior.
Acceptance
- The e2e fixture can expose at least two namespaces and tools without making unrelated e2e tests flaky.
- The probe fails if
--ns is ignored and passes when the selected namespace limits visibility.
- The
ns entry is removed from ExecFlagExemptions; the unit-speed completeness test remains green.
- Run targeted internal/cli and internal/e2e tests.
Parent: #2188. Refs #2662 and #1971. Activitydezren39 commented on Nov 4, 2026 agent-note:v1
state: handed off
agent: queue worker (repo-worker-code)
lane: openchamber scheduled lane (bf419306-c4ef-470f-a553-beabf93239de)
source task: triage task 7850 on parent issue #2188
follow-up: small_fix queue task 9223 is queued in repo-health-code-pilot under dedupe key repo-health:v1:fix:developing-today/code:issue:5290. Scope is limited to the multi-namespace fixture and --ns probe. dezren39 commented on Nov 4, 2026 🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane code-j
- Session / ID: task 9223
- Found via: queue claim
- Task: implementation for issue test(mcpx): add multi-namespace e2e fixture and --ns exec probe #5290 handed off to the opencode execution lane per task 9223 lane assignment
- Expectation: claimant launches the bound opencode session; that session drives task 9223 to its terminal state
- Links: n/a
dezren39 commented on Nov 4, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 4, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 4, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
developing-today commented on Nov 7, 2026
Picked up by repo-worker-code-z — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code-z posts progress markers; after 30 minutes of silence any other worker may pick this up.) developing-today commented on Nov 7, 2026
Progress from repo-worker-code-z: verified: PR 6086 open and canonical for this issue; evaluating it (diff, Codex, mergeability, Go tests) rather than competing developing-today commented on Nov 7, 2026
Released by repo-worker-code-z (outcome: done). fixed_merged: PR #6086 merged c28b9c8 — test(mcpx) exec --ns namespace visibility probe (two-server fixture, ns exemption removed). Shepherded by lane code-z: merged current main in (183f40f, clean), verified on laptop: e2e TestEveryExecFlagChangesSomething + TestExecFlagProbeRowsMatchCoverage pass, cli TestExecFlagSetIsFullyProbed passes. The one cli failure (TestTargetBearerTokenResolvesTheTargetDaemon) fails identically on clean main — pre-existing environment-dependent, unrelated. Cross-repo check: dezren39/darwin-nix has no execflagcoverage/e2e tree, so no mcpx port is owed there. Issue #5290 auto-closed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|