openclaw - 💡(How to fix) Fix pr-release: persist workflow state, repo locks, idempotency, and audit events

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What to build

Implement SQLite-backed workflow state as the source of truth for PR/release workflows, including repo-level locks, idempotency keys for Lark card actions, and sanitized audit events.

Acceptance criteria

  • Migrations create workflows, workflow_repos, workflow_events, processed_actions, and repo_locks with the fields from the spec.
  • Mutating actions acquire a workflow lock, check status guards, check idempotency, run once, update state, and release the lock.
  • Repo locks prevent active workflows from selecting the same repo concurrently and release on completed, cancelled, or failed_terminal.
  • Stale workflows keep repo locks and surface a human action path.
  • Audit logging stores structured event JSON and sanitized command output.
  • Unit/integration tests cover duplicate action suppression, repo lock conflicts, lock release, and stale behavior.

Blocked by

  • pr-release: add config, operator authorization, and command skeleton

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix pr-release: persist workflow state, repo locks, idempotency, and audit events