GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): scope session page errors by Brendonovich · Pull Request #34254 · anomalyco/opencode

Conversation

@Brendonovich

@Brendonovich Brendonovich commented Jun 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • Add an ErrorBoundary inside the session page main panel when new layout designs are enabled, so session load errors do not take down the tab shell.
  • Move target session route resolution into the session page module so target-route failures render inside the session panel frame.
  • Render known session-not-found errors with a stackless not-found panel instead of the generic stack trace error page.
  • Include the server name, missing session ID, and a Close Tab action in the not-found panel.
  • Style the session ID like markdown inline code and keep the server name as regular faint text.
  • Keep session tab metadata fetch failures local to the tab strip and render Unknown Session instead of hiding the tab.
  • Reset the boundary when switching session tabs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Brendonovich
fix(app): scope session page errors
4edaa41
@Brendonovich
Brendonovich requested a review from Hona as a code owner June 27, 2026 19:13
Brendonovich added 2 commits June 28, 2026 03:23
@Brendonovich
fix(app): gate session error boundary
22c587c
@Brendonovich
fix(app): show unknown session tabs
4524101
@andrei-hasna

andrei-hasna commented Jun 27, 2026

Copy link
Copy Markdown

Task-triggered merge review completed for PR #34254.\n\nValidation:\n- GitHub checks are green: check-compliance, check-standards, e2e linux/windows, nix-eval, typecheck, unit linux/windows.\n- Branch is fresh against dev: base ae53163, head 4524101.\n- Local merge-tree against origin/dev succeeded with no conflicts.\n- Clean temp worktree validation passed: app typecheck, targeted i18n/server-errors tests, focused lint with 0 errors, and app production build.\n- Independent adversarial reviewer found no merge blockers; residual risk is lack of dedicated UI regression coverage for the new session error fallback / Unknown Session tab behavior.\n\nMerge blocker:\n- Attempted squash merge pinned to reviewed head SHA 4524101, but GitHub rejected it: authenticated user andrei-hasna lacks MergePullRequest permission on anomalyco/opencode.\n\nNo files were mutated in the main checkout by this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andrei-hasna

andrei-hasna commented Jun 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Task-triggered merge review refreshed for PR #34254.

Current state checked on 2026-06-28:

  • PR is open, not draft, MERGEABLE / CLEAN.
  • Head: 4524101 (session-error-boundary).
  • Current dev: 61a7f6d, newer than PR metadata base ae53163.
  • GitHub checks are passing: check-compliance, check-standards, e2e linux/windows, nix-eval, typecheck, unit linux/windows.
  • Local synthetic merge into current dev succeeded with no conflicts.
  • Local validation in /tmp/opencode-pr34254.YX5OEY passed: bun run --cwd packages/app typecheck; bun test --preload ./packages/app/happydom.ts ./packages/app/src/utils/server-errors.test.ts (12 pass); focused oxlint on changed files (0 errors); bun run --cwd packages/app build.
  • Secret-pattern scan on the PR diff found no configured token patterns.
  • Independent adversarial reviewer found no merge blockers.

Merge blocker:

  • Pinned squash merge attempt failed: GraphQL reported that andrei-hasna does not have permission to execute MergePullRequest. The authenticated account has READ permission on anomalyco/opencode, so this worker cannot complete the merge.

No files were mutated in the main checkout by this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andrei-hasna

andrei-hasna commented Jun 28, 2026

Copy link
Copy Markdown

Task-triggered merge review refreshed for PR #34254 on 2026-06-28.

Current state:

  • PR is open, not draft, and GitHub reports MERGEABLE / CLEAN.
  • Head: 4524101 (session-error-boundary).
  • Current dev: dfeb1b5.
  • GitHub checks are passing: check-compliance, check-standards, e2e linux/windows, nix-eval, typecheck, unit linux/windows.
  • Local synthetic merge into current origin/dev succeeded with no conflicts.
  • Local validation in a clean temp worktree passed:
    • bun run --cwd packages/app typecheck
    • bun test --preload ./packages/app/happydom.ts ./packages/app/src/utils/server-errors.test.ts (12 pass)
    • focused oxlint on changed files (0 errors, existing warnings only)
    • bun run --cwd packages/app build
  • Secret-pattern scan on the PR diff found no configured token patterns.
  • Independent adversarial verifier found no merge blockers.

Residual non-blocking risk:

  • titlebar-tab-strip.tsx currently treats any session.resolve() failure as missing, so a transient network/server/auth failure can show Unknown Session. Tracked separately as follow-up; not a merge blocker for this PR.

Merge blocker:

  • The authenticated account andrei-hasna has READ permission on anomalyco/opencode; GraphQL reports viewerCanUpdate=false and viewerCanMergeAsAdmin=false. This worker cannot merge PR fix(app): scope session page errors #34254.

No files were mutated in the main checkout by this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andrei-hasna

andrei-hasna commented Jun 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

OpenLoops merge review for task ae9bc65e is ready but blocked by permissions.

Validation completed on current dev:

  • Live PR state: OPEN, MERGEABLE/CLEAN, all GitHub checks green.
  • PR head: 4524101. Current dev checked locally: 58ba99e. The branch is behind dev, but a local no-commit merge onto current dev applied cleanly.
  • bun install --frozen-lockfile passed.
  • From packages/app: bun run typecheck passed.
  • Focused app unit tests passed: bun test --preload ./happydom.ts ./src/utils/server-errors.test.ts ./src/i18n/parity.test.ts ./src/components/titlebar-tab-gesture.test.ts ./src/context/tabs.test.ts (18/18).
  • bun run build passed with existing Vite chunk/dynamic-import warnings.
  • Production first-navigation benchmark was run before and after this PR with PLAYWRIGHT_WORKERS=1 bunx playwright test --config e2e/performance/playwright.config.ts timeline/first-navigation-benchmark.spec.ts; both runs passed 3/3 with zero blank/unknown samples.
  • Read-only adversarial review: PASS, no merge blockers. Residual risk noted: the new-layout panel boundary will also render inline fallback for future programming errors inside the panel.
  • Staged secret scan and git diff --check passed.

Merge attempt used a head-SHA guard and failed only because active GitHub user andrei-hasna lacks MergePullRequest permission on anomalyco/opencode:

gh pr merge 34254 --repo anomalyco/opencode --squash --subject "fix(app): scope session page errors" --body "" --match-head-commit 4524101689fc164d1b0138d278815e07981f4ff5

Follow-up todos task 445aa140-3781-4b9b-a765-4d092807de36 tracks merge by an authorized GitHub identity. Please rerun a final live status/head check before merging if the head changes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Brendonovich added 9 commits June 30, 2026 20:41
@Brendonovich
Merge remote-tracking branch 'origin/dev' into session-error-boundary
5d20ebe
@Brendonovich
fix(app): contain target session errors
9a88317
@Brendonovich
fix(app): simplify session not found fallback
bc1513d
@Brendonovich
fix(app): improve session not found fallback
9e167fa
@Brendonovich
fix(app): soften missing session id styling
9d8a9c3
@Brendonovich
fix(app): show server on missing session fallback
e00de49
@Brendonovich
fix(app): refine missing session details
edd65fc
@Brendonovich
change text size
733c45c
@Brendonovich
Merge remote-tracking branch 'origin/dev' into session-error-boundary
bec0557
# Conflicts:
#	packages/app/src/pages/error.tsx
@Brendonovich
Brendonovich merged commit 5e1a1ed into dev Jul 1, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Brendonovich
Brendonovich deleted the session-error-boundary branch July 1, 2026 07:04
This was referenced Jul 2, 2026
fix(app): resolve target session lineage outside router transition #34838
Merged
fix(app): keep terminal mounted when switching session tabs in a workspace #34852
Merged
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@Brendonovich
fix(app): scope session page errors (#34254)
f0baeed
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@Brendonovich
fix(app): scope session page errors (anomalyco#34254)
adb73e8
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@Brendonovich
fix(app): scope session page errors (anomalyco#34254)
09d20f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Hona Hona Awaiting requested review from Hona

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Brendonovich @andrei-hasna
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.