fix(ingest): serialize ingests + fix scan-all REPOS_DIR path leak#40
Closed
hyperpolymath wants to merge 12 commits into
Closed
fix(ingest): serialize ingests + fix scan-all REPOS_DIR path leak#40hyperpolymath wants to merge 12 commits into
hyperpolymath wants to merge 12 commits into
Conversation
…fs gitbot-fleet#148, #208; affinescript#229) Removes 1 copies of the stale SafeDOMExample.res ReScript fixture from this repo. One of 1,267 byte-clustered copies across the estate (129 repos). ReScript is fully banned in new code (2026-04-30 policy refresh). Current-grammar AffineScript replacement lives at gitbot-fleet/bots/*/examples/SafeDOMExample.affine (PR gitbot-fleet#210 MERGED). The example fixtures are not load-bearing — propagated from an earlier template-instantiation script. Refs hyperpolymath/gitbot-fleet#148, #208 Refs hyperpolymath/affinescript#57, #229 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- C001: CodeQL language fixes - C002: License identifier standardization - C003: Outdated actions audit - C004: Pin standards refs to SHA 861b5e9 - C005: Add workflow-level permissions
scan-all.sh: `/var$REPOS_DIR` concatenated a literal `/var` prefix, producing `/var$REPOS_DIR` when REPOS_DIR was unset. Replace with a proper guard: use REPOS_DIR only when it is non-empty and points to an existing directory. ingest.yml: concurrent repository_dispatch deliveries race on the commit+push; one writer loses. Add a concurrency group (cancel-in-progress: false) to queue them instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
hyperpolymath
enabled auto-merge (squash)
June 13, 2026 21:03
lint-workflows check requires every workflow file to declare a top-level permissions block. rsr-antipattern.yml was the only caller missing one. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lint-workflows checks require both a top-level permissions declaration and SHA-pinned reusable workflow references. rsr-antipattern.yml was missing both. Pins to standards main (2ff85f8). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
|
Superseded by #41 (claude/fix-ingest-v2) — rebased onto current main to eliminate merge conflicts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/scan-all.sh: The expression/var$REPOS_DIRconcatenated a literal/varprefix with the variable, producing the literal string/var$REPOS_DIRwhenREPOS_DIRwas unset. This leaked intoprogram_pathin everyscans/*.json. Fixed with a proper guard: only useREPOS_DIRwhen it is non-empty and points to an existing directory..github/workflows/ingest.yml: Concurrentrepository_dispatchdeliveries were racing on thecommit+pushstep, causing one writer to lose. Added aconcurrencygroup withcancel-in-progress: falseto queue them instead of cancelling.Test plan
scan-all.shdiff: no more/var$REPOS_DIRexpressioningest.ymldiff:concurrencyblock queues (not cancels) concurrent ingests🤖 Generated with Claude Code