Repository navigation
Description
Important
Link the implementing PR(s) to this issue by including Closes #260 in the PR description; use Refs for preparatory PRs and close this issue only after repository-policy rollout and validation are complete.
What
Implement the team's decision to require a GitHub merge queue for eclipse-score/time so that changes reach main only after the required CI checks pass on the combined merge result.
Background and findings
Repository configuration and workflows inspected on 2026-10-20:
| Repository | Enforced policy | CI pattern / lesson for Time |
|---|---|---|
| Lifecycle | Required queue on main; squash merge; linear history; required Ready to merge check in addition to Eclipse ECA. |
on-pr.yml handles both pull_request and merge_group: checks_requested, with a final aggregate check covering builds/tests and documentation. PR-only jobs are explicitly distinguished. This is the closest reference for Time. |
| Persistency | Required queue on main; squash merge; linear history. |
on-pr.yml handles pull_request, pull_request_target, and merge_group. Its live ruleset currently requires only ECA: queue enablement alone must not be mistaken for enforcing build/test results. |
| Communication | Required queue on main; merge commits; explicitly required build/test, QNX, sanitizer, linter and review-checklist checks. |
Demonstrates requiring individual checks instead of an aggregate check. Its 120-minute timeout differs from Lifecycle/Persistency's 60 minutes; do not copy settings without checking Time's runtime and linear-history constraints. |
Lifecycle and Persistency currently use ALLGREEN, a maximum of five entries to build/merge, a minimum of one entry to merge, and a five-minute minimum-group wait setting. These are observed reference settings, not an additional team decision for Time.
Time's active main ruleset currently has no merge-queue rule and requires only eclipsefdn/eca; it already requires one approval, code-owner review, stale-review dismissal and linear history. Several existing workflows already handle merge_group (including Linux/QNX builds, component tests, documentation, clang-tidy and sanitizers), so this is an audit and completion task, not a blanket addition of triggers.
Acceptance Criteria
- Time's managed configuration in
eclipse-score/.eclipsefdn,otterdog/eclipse-score.jsonnet, defines a required merge queue formain, and the reconciled live GitHub ruleset enforces it. - The queue uses squash merging, compatible with Time's existing linear-history rule; ECA, approval, code-owner, stale-review and force-push protections remain effective. Queue timeout/concurrency/group settings are recorded and justified against observed Time CI runtimes.
- A documented required-check matrix identifies the exact GitHub check names and whether each runs on PRs, merge groups, or both. Linux builds, component/unit tests and documentation validation/build are blocking on the merge-group SHA; the treatment of QNX and every other existing check is explicitly recorded, including any temporarily advisory checks and their follow-up issues.
- The selected checks are required by the managed/live ruleset, either individually or through a stable aggregate check (Lifecycle's
Ready to mergeis the reference). Any aggregate check fails when a mandatory job fails or is cancelled and cannot report success when a mandatory job is unexpectedly skipped or absent; explicitly PR-only jobs do not deadlock the queue. - Every queue-required workflow handles
merge_group: checks_requestedand validates the merge-group commit, including reusable-workflow checkout/input handling. PR-payload assumptions, path filters, concurrency cancellation and privileged/fork-PR behavior are checked so that queue checks neither hang nor silently skip validation; secrets are not exposed to untrusted PR code. - Existing PR feedback and intended post-merge publication behavior are preserved; merge-group events do not accidentally publish documentation, quality packs or releases.
- Live validation evidence is attached: a successful queued PR reaches
main; a controlled failing mandatory check prevents merging; and two queued PRs are validated against the updated/combined base rather than relying on stale PR-only results. Record PR URLs, workflow runs and the final live ruleset. - Contributor guidance explains prerequisites, adding/removing a PR from the queue, diagnosing/retrying failures, and who owns policy changes and rollback.
How
- Audit Time's existing workflows and agree the required-check matrix before changing repository enforcement. Prefer reusing existing workflows; adopting all shared CI tooling is not part of this task.
- Prepare the Time workflow changes first, using Lifecycle's aggregate-gate approach where appropriate. Do not copy Lifecycle's skip handling without checking which Time jobs are mandatory for each event.
- Submit the policy change through
eclipse-score/.eclipsefdnrather than relying on a manual GitHub-settings edit. Coordinate reconciliation with the repository/infrastructure maintainers and enable enforcement only once all named checks can be emitted on merge groups. - Validate the live queue, then publish contributor guidance and evidence.
Fixing all existing clang-tidy/sanitizer findings is outside this ticket. Existing work is tracked by #111 and #112; explicitly retain or change their advisory status rather than silently converting them into green mandatory gates.
References
- Managed repository policy: https://github.com/eclipse-score/.eclipsefdn/blob/main/otterdog/eclipse-score.jsonnet (the
lifecycle,persistency,communicationandtimerepository definitions). - Merged Lifecycle enablement: Enable merge queue for lifecycle .eclipsefdn#214 — Enable merge queue for lifecycle .eclipsefdn#214
- Lifecycle workflows: https://github.com/eclipse-score/lifecycle/blob/main/.github/workflows/on-pr.yml and https://github.com/eclipse-score/lifecycle/blob/main/.github/workflows/on-pr-target.yml
- Persistency workflow: https://github.com/eclipse-score/persistency/blob/main/.github/workflows/on-pr.yml
- Communication QNX event handling: https://github.com/eclipse-score/communication/blob/main/.github/workflows/build_and_test_qnx.yml
- Time's current protection: https://github.com/eclipse-score/time/rules/9228250
- Time workflows: https://github.com/eclipse-score/time/tree/main/.github/workflows
- Cross-project merge-queue guidance is still being collected: merge-queues cicd-workflows#220 — merge-queues cicd-workflows#220
- Concrete stale-base regression motivating combined-result validation: Concurrent lifecycle PRs leave a broken requirement link despite passing checks score#3308 — Concurrent lifecycle PRs leave a broken requirement link despite passing checks score#3308
- S-CORE verification process: https://eclipse-score.github.io/process_description/main/process_areas/verification/
- GitHub merge-queue documentation: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
ci: Prepare merge queue validation for Time
Enable merge queue for Time (#242)
ci: Prepare merge queue validation for Time
fix: Unblock Time merge queue rollout (#243)
ci: Prepare merge queue validation for Time (eclipse-score#261)