Wire Turborepo remote cache to Cloudflare R2 in CI #274
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#274
Loading…
Add table
Add a link
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?
Integrate brunojppb/turbo-cache-server with Cloudflare R2 for Turborepo remote caching in Forgejo/GitHub CI and optional local
docker:ci-check.Problem
CI runs Turborepo with local-only
.turbo/cache inside each runner/container. Repeated check and build tasks cannot reuse artifacts across CI runs.Goal
Share Turborepo task cache across CI runs via R2-backed remote cache server, and optionally mirror the same setup locally through
pnpm docker:ci-check.Scope
checks,release-desktop, plugin assets, lapis.md publish).env.example,docker:ci-check --remote-cachespec/src/80-maintenance/andspec/src/40-testing/Non-goals
turbo.jsontask graphAcceptance Criteria
turbo-cache-server@4.0.7and setTURBO_API,TURBO_TEAM,TURBO_TOKEN.pnpm docker:ci-check --remote-cache(or auto-detect from repo-root.env) runs a sidecar cache server and passes turbo env to the CI container.Implementation Notes
ghcr.io/brunojppb/turbo-cache-server:4.0.7.S3_REGION=autofor R2.TURBO_TEAM=lapis-notesfor cross-host cache sharing.Suggested Files or Specs To Inspect
.forgejo/workflows/checks.ymlscripts/run-lapis-ci-check-lib.mjsspec/src/80-maintenance/release-management.mdValidation Commands
Related Issues
Follow-up Tasks
Implementation Summary
Integrated brunojppb/turbo-cache-server@4.0.7 with Cloudflare R2 across Forgejo/GitHub turbo CI jobs via service containers and a macOS start-server composite action; added .env.example, turbo-cache config scripts, docker:ci-check --remote-cache sidecar support, and spec docs. Validated with pnpm check:all and make spec-lint.