Skip to content

Test failure-safe result finalization and import-order recovery - #51

Merged
TorecLuik merged 1 commit into
test-suitefrom
test/result-finalization-recovery
Oct 27, 2026
Merged

TorecLuik merged 1 commit into
test-suitefrom
test/result-finalization-recovery

Conversation

@TorecLuik

Copy link
Copy Markdown
Collaborator

Companion harness for #50; importer changes are in NL-BioImaging/BIOMERO.importer#31.

Add 20 recovery cases covering failures/timeouts, interrupted polling, lost acknowledgements, completed retries, missing database records, changed destinations/owners, corrupt or incomplete state, persistence failure, legacy orders, renaming, concurrent attempts, conflicts and cleanup. Update the polling AST fixture and queue-writer mocks to match their real contracts.

Merge this harness first and rerun the scripts PR's check. New recovery assertions are capability-gated, so this shared harness remains compatible with unchanged master. No unpublished dependency is required. The PR is a draft as required by the repository workflow; tests remain separate from deployable scripts.

Validation: red/green regression runs; full feature harness 342 passed, 4 skipped; full unchanged-master harness 322 passed, with new behavior gated. Real-database retry integration also passed in an isolated local importer image.

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