Skip to content

security(tea): migrate wish v1.4.7 -> charm.land/wish/v2 v2.0.6 (#17343 slice) - #17389

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900cf-17343-tea-wish-v2
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900cf-17343-tea-wish-v2

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Slice of #17343 (pkgs/tea only; chat/launcher/identity slices remain, so this does not close the issue).

pkgs/tea imports wish only for its bubbletea + logging middleware and never registers the SCP middleware — its Dependabot alert #330 (GHSA-xjvp-7243-rg9h / CVE-2026-41589) is dependency-presence only. The v1 line has no patched release (v1.4.8 is docs-only and must not be used as remediation), so the alert clears only by migrating to the v2 line, per the slicing lane 0900-AN recorded on #17343.

Changes (pkgs/tea only):

  • github.com/charmbracelet/wish v1.4.7 -> charm.land/wish/v2 v2.0.6; charm.land/ssh v0.4.3; charm.land/log/v2 v2.0.1 replaces github.com/charmbracelet/log.
  • Bubbletea v1.3.10 -> charm.land/bubbletea/v2 v2.2.0: model View() returns tea.View (alt screen is now a view property, not a program option), tea.KeyMsg -> tea.KeyPressMsg, and wish v2's MiddlewareWithProgramHandler no longer takes a termenv profile (drops the termenv import).

Verification (lane 0900-CF):

  • go build ./... and go vet ./... clean in pkgs/tea at this head.
  • Smoke test: built binary starts, logs the listen line, answers an SSH banner (SSH-2.0-Go) on :23234, and shuts down cleanly on SIGTERM.
  • github.com/charmbracelet/wish no longer appears in pkgs/tea go.mod/go.sum.

Refs #17343

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T17:52:35Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/wt-0900-CF-17343",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/wt-0900-CF-17343",
      "repo": "developing-today/code",
      "branch": "xaltha/0900cf-17343-tea-wish-v2",
      "sha": "2d75e004a21b6214bcc2d62e38155917d9adf3ce"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

… slice)

pkgs/tea only imported wish for its bubbletea + logging middleware (no SCP
handler), so its Dependabot alert #330 (GHSA-xjvp-7243-rg9h / CVE-2026-41589)
is dependency-presence only — but the v1 line has no patched release, so the
alert clears only by leaving v1. Migrate to the charm v2 stack:
charm.land/wish/v2 v2.0.6, charm.land/bubbletea/v2 v2.2.0, charm.land/ssh
v0.4.3, charm.land/log/v2. Bubbletea v2 port of the demo model: View() now
returns tea.View (alt screen moved from a program option to the view),
tea.KeyMsg -> tea.KeyPressMsg, and wish's MiddlewareWithProgramHandler no
longer takes a termenv profile. Verified: go build + go vet clean; server
smoke-tested (binds :23234, answers SSH-2.0 banner, clean shutdown).
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 33927aab-9f64-46ec-984e-96566fe6abbd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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