Skip to content

Keep schema hardlink rejection tests inside private fixtures - #4669

Merged
realmarcin merged 1 commit into
mainfrom
fix/native-authority-test-isolation
Oct 8, 2026
Merged

realmarcin merged 1 commit into
mainfrom
fix/native-authority-test-isolation

Conversation

@realmarcin

Copy link
Copy Markdown
Collaborator

The batch authority regression hardlinked the repository's full schema into its temporary output, changing the shared inode link count while other xdist workers validated authority. Copy the exact flattened schema into the private fixture and rebuild its registration before creating the alias. Both link endpoints are now fixture-owned; the real batch route still refuses the alias before planning, locking or execution.

The test checks inode separation before linking and verifies the original schema bytes and link count while the private alias exists and after rejection. An explicit flattened-schema precondition fails before linking if the schema gains imports. Production behavior and alias checks are unchanged.

Validation: independent adversarial review and evidence verification; 145 tests passed across batch authority, resource capture, schema synchronization, write footprints and output ownership (13 dependency deprecation warnings). Test source exactly matches commit 7aaf4be220b58e6d0e0eebcd248f5bc07d797427; retained JUnit SHA-256 is 63cff815750373c9d5d2ed579951000ac50e044d11577b5673db24db61fa5022. An ignored/hidden-inclusive audit of the inspected hardlink calls found no other shared repository/package source alias in those forms.

The concurrent timing in #4659 supports this defect as the omission acceptance failure explanation, but that failed record did not retain the offending inode. The separate native deadline failure remains unresolved; #4537/#4354/#4400 stay open.

Closes #4665

@realmarcin
realmarcin merged commit fd7622b into main Oct 8, 2026
14 checks passed
@realmarcin
realmarcin deleted the fix/native-authority-test-isolation branch October 8, 2026 09:27
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.

Isolate the batch schema hardlink test from shared repository authority

1 participant