Skip to content

Preserve metadata after conflicted cherry-picks#1911

Open
svarlamov wants to merge 1 commit into
mainfrom
fix/1385-1784397240
Open

Preserve metadata after conflicted cherry-picks#1911
svarlamov wants to merge 1 commit into
mainfrom
fix/1385-1784397240

Conversation

@svarlamov

@svarlamov svarlamov commented Jul 18, 2026

Copy link
Copy Markdown
Member

Fixes #1385

Summary

  • Recover a single explicit cherry-pick source even when async trace processing runs after --continue removes live sequencer state.
  • Preserve source authorship and session metadata so tool_model_breakdown remains populated.
  • Keep the fallback bounded to one batched object lookup outside the critical ingestion path.

Test coverage

  • Added delayed trace2 conflict/continue coverage with a short source SHA.
  • Added stats assertions to the standard conflicted cherry-pick integration test.
  • Ran task test, task lint, and task fmt.

Open in Devin Review

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: git cherry-pick commit-id tool_model_breakdown miss when conflict

1 participant