Repository navigation
chore(agentcore): repin @copilotkit packages to 1.70.0 (refs OSS-1029) - #6811
BenTaylorDev wants to merge 1 commit into
Conversation
Step 3 of #6188's landing order. @copilotkit/runtime and @copilotkit/react-core 1.70.0 published today and carry the managed Intelligence authority from #6098, so the two AgentCore pins can come off 1.68.1 and #6188 is no longer blocked on the release train. The locks are bumped minimally, not regenerated. A plain --package-lock-only bump left two copies of @copilotkit/shared in the lambda (1.70.0 nested under runtime, 1.68.1 hoisted for the channels-* packages that ask ^1.68.0); npm update on shared and core collapses that to one. Full regeneration was rejected: it swept 89 unrelated packages, including @graphql-tools/executor 1.5.1 -> 2.0.0 and a @types/express 5 -> 4 downgrade. The lambda's @Ag-ui overrides block is left alone, so it still holds @ag-ui/* at 0.0.58 against runtime 1.70.0's declared 0.0.59, exactly as it did against 1.68.1. Verified: lambda `tsc -p tsconfig.json` exit 0; frontend `tsc && vite build` exit 0; one copy of every @CopilotKit and @Ag-ui package in both locks. Refs OSS-1029.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe AgentCore frontend and Lambda packages update their CopilotKit dependencies from version ChangesAgentCore dependency updates
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Superseded by #6188 itself. When I opened this, #6188 was still pre-rebase and the AgentCore pins were the outstanding step 3. The force-push at 22:04Z brought One finding from here is still live against #6188, and I've reported it there: |
Step 3 of #6188's landing order. That PR states: "1. Merge #6098. 2. Publish
@copilotkit/runtimeand@copilotkit/react-corewith managed entitlement support. 3. Update the two AgentCore pins from1.68.1to that release. 4. Merge this PR. Do not merge this PR before step 3."Steps 1 and 2 completed today:
b07b1320f2)@copilotkit/[email protected]published 20:24:51Z,@copilotkit/[email protected]at 20:26:32Z;dist-tags.latestis1.70.0for bothgit merge-base --is-ancestor b07b1320f2 v1.70.0confirms the managed Intelligence authority is actually in the release — a 1.70.0 without feat(runtime): use managed Intelligence authority #6098 would have satisfied the version bump but not the stepThis is step 3, so #6188 is no longer blocked on the release train.
The locks are bumped minimally, not regenerated
Worth a look, because the obvious approach is wrong in two different directions.
A plain
npm install --package-lock-onlyleaves a duplicate. The lambda ended up with two copies of@copilotkit/shared—1.70.0nested underruntime, and1.68.1still hoisted at the top level for the@copilotkit/channels-*@0.9.0packages, which ask for^1.68.0and were already satisfied.npm dedupedoes not collapse it.npm update @copilotkit/shared @copilotkit/core --package-lock-onlydoes.A full regeneration is far too broad. Deleting the lock and rebuilding it produces a single clean copy, but sweeps 89 unrelated packages along with it — including
@graphql-tools/executor1.5.1 → 2.0.0,@graphql-tools/utils10 → 11,debug2 → 4, and a@types/express5 → 4 downgrade. That is a dependency sweep on a Lambda that ships to AWS, not a repin, so it was rejected.What landed changes exactly three resolved versions in the lambda lock (
@copilotkit/core,runtime,shared, all 1.68.1 → 1.70.0) plus the type-package hoisting that follows from runtime 1.70.0's own tree, and seven in the frontend lock.One thing left deliberately alone
The lambda's
overridesblock pins@ag-ui/{client,core,encoder,proto}to0.0.58, while[email protected]declares0.0.59. I left it as-is — it was already overriding runtime's declared version before this change, so the override goes on doing what it did. Flagging it in case that pin has a shelf life.Validation
npm install+tsc -p tsconfig.json→ exit 0,dist/emittednpm install+tsc && vite build→ exit 0, built in 11.14s@copilotkit/*and@ag-ui/*package in both locks, none left on a 1.6x line1.68.1underexamples/integrations/agentcoreNote
1.68.1is pinned across ~20 otherexamples/integrations/*/package.json. Those are deliberately untouched — the landing order names only the two AgentCore pins.Refs OSS-1029.
🤖 Generated with Claude Code
Summary by CodeRabbit