Repository navigation
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 intoNov 30, 2026
Merged
Conversation
… 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).
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
xaltha/0900cf-17343-tea-wish-v2
branch
November 30, 2026 18:00
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.1replacesgithub.com/charmbracelet/log.charm.land/bubbletea/v2 v2.2.0: modelView()returnstea.View(alt screen is now a view property, not a program option),tea.KeyMsg->tea.KeyPressMsg, and wish v2'sMiddlewareWithProgramHandlerno longer takes a termenv profile (drops the termenv import).Verification (lane 0900-CF):
go build ./...andgo vet ./...clean in pkgs/tea at this head.SSH-2.0-Go) on :23234, and shuts down cleanly on SIGTERM.github.com/charmbracelet/wishno 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-botwith what you need.