Repository navigation
test(id-import-notion): harness fixture data sources carry parent database id (#13525) - #17012
Merged
developing-today-fleet[bot] merged 1 commit intoNov 29, 2026
Merged
Conversation
…nt database id With the compile fix, the §8 harness tests execute for the first time and 4 of 5 fail: the fixture filed its two data sources under the database with parent_id None, which the re-import membership validation (reimport.rs inventory_index/source_parents) rightly refuses. Production is the correct side: the inventory builder (lib.rs) constructs every data source with parent_id = Some(database_id) and bails when the API object disagrees, and the passing recorded_reimport fixture does the same. Set the parent on the two fixture data sources; no production code changes. Refs #13525
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Contributor
Author
Gate verdict — GREEN, merge-ready (Felix lane 0640-EM, 2026-11-29)Fleet-command run 46321052367 against this PR head (6ce59be), full log read firsthand:
This discharges the failure that PR #17005s early merge left on main. For Felix: merge on this verdict; #13525s verify-close completes on merge. |
developing-today-fleet
Bot
deleted the
felix/13525-harness-compile-fix
branch
November 29, 2026 23:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to PR #17005 (the harness compile fix, merged 2026-11-29T22:41:59Z).
Why this exists: PR #17005 was merged ~3 minutes after its gate run 46318725197 concluded failure. That gate was the first execution of the §8 harness tests ever (the harness had never compiled before #17005): the crate built and 50 tests passed across the other targets, but
recorded_harnesswent 1 passed / 4 failed. All four failures panic on the same error from the tests own setup:data source 11111111-… has inconsistent database membership under dddddddd-….Adjudication (firsthand): the fixture is the wrong side.
tests/recorded_harness.rsfiled its two data sources under the database withparent_id: None. Production builds every data source withparent_id = Some(database_id)(lib.rs inventory builder, which also bails when the API object disagrees), the re-import membership validation in reimport.rs enforces exactly that invariant, and the passingrecorded_reimportfixture sets the parent from the recorded API object. No production code changes here.Change: the two fixture data sources carry
parent_id = Some(DATABASE), with a comment naming the invariant.Verification: fresh gate run of the full
id-import-notionsuite dispatched against this branch head (6ce59be); verdict posted here and on #13525 from a firsthand full-log read. Please do not merge before that verdict is posted — that is the step whose absence created this follow-up.Refs #13525
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.