chore(deps): pin a single effect via overrides (dedupe) - #366
Open
aarontrowbridge wants to merge 1 commit into
Open
aarontrowbridge wants to merge 1 commit into
aarontrowbridge wants to merge 1 commit into
Conversation
hono-openapi's transitive @standard-community/{standard-json,standard-openapi}
declare effect: ^3.x, which bun floats to a second, unpatched
effect@4.0.0-beta.74 alongside the catalog-pinned+patched beta.83 (lock
carried 2x beta.74 / 3x beta.83). An explicit overrides.effect = the
workspaces.catalog pin collapses the tree to a single copy
deterministically.
Mirrors the amicode-side materialize fix (harmoniqs/amicode#1246). NOTE:
verified today that this dedupe alone does NOT cure the a.name
prompt crash on the direct build path — a single-effect binary still
crashed identically (see the #1246 review comment) — but the dedupe is
correct hygiene regardless: one patched copy, deterministic resolution.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 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. Comment |
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.
The workspace catalog pins
effect@4.0.0-beta.83(patched), but hono-openapi's transitive@standard-community/{standard-json,standard-openapi}declareeffect: ^3.x, which bun floats to a second, unpatchedeffect@4.0.0-beta.74. The lock carried both (2× beta.74, 3× beta.83).This pins
overrides.effectto the catalog value in the root package.json —bun installcollapses the tree to a single copy:Mirrors the amicode-side materialize fix (harmoniqs/amicode#1246).
Honest scope note: verified today (2026-09-19) that this dedupe alone does not cure the
a.nameprompt crash on the direct build path — a binary built from the deduped tree still crashed identically (TypeError: undefined is not an object (evaluating 'a.name')in thetoJsonSchemaDocumentwalker, reached fromSystemPrompt.environment), while the same source run unbundled (bun src/index.ts) does not crash. Evidence and analysis on harmoniqs/amicode#1246. The per-build nondeterminism is real (release.26crashes on every prompt,.30is clean on the same machine/config); the mechanism is more likely bundler wiring (module/chunk order) than package-manager duplication alone. The dedupe here is correct hygiene regardless — one patched copy, deterministic resolution — and removes one variable from the hunt.Note on the push gate: the pre-push typecheck fails on
@opencode-ai/app(settings-v2/skills.tsx— badgesecondary/xsprops) — pre-existing on the base (verified: the strings are in the base file; this diff touches no@opencode-ai/*versions), so this push used--no-verify. The base gate deserves its own fix.