Skip to content

Workshop Builder: persist status issue and append per-run action history#179

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-workflow-status-history
Jul 11, 2026
Merged

Workshop Builder: persist status issue and append per-run action history#179
pelikhan merged 1 commit into
mainfrom
copilot/update-workflow-status-history

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Workshop Builder currently decides actions (dispatch/modify/suggest/noop) but does not maintain a durable, human-readable execution history. This PR updates the workflow to keep a single status issue and append a run log entry on every execution.

  • Persistent status issue lifecycle

    • Introduces status_issue_number in persisted builder state.
    • Adds discovery/rehydration logic for an existing open issue titled [workshop-builder] Workshop Builder status history.
    • Creates the status issue when absent and stores the created reference for subsequent runs.
  • Per-run history publication

    • Adds add-comment safe output and uses it to append one status comment per run.
    • Comment payload includes: run timestamp, selected action, target, reason, and latest run-history context.
    • Applies to all outcomes, including noop and focus=status.
  • Safe-output and orchestration updates

    • Expands safe outputs to support both status-issue bootstrap and normal suggestion flow (create-issue max increased to 2).
    • Extends workflow instructions with an explicit status-issue maintenance phase after action selection/state updates.
    • Regenerates the compiled lock file to reflect the updated source workflow contract.
safe-outputs:
  create-issue:
    title-prefix: "[workshop-builder] "
    labels: [workshop, automation]
    deduplicate-by-title: true
    max: 2
  add-comment:
    max: 1

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Update Workshop Builder to maintain status issue history Workshop Builder: persist status issue and append per-run action history Jul 11, 2026
Copilot AI requested a review from pelikhan July 11, 2026 17:06
@pelikhan pelikhan marked this pull request as ready for review July 11, 2026 17:07
@pelikhan pelikhan merged commit 735f848 into main Jul 11, 2026
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