chore: add vendored reference repo subtree sync tooling#2902
Merged
Conversation
Co-authored-by: codex <codex@users.noreply.github.com>
git-subtree-dir: .repos/effect-smol git-subtree-split: 0de3cc2a2d51e98345f4bd37b649ecea3d90b51e
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: codex <codex@users.noreply.github.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Contributor
ApprovabilityVerdict: Needs human review Diff is too large for automated approval analysis. A human reviewer should evaluate this PR. You can customize Macroscope's approvability policy. Learn more. |
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
bun run sync:repostooling for vendored reference repositorieseffect-smolsource subtree for the workspace Effect dependency.repos/from project formatting and lintingVerification
bun fmtbun fmt:checkbun lintbun run testfromscripts/bun run sync:repos --repo effect-smol --dry-runbun typecheck(blocked by pre-existingorigin/maindesktop errors: main imports removed Effect 4 subpaths such aseffect/Context)Note
Low Risk
Mostly vendored reference content and dev-only sync scripts; main risk is repo size and keeping
.reposin sync when Effect versions change, not runtime behavior changes.Overview
This PR introduces vendored reference repositories under
.repos/, starting witheffect-smolaligned to the workspace Effect catalog version (effect@4.0.0-beta.73viabun run sync:repos). The checked-in tree is upstream reference material (changesets, CI workflows, agent skills, patterns, specs)—not t3code application logic.Tooling: Root
sync:repos(scripts/sync-reference-repos.ts) plansgit subtreeadd/pull perscripts/lib/reference-repos.ts(ref from catalog version or--latest/--dry-run/--repo).Hygiene:
.oxfmtrc.jsonand.oxlintrc.jsonadd.repos/**to ignore patterns so format/lint stay scoped to the monorepo.When bumping Effect catalog versions, run sync and commit the matching subtree in the same change (per PR verification notes).
Reviewed by Cursor Bugbot for commit d956211. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add vendored subtree sync tooling and scripts for the effect-smol reference repo
git subtree add/pullfor theeffect-smolreference repository, resolving the concrete ref from eitherlatest(branch) or a version in a localpackage.json.pnpm sync:reposscript in package.json that invokes the sync tool, and extends .oxfmtrc.json and .oxlintrc.json to cover.repos/**.effect-smolmonorepo under.repos/effect-smol/, including source files, tests, CI workflows, tooling packages, and SQL/AI/platform adapters; these files represent the synced reference content rather than net-new local development..repos/effect-smol/subtree is large and will grow on every sync; reviewers should verify.gitignoreand formatter/linter scope settings are appropriate before merging.Macroscope summarized d956211.