Skip to content

ci(sync): merge sync PRs with --admin; release sync now merges at all - #300

Merged
David-Noble-at-work merged 1 commit into
developfrom
ci/admin-merge-sync-prs
Jul 27, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
ci/admin-merge-sync-prs

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Item 1 (second half) of the 2026-07-27 queue, per the --admin ruling (site policy blocks plain merges; policy prevents --auto). docs-publish's sync merge gains --admin. Flagged behavior addition: release.yaml's install-script sync previously only created its PR (#289 covered docs-publish alone) — it now merges --admin --squash --delete-branch to match the direct-merge philosophy. Risk stated in the plan doc: --admin requires the automation app to hold admin on devlore.noblefactor.com; the next docs-sync chain run is the live proof. Plan: docs/plans/ci-admin-merge-sync-prs.md.

The site's branch policy blocks a plain merge until required checks
finish, and policy prevents --auto (ruling 2026-07-27): docs-publish's
sync merge gains --admin. The install-script sync in release.yaml only
created its PR — #289's direct-merge change covered docs-publish alone
— so it now captures the PR URL and merges --admin --squash
--delete-branch, matching the #289 philosophy.

Both merges run under the automation app's token; --admin requires the
app to hold admin on the site repo. The next docs-sync chain run is the
live proof. Plan: docs/plans/ci-admin-merge-sync-prs.md.
@David-Noble-at-work David-Noble-at-work self-assigned this Jul 27, 2026
@David-Noble-at-work
David-Noble-at-work merged commit 2b3780c into develop Jul 27, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the ci/admin-merge-sync-prs branch July 27, 2026 20:20
David-Noble-at-work added a commit that referenced this pull request Jul 28, 2026
… the stated mechanism (#302)

The #300 live proof cut both ways: the --admin merge worked (site PR
#211, merged by the app with checks pending and zero reviews), then the
very next run's merge died on a GitHub 502 and stranded site PR #212
open with green checks. All three sync merges (docs, install script,
registry knowledge) now run in a bounded retry loop — 5 attempts,
10/20/30/40s backoff — that consults the PR state before retrying,
since a 5xx can arrive after the merge landed server-side.

The registry merge also gains --admin: devlore-registry develop sits
under the same org ruleset, and the plain merge already failed live —
registry PR #69 was app-created, its Knowledge Extract run failed on
the merge step, and the PR was merged by hand two minutes later.

Comments corrected: --admin disarms gh's client-side merge-state veto;
the server-side entitlement is the automation app's "always" bypass on
the org ruleset, not repository admin rights. Correction noted in
docs/plans/ci-admin-merge-sync-prs.md.

Workflow-only change; the live proof is the next sync chain run. Plan:
docs/plans/ci-sync-merge-retry.md.

Co-authored-by: David Noble <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant