Skip to content

Require golden fixture cutover gates#105

Open
mrjf wants to merge 3 commits into
mainfrom
codex/golden-fixture-completion-gate
Open

Require golden fixture cutover gates#105
mrjf wants to merge 3 commits into
mainfrom
codex/golden-fixture-completion-gate

Conversation

@mrjf
Copy link
Copy Markdown
Contributor

@mrjf mrjf commented Jun 3, 2026

Description

Require golden-fixture cutover evidence before migration completion can reach migration_score = 1.0 by enforcing three hard gates: committed golden corpus, all-Go golden replay, and no Python runtime dependency.
Also includes follow-up CI stabilization: updated tests/parity/python_contract_coverage.yml to map newly added Python tests so the Python behavior contracts parity gate and Go test workflow pass consistently.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

@mrjf
Copy link
Copy Markdown
Contributor Author

mrjf commented Jun 3, 2026

@copilot fix tests

Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

@copilot fix tests

Fixed in 0fbef5d by applying Ruff formatting to tests/unit/test_crane_score.py, which resolves the failing test/lint check.

Copilot finished work on behalf of mrjf June 3, 2026 22:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

Migration Benchmark Results

Migration CLI Benchmark

Max allowed Go/Python median ratio: 5.00

Command Python median Go median Go/Python Result Return codes
--help 0.4365s 0.0012s 0.00x 359.44x faster {'python': [0], 'go': [0]}
--version 0.4401s 0.0011s 0.00x 382.78x faster {'python': [0], 'go': [0]}
compile --help 0.4505s 0.0012s 0.00x 371.87x faster {'python': [0], 'go': [0]}
install --help 0.4363s 0.0013s 0.00x 344.97x faster {'python': [0], 'go': [0]}
pack --help 0.4360s 0.0013s 0.00x 339.08x faster {'python': [0], 'go': [0]}
audit --help 0.4338s 0.0012s 0.00x 354.97x faster {'python': [0], 'go': [0]}
init --yes 0.4446s 0.0012s 0.00x 358.44x faster {'python': [0], 'go': [0]}

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

Migration Benchmark Results

Migration CLI Benchmark

Max allowed Go/Python median ratio: 5.00

Command Python median Go median Go/Python Result Return codes
--help 0.4305s 0.0013s 0.00x 337.23x faster {'python': [0], 'go': [0]}
--version 0.4333s 0.0012s 0.00x 361.36x faster {'python': [0], 'go': [0]}
compile --help 0.4275s 0.0013s 0.00x 332.93x faster {'python': [0], 'go': [0]}
install --help 0.4406s 0.0013s 0.00x 336.18x faster {'python': [0], 'go': [0]}
pack --help 0.4471s 0.0013s 0.00x 354.24x faster {'python': [0], 'go': [0]}
audit --help 0.4464s 0.0013s 0.00x 354.99x faster {'python': [0], 'go': [0]}
init --yes 0.4517s 0.0013s 0.00x 353.72x faster {'python': [0], 'go': [0]}

@mrjf
Copy link
Copy Markdown
Contributor Author

mrjf commented Jun 3, 2026

@copilot fix tests

Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 3, 2026

@copilot fix tests

Fixed in c4ac5bc by updating tests/parity/python_contract_coverage.yml with the missing Python test mappings so parity/Go test gates pass again.

Copilot finished work on behalf of mrjf June 3, 2026 22:35
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