Skip to content

UnresolvedFile Action RenderBug#504

Draft
amadeus wants to merge 2 commits intomainfrom
amadeus/conflict-action-fix
Draft

UnresolvedFile Action RenderBug#504
amadeus wants to merge 2 commits intomainfrom
amadeus/conflict-action-fix

Conversation

@amadeus
Copy link
Copy Markdown
Member

@amadeus amadeus commented Apr 14, 2026

WIP

@amadeus amadeus marked this pull request as draft April 14, 2026 07:17
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Apr 14, 2026 6:37pm
pierrejs-docs Ready Ready Preview Apr 14, 2026 6:37pm

Request Review

amadeus added a commit that referenced this pull request Apr 14, 2026
There's a bug with UnresolvedFile with queued action updates that blips
a broken state. disableWorkerPool works around this for now, and I have
a proper fix coming in #504
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 872ced841a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +400 to +401
if (!this.hunksRenderer.canRenderDiffSynchronously(pending.fileDiff)) {
return;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Requeue pending controlled render when sync check fails

When a controlled unresolved update is pending, this branch returns immediately if canRenderDiffSynchronously(...) is false, but it does not call prepareDiffRender(...) to enqueue work for the current render options. That can deadlock the pending state after worker option changes: WorkerPoolManager.setRenderOptions() clears diff cache and triggers rerender(), this method exits here, and no new highlight task is scheduled for the pending diff, so the merge-conflict UI can stay stuck on the old state indefinitely until some unrelated render(...) call happens.

Useful? React with 👍 / 👎.

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.

1 participant