Skip to content

upstream merge needs attention: v0.82.0 (CONFLICTS) #331

Description

@code-yeongyu

Automated upstream merge for v0.82.0 did not complete cleanly (result: CONFLICTS).

Agent report

Upstream Merge Report

Result

MERGE_RESULT: CONFLICTS

The attempted history-preserving merge of upstream/main was aborted because the conflict set contains semantic conflicts in fork-owned runtime lifecycle code. Resolving these by choosing one side mechanically would risk dropping either upstream runtime changes or intentional Senpi fork behavior documented in nearby changes.md files.

Refs

  • Current branch before merge: automation/upstream-v0.82.0-30105789768
  • Current HEAD before merge: 38bd3a3cf8a47c1201969117b1a82a5af7daac9c
  • Upstream main fetched: a9f5b1c123a4f13457e88522a3be89aeb4823d66
  • Requested upstream release tag: v0.82.0
  • v0.82.0 commit: 083e61621276bff9f6faefab87ce07fcd98734e2
  • Merge base: 3da591ab74ab9ab407e72ed882600b2c851fae21
  • Divergence at attempt time: 2145 commits on HEAD side, 106 commits on upstream side

Attempted Command

git fetch upstream main --tags
git merge --no-ff upstream/main -m "sync: merge upstream v0.82.0"
git merge --abort

No rebase, force-push, tag, release, PR creation, or hook bypass was used.

Why This Needs Manual Resolution

  • packages/agent/src/agent-loop.ts conflicts at provider stream plumbing. Upstream introduces getDefaultStreamFn / streamFunction flow while the fork owns request abort propagation, idle-timeout teardown, terminal failure normalization, thinking timing metadata, and queued-message recovery behavior documented in packages/agent/src/changes.md.
  • packages/coding-agent/src/core/agent-session.ts conflicts across event types, auth shape, tool-result hook payloads, retry/compaction continuation, and manual compaction lifecycle. The fork notes mark this area HIGH risk for session-owned compaction lifecycle, provider admission gates, replay provenance, model fallback, and queued continuation ownership.
  • packages/coding-agent/src/modes/interactive/interactive-mode.ts conflicts in constructor/runtime wiring, external editor handling, session event handling, model selection, smooth streaming, stderr ownership, queued compaction transfer, and TUI render FPS integration.
  • packages/tui/src/tui.ts conflicts in constructor shape, debug/crash logging paths, render scheduling and cursor/segment reset areas. The fork notes mark TUI.doRender() and related rendering branches HIGH risk because they preserve flicker-free scrollback and terminal-frame invariants.
  • packages/orchestrator to packages/server rename conflicts overlap fork-owned package notes and upstream package movement, including file-location conflicts for AGENTS.md and test/config.test.ts.
  • Generated model catalog conflicts include packages/ai/src/models.generated.ts; repository rules forbid hand-editing generated model files, and regeneration may require a broader catalog decision.
  • Lockfile conflicts require the prescribed upstream lockfile then regeneration path, but the runtime semantic conflicts must be settled first.

Conflict Count

The merge produced 112 unresolved paths.

Unresolved Paths

.github/ISSUE_TEMPLATE/bug.yml
.github/ISSUE_TEMPLATE/contribution.yml
.github/workflows/approve-contributor.yml
.github/workflows/build-binaries.yml
.github/workflows/ci.yml
.github/workflows/issue-analysis.yml
.github/workflows/issue-gate.yml
.github/workflows/npm-audit.yml
.github/workflows/pr-gate.yml
.gitignore
CONTRIBUTING.md
README.md
package-lock.json
package.json
packages/agent/CHANGELOG.md
packages/agent/package.json
packages/agent/src/agent-loop.ts
packages/agent/src/agent.ts
packages/agent/test/agent-loop.test.ts
packages/agent/test/agent.test.ts
packages/ai/CHANGELOG.md
packages/ai/README.md
packages/ai/package.json
packages/ai/scripts/generate-models.ts
packages/ai/src/api/anthropic-messages.ts
packages/ai/src/api/bedrock-converse-stream.ts
packages/ai/src/api/google-generative-ai.ts
packages/ai/src/api/google-vertex.ts
packages/ai/src/api/mistral-conversations.ts
packages/ai/src/api/openai-codex-responses.ts
packages/ai/src/api/openai-completions.ts
packages/ai/src/api/openai-responses-shared.ts
packages/ai/src/api/openai-responses.ts
packages/ai/src/index.ts
packages/ai/src/models.generated.ts
packages/ai/src/providers/anthropic.ts
packages/ai/src/providers/google-vertex.models.ts
packages/ai/src/providers/google.models.ts
packages/ai/src/providers/huggingface.models.ts
packages/ai/src/providers/kimi-coding.models.ts
packages/ai/src/providers/nvidia.models.ts
packages/ai/src/providers/opencode-go.models.ts
packages/ai/src/providers/opencode.models.ts
packages/ai/src/providers/openrouter.models.ts
packages/ai/src/providers/together.models.ts
packages/ai/src/providers/vercel-ai-gateway.models.ts
packages/ai/src/types.ts
packages/ai/src/utils/uuid.ts
packages/ai/test/abort.test.ts
packages/ai/test/cache-retention.test.ts
packages/ai/test/context-overflow.test.ts
packages/ai/test/cross-provider-handoff.test.ts
packages/ai/test/deferred-tools.test.ts
packages/ai/test/empty.test.ts
packages/ai/test/image-tool-result.test.ts
packages/ai/test/openai-codex-stream.test.ts
packages/ai/test/openai-completions-thinking-as-text.test.ts
packages/ai/test/openai-completions-tool-result-images.test.ts
packages/ai/test/providers.test.ts
packages/ai/test/retry.test.ts
packages/ai/test/stream.test.ts
packages/ai/test/supports-xhigh.test.ts
packages/ai/test/tokens.test.ts
packages/ai/test/tool-call-without-result.test.ts
packages/ai/test/total-tokens.test.ts
packages/ai/test/unicode-surrogate.test.ts
packages/coding-agent/CHANGELOG.md
packages/coding-agent/docs/session-format.md
packages/coding-agent/install-lock/package-lock.json
packages/coding-agent/install-lock/package.json
packages/coding-agent/package.json
packages/coding-agent/publish-deps.lock.json
packages/coding-agent/src/cli/config-selector.ts
packages/coding-agent/src/cli/startup-ui.ts
packages/coding-agent/src/core/agent-session.ts
packages/coding-agent/src/core/compaction/branch-summarization.ts
packages/coding-agent/src/core/compaction/compaction.ts
packages/coding-agent/src/core/compaction/utils.ts
packages/coding-agent/src/core/extensions/runner.ts
packages/coding-agent/src/core/extensions/types.ts
packages/coding-agent/src/core/model-config.ts
packages/coding-agent/src/core/model-resolver.ts
packages/coding-agent/src/core/model-runtime.ts
packages/coding-agent/src/core/sdk.ts
packages/coding-agent/src/core/session-manager.ts
packages/coding-agent/src/core/tools/bash.ts
packages/coding-agent/src/core/tools/tool-definition-wrapper.ts
packages/coding-agent/src/index.ts
packages/coding-agent/src/modes/interactive/components/footer.ts
packages/coding-agent/src/modes/interactive/interactive-mode.ts
packages/coding-agent/src/modes/rpc/rpc-mode.ts
packages/coding-agent/test/agent-session-compaction.test.ts
packages/coding-agent/test/compaction-extensions.test.ts
packages/coding-agent/test/compaction-summary-reasoning.test.ts
packages/coding-agent/test/suite/harness.ts
packages/orchestrator/CHANGELOG.md
packages/server/AGENTS.md
packages/server/README.md
packages/server/package.json
packages/server/src/config.ts
packages/server/src/radius.ts
packages/server/test/config.test.ts
packages/tui/CHANGELOG.md
packages/tui/package.json
packages/tui/src/components/editor.ts
packages/tui/src/tui.ts
packages/tui/test/tui-render.test.ts
scripts/local-release.mjs
scripts/release.mjs
scripts/sync-versions.js
test.sh
tsconfig.json

Work Not Performed

Because the merge was aborted under the conflict terminal condition:

  • .github/upstream.json was not updated.
  • Changelogs were not audited or edited.
  • Build, check, tests, and Senpi real CLI QA were not run.
  • No commits were created.

Resolve manually, then re-run Upstream Agent Merge with force=true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sync-conflictAutomated upstream sync needs maintainer attention

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions