GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — mcpx: TestTargetBearerTokenResolvesTheTargetDaemon is not hermetic — a real MCPX_CONFIG env var makes it fail · Issue #6819 · developing-today/code Closed Labels app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilot DescriptionFound by lane code-n while verifying #2859 on the laptop (2026-11-07). TestTargetBearerTokenResolvesTheTargetDaemon (pkgs/mcpx/internal/cli/bearer_test.go) fails deterministically when the operator environment carries a real MCPX_CONFIG (on amd-6: MCPX_CONFIG=/nix/store/...-mcpx-config.json, the fleet's own deployed config): The inherited-token case builds a parent/sub .mcpx.json chain in t.TempDir() and expects targetBearerToken to walk up to the parent file; the ambient MCPX_CONFIG short-circuits that resolution and the test reads the operator config instead. With env -u MCPX_CONFIG the test passes on both current main and PR #2714's head (verified this run). Impact: any worker/operator machine with a real mcpx deployment exports MCPX_CONFIG, so the package suite reports a false failure there — it cost a full stress-verification cycle on #2859 before the env leak was identified. CI is unaffected (no MCPX_CONFIG), which is why this only bites locally. Acceptance criteria:
Activity
MetadataMetadataAssigneesLabelsapp/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilot TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |