Skip to content

Check complete saved evidence and expand MHL compatibility tests - #21

Merged
mikecerisano merged 3 commits into
mainfrom
test/evidence-compatibility
Oct 11, 2026
Merged

mikecerisano merged 3 commits into
mainfrom
test/evidence-compatibility

Conversation

@mikecerisano

Copy link
Copy Markdown
Collaborator

Check could trim whitespace from recorded filenames, resolve nested ASC inventories from the wrong folder, and silently drop damaged or unsupported records beside readable ones. That could leave files out of a saved-checksum check. The reader now preserves paths, resolves each inventory from its own folder, handles namespace prefixes and refuses incomplete or unsupported file evidence. Check explains the refusal and states the file-content scope of successful ASC checks. Unknown report algorithms no longer imply Standard verification.

A permanent, redistributable corpus contains original synthetic media and inventories generated by the official ASC reference CLI: MD5/XXH64, two generations, C4-only unsupported evidence, zero-byte files, Unicode/XML escaping and whitespace filenames. Derived regressions cover corrupt records, conflicting duplicates, traversal, failed actions, namespaces, versions and entities. JSON fixtures cover current, legacy, extended, Quick, unsafe, unknown and truncated reports.

The reference harness now links the real package generator instead of its removed pre-package path. It validates both the corpus and fresh BitMatch output, including appending a generation and rejecting changed media. Engine tests explicitly use serial test-case scheduling; each case still exercises concurrent transfer workers.

Validation and qualifications: evidence compatibility record. The original corpus failed behaviorally before the fixes, and both new app-level guards were mutation-checked. An existing two-second fan-out test setup deadline failed under concurrent cases; its isolated and explicit serial runs passed. Those failures are retained in the record.

This changes saved-evidence reading, not media copying or MHL publication. Classic-MHL discovery, full ASC history/structure verification and history extension remain unsupported.

@mikecerisano
mikecerisano merged commit a76dc97 into main Oct 11, 2026
1 of 3 checks passed
@mikecerisano
mikecerisano deleted the test/evidence-compatibility branch October 11, 2026 01:08
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