Skip to content

fix: bot PR CI without approval; MIGRATE_MS year - #406

Merged
RichardHightower merged 1 commit into
mainfrom
fix/bot-pr-ci-and-migrate-ms
Aug 30, 2026
Merged

fix: bot PR CI without approval; MIGRATE_MS year#406
RichardHightower merged 1 commit into
mainfrom
fix/bot-pr-ci-and-migrate-ms

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

Why

#403 (bot compact PR) sat action_required until a maintainer approved the workflow. Nightly compact is not unattended if that happens every time. Separately, MIGRATE_MS decoded to 2025-07-19 while MIGRATE_TS said 2026-07-19. merge-when-green exited 3 when re-run against an already-merged PR.

What

  • After gh pr create, compact.yml and post-merge.yml gh workflow run worklog-invariants --ref \$branch. workflow_dispatch is the event GitHub does fire for GITHUB_TOKEN (Bot pushes to main skip CI, so a broken main goes unnoticed #361). actions: write added.
  • MIGRATE_MS = 1784419200000 (2026-07-19). Already-migrated events keep their 2025 ULIDs. Lock test: constant matches timestamp.
  • merge-when-green: MERGED at start exits 0; CLOSED still exits 3.

Items: 01M1A0SNQQYZHGR7P8R35YFR71, 01M19XRRWXHM72JBY29FQRRMEJ.

Never squash (ADR-0008). Auto-merge when green (ADR-0010).

…exit 0 (01M1A0SNQQYZHGR7P8R35YFR71)

GITHUB_TOKEN pull_request runs sat action_required on #403. compact.yml
and post-merge.yml now gh workflow run worklog-invariants --ref the
bot branch. MIGRATE_MS is 1784419200000 (2026-07-19). merge-when-green
exits 0 on already MERGED.
@RichardHightower
RichardHightower merged commit dee1f23 into main Aug 30, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

post-merge sync --report

worklog sync: no adapter configured — local-only (set WORKLOG_TICKET_ADAPTER or run worklog adapter check)

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.

2 participants