Skip to content

Port recovered contract and failure-path tests#22

Merged
OgeonX-Ai merged 1 commit into
mainfrom
codex/cleanup-port-stale-tests
Jul 13, 2026
Merged

Port recovered contract and failure-path tests#22
OgeonX-Ai merged 1 commit into
mainfrom
codex/cleanup-port-stale-tests

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

Ports valuable uncommitted tests from a stale worktree onto current main, correcting stale fixtures and preserving the existing coverage policy.

Changes

  • Add current API lifecycle and service-unavailable coverage
  • Add evidence bundle validation, digest, traversal, provenance, and CLI failure-path tests
  • Add workflow tracestate propagation coverage
  • Exclude a duplicate telemetry test and reject the stale .coveragerc that omitted production source

Why

The stale worktree contained useful uncommitted coverage but could not be safely committed wholesale because it was 20 commits behind and included a coverage-bypass configuration.

Validation

  • Focused pytest: 34 passed, 90.53% coverage
  • Ruff: passed
  • mypy: passed with no issues in 9 source files
  • scripts/validate.ps1: 70 passed, 1 skipped, 99.73% coverage
  • Evidence verification and git diff --check: passed

Risks

Test-only change. Assertions were manually ported against current APIs rather than copying stale files wholesale.

Related

Workspace hygiene and stranded-work recovery.

Reviewer notes

Start with tests/test_evidence.py; it contains most of the recovered negative-path coverage.

Add current API lifecycle, evidence-boundary, CLI, and tracestate tests recovered from an obsolete Claude worktree. Excludes duplicate telemetry coverage and the coverage-omitting configuration.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@OgeonX-Ai OgeonX-Ai merged commit b2c143e into main Jul 13, 2026
4 checks passed
@OgeonX-Ai OgeonX-Ai deleted the codex/cleanup-port-stale-tests branch July 13, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants