Restore-only dependency caching for managed Code Quality pull requests
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, go, typescript
Rechercherichtung
Start by reading the managed Code Quality workflow generation and the dependency-caching implementation in this repository; the issue identifies the dynamic/github-code-quality/codeql job and the Go module cache at ~/go/pkg/mod. Compare the managed configuration with the documented setup API and existing restore-only cache modes. Done means a supported policy can restore dependencies on managed PR analysis while limiting cache writes to the default branch, with analysis and upload preserved.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Managed Code Quality Go analysis can save a multi-gigabyte, PR-scoped module cache that competes with other required CI caches. Is there a supported way to retain dependency restores while limiting managed Code Quality cache writes to the default branch?
In this public Go job, the generated workflow used github/codeql-action@v4 resolved to 24c54180a607b1449ed407dd24f251e4e9147c8d, with dependency-caching: true. It packaged 9,980,805,362 uncompressed bytes and saved a 5,365,575,023-byte dependency archive under refs/pull/7708/head. The exact action source caches ~/go/pkg/mod for Go; this archive is not GOCACHE. Other completed attempts spent time packaging the same final key before cache reservation failed.
Owned Advanced CodeQL supports dependency-caching: restore, and owned workflows support cache-mode: read. Neither declaration governs the separate dynamic/github-code-quality/codeql job. The documented Code Quality setup API exposes no equivalent cache control. Code Quality is configured independently of code-scanning default setup in this repository.
A supported restore-only policy for managed PR analysis, with an appropriate default-branch cache writer, would avoid these redundant copies while preserving analysis and upload. We have separately reduced duplicate module/build-cache writers in repository-owned CI; that does not configure the managed producer.
If this control already exists, please point us to its supported configuration. Otherwise, please consider exposing a managed dependency-cache mode or equivalent scoped cache access. The relevant local outcome is tracked in devantler-tech/ksail#7348.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.7k
- Forks
- 498
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 56
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/codeql-action
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
github/codeql-action#4202 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
github/codeql-action#4052 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
github/codeql-action#4252 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 18/100
github/codeql-action#4229 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 28/100
github/codeql-action#4199 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in github/codeql-action
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
equinor/prisma-decision-web#919 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[DC] OneLogin sync imports a partial user list when an API request failsEvtl. vergeben @RaphaelFakhri hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
bitwarden/directory-connector#1276 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
home-assistant/installer#324 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Mondriaan
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
knaw-huc/textannoviz#733 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag