Add monthly build corpus and offline CI comparisons - #12
Closed
AdamZ-8113 wants to merge 2 commits into
Closed
Conversation
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.
Replaces live URL downloads during build comparisons with a saved, validated monthly input corpus. The updater consumes PoB Codes' versioned batch, retains at most 500 unique codes in FIFO order, and publishes the manifest and exact bytes together on
build-test-corpus. PR jobs pin one corpus commit and explicit base/head revisions, then calculate identical inputs offline.Companion provider change: https://github.com/AdamZ-8113/pob-codes/pull/10
The host Python runner uses a pinned Docker environment, bounded parallelism/timeouts, and each revision's own runtime. It preserves ordinary
DiffOutput.luaoutput: metric changes are advisory unless strict mode is requested; failed imports, crashes, empty outputs, and incomplete comparisons fail. Fixed-fixture smoke runs independently of corpus activation. Obsolete downloader/profile/Compose plumbing is removed.Validation:
03ae46279c6570facabc5fb65ec5d171edc339fd, completing in 28 seconds locally.This is deliberately a draft against
tests-branch. The 2024 runtime cannot handle the tested modern 3.28 export. A supported runtime, 100/500-distinct-input GitHub-runner benchmarks, provider activation, and default-branch registration are prerequisites for enablingTEST_BUILD_CORPUS_ENABLED. A merge only to tests-branch does not activate GitHub scheduling. The updater uses no API secret and never force-pushes; a competing writer retries on the next daily run.No legacy corpus migration, custom exporter, output cache, dashboard, or reporting pipeline is included.
CONTRIBUTING.mddocuments the contract, reproduction commands, and provider/CI ownership.