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(opencode): backward compatibility for old sessions with string an… by bagatka · Pull Request #7470 · anomalyco/opencode

Conversation

@bagatka

@bagatka bagatka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

Fixes: #7454 #7438 #7433 #7392

What does this PR do?

  • Fixes a crash when opening sessions created before the multi-select question feature (feat(question): support multi-select questions #7386)
  • Adds backward compatibility for both old (string) and new (string[]) answer formats in the question tool

How did you verify your code works?

Created a session with question answers using an older version of opencode (before 1.1.8), then updated to 1.1.8 and confirmed the crash when opening the session. After checking out this branch, the session loads correctly.

Sorry, something went wrong.

Uh oh!

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

All reactions
@bagatka
fix(opencode): backward compatibility for old sessions with string an…
f918bcd
…swers
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

No duplicate PRs found

All reactions

Sorry, something went wrong.

Uh oh!

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

@bagatka bagatka mentioned this pull request Jan 9, 2026
opentui: fatal: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined) #7392
Closed
@bagatka bagatka closed this Jan 9, 2026
@bagatka
bagatka deleted the fix/string-answers-backward-compatibility branch January 9, 2026 16:28
@bagatka
bagatka restored the fix/string-answers-backward-compatibility branch January 9, 2026 16:28
@bagatka bagatka reopened this Jan 9, 2026
@bagatka
Merge branch 'dev' into fix/string-answers-backward-compatibility
38709a7
@bagatka bagatka closed this Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

opentui: fatal: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined)

Uh oh!

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

1 participant

@bagatka
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.