Repository navigation
ci: run compat tests daily at 2 AM UTC and on SDK-code PRs - #5
Merged
Merged
Conversation
kashishhora
approved these changes
Nov 3, 2026
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
.github/workflows/ci.yml:on: push: branches: [main] pull_request: workflow_dispatch: + schedule: + - cron: '0 2 * * *' jobs: + changes: # pull_request only; sets outputs.sdk from git diff base...head + if: github.event_name == 'pull_request' test: ... # unchanged, runs on every PR release-build: ... # unchanged, runs on every PR compat: - needs: test + needs: [changes, test] + if: >- + !cancelled() && needs.test.result == 'success' && + (github.event_name != 'pull_request' || needs.changes.outputs.sdk == 'true')SDK-code paths:
src/**(main sources, tests,java-1x/java-018xcompat test sources, test resources),pom.xml(manifest and build config, holds the compat profiles; Maven has no lockfile),.github/workflows/ci.yml. The workflow calls no scripts (scripts/Release.javabelongs torelease.yml).Evidence
pushtomain,pull_request(all paths, compat always ran),workflow_dispatch; no schedule.After: same triggers plus
schedule: '0 2 * * *'; on PRs, compat runs only when an SDK-code path changes.yaml.safe_load: OK. actionlint: not installed on the devbox, not run.Merge Danger
Door: two-way
Blast Radius: CI
No required checks (rulesets empty, branch protection 404); job-level gating is used anyway because
ci.ymlalso holdstestandrelease-build, which still run on every PR. A docs-only PR now skips the 6 compat matrix jobs.release.ymlwaits only for thepushrun, so scheduled runs do not affect releases.