Skip to content

[PR Feedback] Live Test Coverage #15

Description

@tinkermonkey

Based on consolidated PR review, address the following in Live Test Coverage:

  • Per-test credential stripping not implemented (FR-3): FR-3 explicitly requires "Delete the unused credential before each test (OAuth preferred over API key)." live-helpers.ts checks whether credentials exist via getLiveCredentials(), but there is no beforeEach that removes the non-preferred credential from the subprocess environment. When both ANTHROPIC_API_KEY and CLAUDE_CODE_OAUTH_TOKEN are present in CI, golden-path and session-resume tests run with both credentials, leaving credential-selection logic untested.
  • CI live tests gated to main-push only — PRs excluded: The acceptance criterion requires "CI workflow updated to run integration tests on PR and main push." The test-live job in .github/workflows/ci.yml includes if: github.event_name == 'push' && github.ref == 'refs/heads/main', which excludes pull request triggers entirely. PRs never run the live integration suite.

Created by PR Review Stage - Consolidation Phase


Concurrent Fix Issues (Same Review Cycle)

The following issues are being fixed simultaneously in this review cycle. Check these issues for any files they modify before making your own changes to avoid introducing conflicts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions