Skip to content

test: the legacy-store held tests assert main's outcome since ITL-1412 (ITL-1347) - #516

Merged
eywalker merged 1 commit into
eywalker/job-speedfrom
eywalker/itl-1347-legacy-store-tests
Nov 23, 2026
Merged

eywalker merged 1 commit into
eywalker/job-speedfrom
eywalker/itl-1347-legacy-store-tests

Conversation

@eywalker

Copy link
Copy Markdown
Contributor

Part of ITL-1347. Test-only.

The coordinator's full suite on eywalker/job-speed a0a0ffc failed two tests of tests/test_core/function_pod/test_function_node_arrow_types.py after main ca1c35d (ITL-1412, #509) was merged in. Not a drift: on the tests' scenario (a uint32 tag over a Delta store written before ITL-928, which stored it as int32 with no recorded type, then a run that adds a third row), job-speed a0a0ffc equals main ca1c35d byte for byte, in every stored table's schema and rows and in the outcome. Reproducer and outputs: ~/orca/data/handoff/itl-1347/repro_uint32_legacy.py, ~/orca/data/itl-1347-measure/repro-uint32-legacy/.

Version Sync run over the mixed store Async run Stored
main ca1c35d ArrowInvalid building increment's input (stored int32 rows and the new uint32 row cannot make one table) OrcapodDatabaseWriteError for increment (#509 refuses the new row against the pending int32 batch) double: k 1, 2, 3; increment: no k=3
job-speed a0a0ffc same same same
job-speed 5aa9358 (before #509) (not run) succeeds; a second async run holds 3 rows stores grew with repeats

The two tests asserted 5aa9358's behaviour. Seeding the store so that no row is appended (the first option) removes the mixing: the held rows are then all int32 and do make one table (checked), so the tests could no longer exercise held rows that cannot make one table. So, as decided with the coordinator:

  • (a) test_a_run_mixing_new_rows_into_a_legacy_store_is_main_s [sync, async] replaces the two tests: main's outcome in their scenario, and what is stored.
  • (b) tests/test_pipeline/test_rows_on_read.py: held rows that cannot make one table, without a store (source-info tokens of two shapes): test_held_rows_that_cannot_make_one_table_raise_at_the_successors_edge (sync: the rows' ArrowTypeError at the successor's edge, after the independent node ran) and test_held_rows_that_cannot_make_one_table_are_sent_on_async (async: every row started unbuilt, then the same error, with the same events). Each outcome was run on main ca1c35d and is identical.

Checks: the two files, 281 passed; whole-repo basedpyright exit 0.

🤖 Generated with Claude Code

…-1412 (ITL-1347)

Since main ca1c35d (ITL-1412, #509), a run that mixes a new uint32 row into
a store written before ITL-928 (int32, no recorded type) is refused: sync
raises ArrowInvalid building increment's input, async raises
OrcapodDatabaseWriteError appending to increment's pending batch; job-speed
a0a0ffc equals main there byte for byte (stored schemas and rows). The two
tests that used this store for held rows that cannot make one table pinned
the pre-#509 behaviour. Seeding the store so nothing is appended removes
the mixing, so they no longer can exercise that case.

- test_a_run_mixing_new_rows_into_a_legacy_store_is_main_s [sync, async]:
  main's outcome and what is stored (double holds k 1-3, increment no k=3).
- test_rows_on_read: held rows that cannot make one table without a store
  (source-info tokens of two shapes): sync raises the rows' ArrowTypeError at
  the successor's edge after the independent node ran; async sends them on
  unbuilt (every row starts) and raises the same error; both as main
  ca1c35d gives.

Test-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 29 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 104 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between bfc0785 and 5045660.

Files selected for processing: 2

  • tests/test_core/function_pod/test_function_node_arrow_types.py
  • tests/test_pipeline/test_rows_on_read.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 209 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eywalker
eywalker merged commit 5133fc4 into eywalker/job-speed Nov 23, 2026
16 checks passed
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