Skip to content

[q] fix(daily-compiler-quality): unlock bash to enable cache writes and historical trends #29050

Closed

Description

@github-actions

Q Workflow Optimization Report

Issues Found (from live data)

daily-compiler-quality

  • Run IDs Analyzed: #25079275023, #25021090720, #24941264074, #24913114026
  • Root Cause: The workflow had bash: restricted to exactly 4 read-only commands (find, wc -l, git log × 2). The agent could not run mkdir, cat, jq, or mv — all required to write cache files.
  • Evidence: Audit of run #25079275023 shows tool_usage contains only safeoutputs.create_discussion with zero bash or cache operations. Every run started cold.
  • Symptom: Discussion [daily-compiler-quality] Daily Compiler Code Quality Report - 2026-04-28 #28991 states Cache

Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

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 25091801631 -n agent -D /tmp/agent-25091801631

# Create a new branch
git checkout -b q/fix-compiler-quality-caching-2caddb920cb49a23 main

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-25091801631/aw-q-fix-compiler-quality-caching.patch

# Push the branch and create the pull request
git push origin q/fix-compiler-quality-caching-2caddb920cb49a23
gh pr create --title '[q] fix(daily-compiler-quality): unlock bash to enable cache writes and historical trends' --base main --head q/fix-compiler-quality-caching-2caddb920cb49a23 --repo github/gh-aw

🎩 Equipped by Q · ● 2.4M · ◷

  • expires on May 1, 2026, 5:11 AM UTC

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions