Skip to content

Update caching docs for canonical-overlay removal - #578

Merged
frostebite merged 7 commits into
mainfrom
remove-canonical-overlay-cache-docs
Aug 15, 2026
Merged

frostebite merged 7 commits into
mainfrom
remove-canonical-overlay-cache-docs

Conversation

@frostebite

@frostebite frostebite commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Companion docs PR for game-ci/orchestrator#40, which removes the canonical-overlay local cache mode entirely.

  • Deletes the "Canonical Cache + Overlay (Advanced)" section outright (previously ~185 lines of architecture/config/failure-mode documentation for the now-removed feature). No replacement note, no "removed" callout — the feature is gone, so the docs about it are gone. Users who still have localCacheMode: canonical-overlay set will hit the runtime error added in orchestrator#40, which is self-explanatory.
  • Corrects the inputs reference table: drops canonicalCacheRoot, canonicalCacheClassifier, canonicalCacheVersionRetention, cacheMaterialize, cacheSentinelCanary (all removed alongside the feature), and updates the localCacheMode row to only list the three modes that remain (move-directory, copy-directory, tar).
  • 10-build-services.mdx updated to reflect move-directory as the new default cache mode (orchestrator#41).
  • Fixes two real CI failures found along the way: a broken relative link (05-hooks/05-built-in-hooks → absolute /docs/github-orchestrator/advanced-topics/hooks/built-in-hooks) and an oxfmt formatting issue.

Verified: zero remaining references to "canonical" anywhere in either changed file.

Summary by CodeRabbit

  • Documentation
    • Removed documentation for the advanced canonical-overlay caching mode.
    • Updated the default local cache mode to move-directory.
    • Clarified cache behavior, including atomic directory moves, cross-filesystem copy fallbacks, and preservation of fallback cache seeds.

Replaces the "Canonical Cache + Overlay (Advanced)" section with a
short removed-feature note pointing to game-ci/orchestrator#40 and
game-ci/roadmap#11, and corrects the inputs reference table to drop
the now-removed canonicalCache* / cacheMaterialize / cacheSentinelCanary
inputs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0ec7dae6-7c24-4b2a-ae4b-325a47e46593

📥 Commits

Reviewing files that changed from the base of the PR and between 04d3dd2 and a7e00a1.

📒 Files selected for processing (2)
  • docs/03-github-orchestrator/07-advanced-topics/01-caching.mdx
  • docs/03-github-orchestrator/07-advanced-topics/10-build-services.mdx

📝 Walkthrough

Walkthrough

The documentation removes canonical-overlay caching details and updates move-directory as the default localCacheMode, including rename fallback and cache-seed preservation behavior.

Changes

Local cache documentation

Layer / File(s) Summary
Cache mode reference and behavior
docs/03-github-orchestrator/07-advanced-topics/01-caching.mdx, docs/03-github-orchestrator/07-advanced-topics/10-build-services.mdx
The documentation removes canonical-overlay inputs. It sets move-directory as the default and documents atomic renames, cross-filesystem copy fallback, and copied fallback cache seeds.

Estimated code review effort: 2 (Simple) | ~10 minutes

Mergeability Score: ⚪ Minimal · up to a7e00

The documentation removes references to the retired cache mode and updates the remaining cache guidance and links; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main documentation change: removal of the retired canonical-overlay cache mode.
Description check ✅ Passed The description clearly explains the documentation changes and verification, but it omits the required Changes and Checklist headings.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch remove-canonical-overlay-cache-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Cat Gif

frostebite and others added 2 commits August 12, 2026 19:08
Follow-up to the earlier canonical-overlay removal commit, now that
game-ci/orchestrator#41 has landed switching the default localCacheMode
from tar to move-directory:

- build-services.mdx: updates the Cache Mode table and Inputs table to
  show move-directory as default, and notes the new automatic EXDEV
  copy fallback for cross-volume setups.
- caching.mdx: corrects the removal note (previously said tar was
  still the default) and updates the roadmap#11 follow-up summary to
  drop the now-completed default-switch item.
- Also removes an orphaned cacheSentinelCanary table row left over
  from the canonical-overlay removal edit, and restores a missing
  blank line before a heading.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- caching.mdx linked to a relative path (05-hooks/05-built-in-hooks)
  that Docusaurus didn't resolve the way a plain markdown relative
  link normally would, breaking the build (docusaurus found broken
  links). Fixed to the correct absolute path,
  /docs/github-orchestrator/advanced-topics/hooks/built-in-hooks,
  verified against the live site.
- Ran oxfmt on both files touched by the earlier canonical-overlay-
  removal edits, which had been hand-edited via a script and didn't
  match the project's formatting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit ac4ff82):

https://game-ci-5559f--pr578-remove-canonical-ove-kogelnp3.web.app

(expires Sat, 22 Aug 2026 02:10:30 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1f0574f15f83e11bfc148eae8646486a6d0e078b

It was experimental and never should have left a paper trail once
removed. Deletes the entire "Canonical Cache + Overlay (Removed)"
explanatory section outright instead of keeping a summary of what it
used to be, and drops the dangling "(canonical-overlay removed, see
above)" parenthetical from the inputs table now that there's no
"above" to point to.

The only thing that stays is the runtime guard in orchestrator
(plugin-lifecycle.ts) that throws a clear error if someone still has
localCacheMode: canonical-overlay configured - removing that too would
make it silently behave like move-directory instead, which is worse.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@frostebite
frostebite marked this pull request as ready for review August 13, 2026 01:08
@frostebite
frostebite enabled auto-merge (squash) August 13, 2026 01:09
@frostebite
frostebite merged commit 1443072 into main Aug 15, 2026
8 checks passed
@frostebite
frostebite deleted the remove-canonical-overlay-cache-docs branch August 15, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants