Skip to content

[AUTOMATED] fix(tests): catalog_bytecompat asserted 102 settables against a 103-row table - #291

Merged
mahaloz merged 1 commit into
mainfrom
fix/catalog-bytecompat-count-103
Aug 13, 2026
Merged

mahaloz merged 1 commit into
mainfrom
fix/catalog-bytecompat-count-103

Conversation

@mahaloz

@mahaloz mahaloz commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What

make rust-test is red on main and has been since #287 merged.

#287 (ifuncfpret) added the 103rd settableTable row and bumped two of the three
hard-coded counters — phases.toml and kuna_phases/tests.rs — but not
tests/catalog_bytecompat.rs:

test fixture_has_all_102_settables ... FAILED
assertion `left == right` failed
  left: 103
 right: 102

CI did not catch it: internal PRs skip the workspace suite (#274), which leaves the
author as that gate.

Changes

  • tests/catalog_bytecompat.rs — the three 102 asserts ("option", "tier",
    "symptoms") become 103, and the test is renamed to match.
  • kuna_phases/tests.rs — renames surface_count_is_101, which has asserted 102
    since the surface table last grew, so the name stops contradicting the body.

Counts only; no production code touched.

Verification

cargo test -p kuna-decomp --test catalog_bytecompat
test result: ok. 5 passed; 0 failed

Found while starting work on inline-identification/outlining, which adds two more
settable rows and would otherwise have inherited a red gate.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XTrU5w3qoWMyu38FprpfXZ

…inst a 103-row table

PR #287 (ifuncfpret) added the 103rd settableTable row and bumped both
`phases.toml` and `kuna_phases/tests.rs`, but not the third counter in
`tests/catalog_bytecompat.rs`, so `make rust-test` has been red on main
since that merge:

    fixture_has_all_102_settables ... FAILED
    assertion `left == right` failed
      left: 103
     right: 102

CI did not catch it because internal pull requests skip the workspace
suite (#274), which leaves the author as that gate.

Also renames `surface_count_is_101`, which has asserted 102 since the
surface table last grew, so the test name stops contradicting its body.
No production code changes; counts only.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XTrU5w3qoWMyu38FprpfXZ
@mahaloz
mahaloz merged commit 99965d5 into main Aug 13, 2026
9 checks passed
@mahaloz
mahaloz deleted the fix/catalog-bytecompat-count-103 branch August 13, 2026 04:18
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.

1 participant