Upstream ancestry sync: resolve commit divergence#28
Merged
aaditagrawal merged 9 commits intomainfrom Mar 20, 2026
Merged
Conversation
Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: JustYannicc <52761674+JustYannicc@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts: # README.md # apps/server/integration/orchestrationEngine.integration.test.ts # apps/server/src/orchestration/Layers/CheckpointReactor.test.ts # apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts # apps/server/src/orchestration/Layers/ProviderCommandReactor.ts # apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts # apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts # apps/server/src/provider/Layers/ClaudeAdapter.test.ts # apps/server/src/provider/Layers/ClaudeAdapter.ts # apps/server/src/provider/Layers/ClaudeSdkFastMode.probe.test.ts # apps/server/src/provider/Layers/CodexAdapter.test.ts # apps/server/src/provider/Layers/ProviderAdapterRegistry.test.ts # apps/server/src/provider/Layers/ProviderAdapterRegistry.ts # apps/server/src/provider/Layers/ProviderHealth.ts # apps/server/src/provider/Layers/ProviderService.ts # apps/server/src/provider/Layers/ProviderSessionDirectory.ts # apps/server/src/serverLayers.ts # apps/web/src/appSettings.test.ts # apps/web/src/appSettings.ts # apps/web/src/components/ChatView.logic.ts # apps/web/src/components/ChatView.tsx # apps/web/src/components/Icons.tsx # apps/web/src/components/Sidebar.tsx # apps/web/src/components/chat/ProviderModelPicker.browser.tsx # apps/web/src/components/chat/ProviderModelPicker.tsx # apps/web/src/composerDraftStore.ts # apps/web/src/routes/_chat.settings.tsx # apps/web/src/session-logic.test.ts # apps/web/src/session-logic.ts # apps/web/src/store.test.ts # apps/web/src/store.ts # bun.lock # packages/contracts/src/model.ts # packages/contracts/src/orchestration.test.ts # packages/contracts/src/orchestration.ts # packages/contracts/src/provider.test.ts # packages/contracts/src/provider.ts # packages/contracts/src/providerRuntime.ts # packages/shared/src/model.test.ts # packages/shared/src/model.ts
📝 WalkthroughWalkthroughA new test case was added to verify that explicit Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/server/src/provider/Layers/ProviderService.test.ts`:
- Around line 587-609: Duplicate test "routes explicit claudeAgent provider
session starts to the claude adapter" should be removed to avoid redundant
assertions and flaky mock count checks; locate the duplicate block referencing
ProviderService and routing.claude.startSession (the second occurrence around
the later lines) and delete that redundant it.effect test so only the original
test remains, or alternatively reset routing.claude.startSession.mock (e.g.,
mockClear) at the start of the duplicate test if you prefer keeping it; ensure
only one test asserts routing.claude.startSession.mock.calls.length === 1 and
that ProviderService.startSession assertions remain in the single canonical
test.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 68077711-8fd7-4e5e-bd30-054f30569d67
📒 Files selected for processing (1)
apps/server/src/provider/Layers/ProviderService.test.ts
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
Merge
upstream/maininto our fork to establish shared commit ancestry. This resolves the "7 commits behind" indicator on GitHub caused by cherry-picked commits having different SHAs than their upstream originals.All conflicts resolved by keeping our version (
--ours), since our code already contains all upstream changes from the previous cherry-pick integration (PR #26) plus our multi-provider enhancements.No functional changes — this is purely an ancestry fix.
Test plan
bun typecheck— 7/7 packages passSummary by CodeRabbit
Note: This is a test-only change with no impact on end-user functionality.