Skip to content

fix(app): stabilize timeline error boundary - #20

Draft
maschwenk wants to merge 1 commit into
v2-url-prefixfrom
fix-stale-show
Draft

maschwenk wants to merge 1 commit into
v2-url-prefixfrom
fix-stale-show

Conversation

@maschwenk

@maschwenk maschwenk commented Sep 11, 2026

Copy link
Copy Markdown

Issue for this PR

Related to anomalyco#39991

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The timeline error boundary used callback-form Show without keyed. If the query error cleared during navigation, the callback could call its disposed accessor and crash with Stale read from Show instead of surfacing the original query failure.

Adding keyed passes the resolved Error directly to the callback. The boundary can now throw the original error safely even if the condition changes during task or session teardown.

This targets v2-url-prefix because that is the integration branch pinned by Forge V2.

How did you verify your code works?

Prettier and oxlint pass for the changed file. The app package typecheck and the repository pre-push typecheck pass. The production failure was captured while switching Forge V2 tasks before this change.

Screenshots / recordings

Not applicable. This prevents an intermittent renderer crash without changing the rendered UI.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@maschwenk maschwenk added the coder-task-generated PR generated by an automated Coder/Forge task label Sep 11, 2026
@github-actions

Copy link
Copy Markdown

The following comment was made by an LLM, it may be inaccurate:

@github-actions

Copy link
Copy Markdown

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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

Labels

coder-task-generated PR generated by an automated Coder/Forge task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant