Repository navigation
oss-sync 2026-11-19: GID cache, launch perf, entrypoint set -e fix - #4
ramseymcgrath wants to merge 1 commit into
Conversation
…set -e fix) - gid: consult the cache before spawning the docker probe (fb8536a) - run: skip embedded-FS hashing when nothing was extracted; memoize gitRoot (4aa3cd7) - container: content-address the repo overview by git tree hash (78e4abc) - entrypoint: route verbose logging through _vlog so a false verbose guard can no longer abort startup under set -e (0f259c2, hand-ported) Synced-from: af9472ef14ac2e66d10f878b0bf1c654f433935d Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015TTkk48rxb1LPWmQcRLmV6
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 40b4c5c2d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if [ -n "$tree_hash" ] && [ -f "$hash_file" ] \ | ||
| && [ "$(cat "$hash_file" 2>/dev/null)" = "$tree_hash" ] \ | ||
| && grep -q 'back2base:overview-begin' "$claude_md" 2>/dev/null; then | ||
| echo ":: overview: repo unchanged (tree ${tree_hash:0:8}…) — keeping existing overview" >&2 | ||
| return 0 |
There was a problem hiding this comment.
Preserve the cached overview across startup regeneration
On normal default/auto-profile launches, this cache never hits: filter_mcp_by_profile in entrypoint.sh replaces .mcp.json on every start, making it newer than CLAUDE.md. The subsequent generate_claude_md invokes render-claude-md.py, whose mtime-based invalidation rebuilds the file from the template and removes the overview markers before this check runs. Consequently, an unchanged repository still incurs the Claude overview call and nondeterministic prompt rewrite every launch. Preserve the overview during base-file regeneration, or cache its body separately and splice it back without invoking Claude.
Useful? React with 👍 / 👎.
Summary
Weekly sync from the private back2base repo. Verdict reasons are classified from touched paths and commit subjects, not a line-by-line review. Commits considered: the first 75 qualifying commits after the 2026-06-05 cutoff, through
af9472e(no priorSynced-fromexisted). The remaining ~160 commits (through1d4ebad) are left for next week's runs.Ported: 3 clean, 1 partial (hand-ported). Skipped/held: 71 (full per-commit list is in the private run log; categories below).
Ported
_vlogfix: a false verbose guard as a function's last command aborted entrypoint.sh underset -e. Same bug existed here (14 call sites). Added the bats regression.Build / test
go vet ./...andgo test ./...pass. bats is not installed in the sync environment, soentrypoint-phase-exit.batsandprelaunch-overview.batswere not run;bash -npasses on the changed scripts.Leak scan
Scanned the full diff for back2base.net, ramseymcgrath, gmail.com, auth0, account_id, 32-hex IDs, sk-ant-, ghp_, github_pat_, private keys. No hits.
Skipped / held back
[1m], Claude Code minimum-version preflight;1b6f332,a3bd3fd,b7b87aa), docker compose to plaindocker run(08ae29b), and container hardening that mixes shared and cloud hunks (83d8cb5firewall,f78c6c1/9d4610dUID remap,19b0ba9,1755ca4,3609ae1,dd3104d,3712ae3).Synced-from: af9472ef14ac2e66d10f878b0bf1c654f433935d
Generated by Claude Code