Skip to content

Fix simulator cache-memory support and close older issues#132

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-simulator-cache-memory-support
Jul 11, 2026
Merged

Fix simulator cache-memory support and close older issues#132
pelikhan merged 2 commits into
mainfrom
copilot/fix-simulator-cache-memory-support

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Student runs/successes counters were silently resetting to zero on every run because actions/cache/save executed as a pre-step — before the agent updated profiles.json. Stale [workshop-sim] issues also accumulated with no cleanup.

Changes

workshop-student-simulator.md

  • Replaced broken cache pattern — removed actions/cache/restore + actions/cache/save pre-steps; added cache-memory: true to tools:, which persists state after the agent completes
  • Updated profile path — all profiles.json references moved from /tmp/gh-aw/agent/sim/data/ to /tmp/gh-aw/cache-memory/ (required by cache-memory)
  • Added close-older-issues: true to create-issue safe output — closes previous [workshop-sim] report issues on each new run
tools:
  github:
    mode: gh-proxy
    toolsets: [default]
  cache-memory: true          # replaces cache/restore + cache/save pre-steps
safe-outputs:
  create-issue:
    title-prefix: "[workshop-sim] "
    labels: [workshop, simulation, feedback]
    max: 6
    close-older-issues: true  # closes stale report issues automatically

workshop-student-simulator.lock.yml — recompiled from updated .md (0 errors, 0 warnings)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix simulator cache-memory support and close older issues Fix simulator cache-memory support and close older issues Jul 11, 2026
Copilot AI requested a review from pelikhan July 11, 2026 15:43
@pelikhan pelikhan marked this pull request as ready for review July 11, 2026 15:44
@pelikhan pelikhan merged commit 4e56f37 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.

[q] Fix simulator cache-memory support and close older issues

2 participants