ci: Add PR validation workflow#132
Draft
ragnarula wants to merge 1 commit into
Draft
Conversation
ragnarula
force-pushed
the
feature/pr-validate
branch
from
July 20, 2026 13:08
7c1cc1b to
92f6b2a
Compare
Fan out the full test suite across every supported platform on public GitHub-hosted runners with no secrets: - unit: `cargo test --workspace` on linux (x86_64 + aarch64), macOS, and Windows. - integration: MinIO/DynamoDB-Local/Consul via Docker Compose, then `cargo test -p lore-integration-tests --features integration_tests` (Linux x86_64 only, as Docker is unavailable on hosted macOS/Windows). - smoke: build `lore` + `loreserver` (with the `failure_generator` feature) and run the `scripts/test` pytest suite via uv, on all four platforms. An aggregate `PR Validate` job gates on all of the above so branch protection can require a single check. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Raghav Narula <raghav.narula@epicgames.com>
ragnarula
force-pushed
the
feature/pr-validate
branch
from
July 20, 2026 13:12
92f6b2a to
86c286d
Compare
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.
Summary
Adds
.github/workflows/pr-validate.yml, a PR-triggered workflow that fans out the full test suite across every supported platform on public GitHub-hosted runners with no secrets (source is checked out from git; all integration-test services come from public container images).Jobs (parallel)
unit(×4)ubuntu-latest), linux aarch64 (ubuntu-24.04-arm), macOS (macos-latest), Windows (windows-latest)cargo test --workspaceintegrationlore-integration-tests/compose.yaml, thencargo test -p lore-integration-tests --features integration_testssmoke(×4)lore+loreserver(--features lore-server/failure_generator), thenuv run pytest scripts/test -m smoke -n 4PR Validateneeds: [unit, integration, smoke]; passes only when all succeed — the single check to require in branch protectionNotes
127.0.0.1:9000/9090/8500, which the compose file maps.protocneeded —lore-proto/build.rsfalls back to the checked-in generated sources;cc/cbindgen are library deps, so Windows needs no extra tooling.failure_generatorso fault-injection smoke tests execute rather than skip cleanly.lint.yml; third-party actions (dtolnay/rust-toolchain,Swatinem/rust-cache,astral-sh/setup-uv) currently use release tags — a comment flags pinning them to SHAs if a stricter supply-chain policy is desired.🤖 Generated with Claude Code