Skip to content

Roll out auto-merge for stable core bumps #88

Backlog

Description

@rhuss

#60 adds a core-watch merge job that merges a stable core bump without review when it changes no generated bindings, is still the bump bot's single commit, matches the expected pin bump exactly, and has green checks. Merging #60 leaves the job switched off. These steps switch it on, in this order:

  • Merge fix(automation): fill the bump PR body in a single pass #77 (single-pass PR body renderer).
  • Merge fix(hack): propose a core tag only after its images are published #54 (propose a tag only after core's images are published; it still checks only GHCR and needs to follow core-registry.sh).
  • Add a ruleset on core/* that lets only the ai-openshell-sdk-go App and maintainers create, update, or delete those branches. Decide which role or team counts as maintainers here, so the sdk team can still push SDK fixes to proposals that change the protos.
  • Add a ruleset on main that requires ci, e2e / e2e, and DCO with no bypass. Check how GitHub reports e2e / e2e when the changes job skips E2E, so pull requests without E2E don't wait for a required check that never runs.
  • Give the ai-openshell-sdk-go App installation checks write, so core-watch can record the core-bump/provenance check that merge-bump-pr.sh verifies before an unreviewed merge.
  • Create the merge App with contents and pull requests write, checks and statuses read, and issues write. Install it on this repository and store SDK_MERGE_CLIENT_ID and SDK_MERGE_PRIVATE_KEY in the sdk-bot environment.
  • Add the merge App, and only it, to the main-integrity ruleset as a bypass actor with mode "pull requests only".
  • Create the hold label.
  • Set the repository variable CORE_AUTO_MERGE to on.
  • Remove the "(planned)" markers for these steps from RELEASING.md.

Activity

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