Skip to content

Harden conformance, coverage and release auto-merge after v6.5.0 #80

Done

Description

@Andreas-Garcia

Follow-up to the v6.0.0..v6.5.0 review. Three PRs, then a minor release (v6.6.0, after confirmation) and caller migrations.

PR A: fix(conformance): treat any workflow calling a release workflow as a release caller (closes #79)

  • conformance/check-concurrency.sh: release_caller uses any instead of all over the jobs (rules.json unchanged). A workflow in which any job calls a release_workflows entry expects the event form; its other jobs share the per-commit group.
  • Replace the test "mixed jobs are not a release caller" with: mixed + sha group passes, mixed + ref group fails, an event exemption on a mixed release caller is reported stale.
  • New .github/tests/examples.sh, run in agent-drift-tests: copies each examples/*.yml to its # Place at name and runs check-concurrency.sh --local. Fix examples/pr-title.yml (header + CI-form concurrency). examples/release-please-python.yml passes once the rule is fixed.
  • CONTRIBUTING "Choosing the version": a tightening is major unless the caller inventory shows no user, or a migration done in each caller's pin-bump PR, recorded in the CHANGELOG.
  • README: event row ("any job"), remove the dead examples/deploy-*.yml links, and the split between org-conformance (shape) and github-config (presence and blocking; see BehindTheMusicTree/github-config#97).

PR B: fix(coverage): resolve report paths against tracked files and reject non-Cobertura XML

  • Canonicalize every report path at ingestion against git ls-files: exact, <source> join, unique tracked file ending with the path (ambiguous → fail), longest tracked suffix of the path, otherwise unchanged. Patch lookup becomes exact. This fixes the silent attribution of util.py to the wrong file when a same-name file outside the diff exists.
  • A .xml in a coverage-* artifact that is not valid XML or whose root is not <coverage> fails the job.
  • No caller today, so no migration.

PR C: fix(release): detect clean release PRs from the merge state, not the error text

  • release/arm-release-pr-auto-merge.py: when enablePullRequestAutoMerge fails, re-read GET /pulls/{n} and merge directly only if mergeable_state == "clean" (bounded retries on unknown, head must be unchanged). Drops the match on the English clean status message.

After the release (separate confirmation)

Bump the pin and remove the now-stale "form": "event" exemption in the same PR in: grow-the-music-tree-api, agent-config-public, the-music-tree-genre-kit, release-automation-sandbox-20261106, ui, genre-tree-view, app-kit.

Activity

  1. Andreas-Garcia commented on Nov 25, 2026

    @Andreas-Garcia
    MemberAuthor

    Caller migrations to v6.6.0 (18b90bc) are done: pins bumped and the stale release form: "event" exemption removed.

    On app-kit#590, the optional Surface (macos-15-intel, chromium-headless-shell) drag latency check failed (median 106 ms, budget 100 ms) and finished after the merge.

  2. Andreas-Garcia commented on Nov 25, 2026

    @Andreas-Garcia
    MemberAuthor

    All items are done: PR A–C (#81, #82, #83), release v6.6.0 (#84) and the seven caller migrations listed above. Coverage adoption and enforcement continue in BehindTheMusicTree/github-config#97.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions