You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[q] fix: use subdirectory pattern for function-namer cache-memory #28478
Fixes the cache-memory file path in daily-function-namer.md to follow the established subdirectory convention used across other workflows.
Change
Before
After
cache-memory/function-namer-state.json
cache-memory/function-namer/state.json
Also adds mkdir -p before writing, since the subdirectory may not exist yet.
Why
Most workflows use cache-memory/<workflow-name>/ as a namespace (e.g., cache-memory/ci-coach/last-analysis.json, cache-memory/cache-strategy/runs.json). The flat function-namer-state.json was inconsistent with this pattern.
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 24934393876 -n agent -D /tmp/agent-24934393876
# Create a new branch
git checkout -b q/function-namer-cache-naming-cb419c6b79f715ab main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-24934393876/aw-q-function-namer-cache-naming.patch
# Push the branch and create the pull request
git push origin q/function-namer-cache-naming-cb419c6b79f715ab
gh pr create --title '[q] fix: use subdirectory pattern for function-namer cache-memory' --base main --head q/function-namer-cache-naming-cb419c6b79f715ab --repo github/gh-aw
Activity