anomalyco / anomalyco/opencode

TUI crash: undefined is not an object (evaluating 'info.time.created')

Open
#41,397 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 9, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Environment
  • OpenCode version: local
  • OS: Linux 7.0.12-wqfix (x64)
  • Terminal: Ghostty 1.3.1
Description

The OpenCode TUI crashed while normalizing session tabs. The session-title fallback attempted to access info.time.created, but info was undefined.

Error
undefined is not an object (evaluating 'info.time.created')
Relevant stack trace
at fallback (/home/tim/projects/opencode/packages/util/src/session-title-fallback.ts:35:72)
at <anonymous> (/home/tim/projects/opencode/packages/tui/src/context/session-tabs.tsx:70:18)
at reduce (native)
at normalize (/home/tim/projects/opencode/packages/tui/src/context/session-tabs.tsx:66:24)
at <anonymous> (/home/tim/projects/opencode/packages/tui/src/context/session-tabs.tsx:128:20)
at <anonymous> (/home/tim/projects/opencode/packages/tui/src/context/data.tsx:885:13)
at processTicksAndRejections (native)
Reproduction

This report was generated from the OpenCode crash screen. The exact actions leading to the crash are currently unknown.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.