Route the pre-commit path through the egress proxy, and drop the cache block the image bake retired #276
Labels
No labels
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agent-compose#276
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.forgejo/workflows/release.ymlreachespre-commit run --all-filesthroughscripts/test.sh, and this repo has noFORGEJO_EGRESS_PROXYhandling. Its.pre-commit-config.yamlsources five hook repositories from github.com.Runner egress has no direct route out, so a cold hook install reaches
github.com unproxied and resets. The trace and the fix pattern are in
coilyco-bridge/deploy#402. The
actions/cacheblock in that workflow has been masking it, which is why itlooks intermittent rather than broken.
Two changes
Add the wrapper. Copy
scripts/ci-command.shfromcoilyco-bridge/deployorcoilyco-flight-deck/infrastructureand routescripts/test.shthrough it. It is a no-op whenFORGEJO_EGRESS_PROXYisunset, so local runs are unaffected.
Drop the dead cache.
agentic-os:releasev0.270.0 setsPRE_COMMIT_HOME=/opt/pre-commitand ships the fleet hook environments bakedin, verified in the published image config. The
actions/cacheblock inrelease.ymlpoints at~/.cache/pre-commit, which nothing writes any more,so it saves and restores an empty directory.
Acceptance
~/.cache/pre-commit.