Skip to content

fix: correct cache-memory paths in ci-coach and shared ci-data-analysis workflows#28513

Merged
pelikhan merged 1 commit intomainfrom
copilot/update-agentic-workflow-prompts
Apr 25, 2026
Merged

fix: correct cache-memory paths in ci-coach and shared ci-data-analysis workflows#28513
pelikhan merged 1 commit intomainfrom
copilot/update-agentic-workflow-prompts

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 25, 2026

Summary

Reviewed every agentic workflow using cache-memory and found two files that referenced /tmp/cache-memory/ (missing the gh-aw directory prefix) instead of the correct path /tmp/gh-aw/cache-memory/.

Changes

ci-coach.md — 3 occurrences fixed:

  • Data Available section: /tmp/cache-memory//tmp/gh-aw/cache-memory/
  • Phase 5 bash snippet: mkdir -p /tmp/cache-memory/ci-coachmkdir -p /tmp/gh-aw/cache-memory/ci-coach
  • Phase 5 bash snippet: cat > /tmp/cache-memory/ci-coach/last-analysis.jsoncat > /tmp/gh-aw/cache-memory/ci-coach/last-analysis.json

shared/ci-data-analysis.md — 3 occurrences fixed:

  • Available Data section: /tmp/cache-memory//tmp/gh-aw/cache-memory/
  • Historical Context bash snippet: [ -f /tmp/cache-memory/ci-coach/...][ -f /tmp/gh-aw/cache-memory/ci-coach/...]
  • Historical Context bash snippet: cat /tmp/cache-memory/ci-coach/...cat /tmp/gh-aw/cache-memory/ci-coach/...

Spec

Per the cache-memory spec (docs/src/content/docs/reference/cache-memory.md and pkg/workflow/cache.go):

  • Default cache path: /tmp/gh-aw/cache-memory/
  • Named cache path: /tmp/gh-aw/cache-memory-{id}/

All other workflows using cache-memory were audited and reference the correct paths.

…cache-memory

Agent-Logs-Url: https://github.com/github/gh-aw/sessions/463201f7-c73b-4b17-a4f3-463e84b18a55

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan April 25, 2026 22:11
@pelikhan pelikhan marked this pull request as ready for review April 25, 2026 23:02
Copilot AI review requested due to automatic review settings April 25, 2026 23:02
@pelikhan pelikhan merged commit 92c3289 into main Apr 25, 2026
32 checks passed
@pelikhan pelikhan deleted the copilot/update-agentic-workflow-prompts branch April 25, 2026 23:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes incorrect cache-memory directory references in agentic workflow documentation so they match the canonical runtime path (/tmp/gh-aw/cache-memory/).

Changes:

  • Update cache-memory path references in ci-coach.md (data available section + Phase 5 snippet).
  • Update cache-memory path references in shared/ci-data-analysis.md (available data section + historical context snippet).
Show a summary per file
File Description
.github/workflows/ci-coach.md Updates documented cache-memory paths to /tmp/gh-aw/cache-memory/ and fixes the save-analysis snippet paths accordingly.
.github/workflows/shared/ci-data-analysis.md Updates documented cache-memory paths and the historical context snippet to use the correct /tmp/gh-aw/cache-memory/ location.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@github-actions github-actions Bot mentioned this pull request Apr 25, 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.

3 participants