Skip to content

test(open): pin claude launcher run-id env forwarding #31

Description

@4ndreello

The run-linkage test covers only the opencode spawnHarness path for CODEDECK_RUN_ID forwarding. The claude launcher path (launchClaude in src/cli/commands/open.ts, around the call that passes {CODEDECK_RUN_ID} positionally) is not pinned by any test, so a signature reorder could silently drop run-id forwarding for claude sessions without failing CI.

Source: PR #30 independent review, non-blocking finding #5. Note: tests/run-linkage.test.ts was refactored in that PR to share tests/helpers/open-harness.ts, so add the claude case alongside the existing opencode case using that helper.

Suggested fix: mirror the opencode run-linkage assertion for the claude launcher, asserting CODEDECK_RUN_ID reaches the spawned claude process environment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions