Skip to content

fix(plugins): clarify dated SDK migration notices - #200932

Merged
RomneyDa merged 1 commit into
openclaw:mainfrom
hehuang139:codex/fix-overdue-sdk-notices
Nov 26, 2026
Merged

RomneyDa merged 1 commit into
openclaw:mainfrom
hehuang139:codex/fix-overdue-sdk-notices

Conversation

@hehuang139

@hehuang139 hehuang139 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #190536

What Problem This Solves

Plugin notices can say an API “keeps working until” a date that has already passed, even though the plugin is still loaded. A November 17 report on 2026.11.5 confirms the outdated notice appears on stable. A 2026.11.10 report shows the same wording for Codex (Oct 1) and Groq (Sep 30) in doctor --lint --all and the post-update Doctor summary, even with both plugins at their latest published versions.

User Impact

Dated notices show the migration date and recommend checking for a plugin update. The date remains visible without implying that OpenClaw automatically disables the plugin or removes the API on that day. Workspace-status warnings are still counted; this change corrects their wording, not their severity or the availability of plugin updates.

Why This Change Was Made

Use the same wording in the CLI and the Control UI. The date, details link, undated notices, and plugin behavior stay the same.

Evidence

  • On Linux with Node 24, openclaw plugins inspect sdk-compat-proof --runtime loaded the same local fixture importing openclaw/plugin-sdk/cli-runtime on both builds. The baseline said “retire on Oct 1, 2026. It keeps working until then”; the fix printed “Migration date: Oct 1, 2026. Check for a plugin update.”
  • An independent node --test probe recorded SDK usage for the two reported dates and ran the production notice builder: 2 failed on 2cb81bbb38a1 (both printed the old promise) and 2 passed with the PR's byte-matched builder (both printed the migration date without the promise). This probes the shared formatter, not a full update.
  • Source tracing on v2026.11.10 and current main confirms that core/doctor/workspace-status uses the shared compatibility message for doctor --lint --all; the update Doctor records the same workspace-status finding text as a warning for the update summary. Neither consumer generates its own retirement wording.
  • The Control UI browser test used the built app in Chromium with a fixture Gateway. It verified the text comes from the structured date, the Details link remains available, and no enable/disable request is sent. The two focused test files passed all 18 tests; the browser test and i18n verification also passed.

The screenshots use the same installed-plugin row on November 18, 2026, comparing e93a426be32 with this change.

Clean comparison

Before

Before: enabled plugin notice says the APIs keep working until the elapsed migration date

After

After: enabled plugin notice displays the migration date and update advice

Annotated comparison

Before

Before: past-date availability wording highlighted

After

After: date and update advice highlighted

Core and Control UI typechecks, changed-file lint, and formatting passed.

@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: ready, awaiting a maintainer decision.

What this changes

The PR replaces dated SDK retirement promises with migration-date wording in CLI and Control UI notices.

Example: On November 18, 2026, an enabled plugin uses an API dated October 1, 2026.

  • Before: The notice says the APIs retire on Oct 1, 2026 and the plugin keeps working until then.
  • After: The notice says: Uses older OpenClaw APIs. Migration date: Oct 1, 2026. Check for a plugin update.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A small, well-supported wording repair with no correctness findings, held at C pending reconciliation of the earlier product judgment.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected Chromium before/after screenshots show the built Control UI rendering the corrected elapsed-date notice with enabled state and Details retained; the body also records real runtime CLI inspection before and after on Linux with Node 24.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Working plugins display a promise that they keep working until a date already in the past.
Reason: The correction is narrow and supported by affected-release evidence, but the recorded rejection of the earlier repair requires a maintainer to assess the newer evidence.

Merge readiness

⏳ Ready, awaiting maintainer decision

This PR provides a focused correction for misleading notices still present on main, with no actionable code findings; the earlier maintainer rejection of this work needs reconciliation with the newer affected-user report.

Priority: P2
Reviewed head: e1f94d4b85d4ee65dd24b45a036fb47018a2fcd0
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Does the stable 2026.11.5 affected-user report satisfy the evidence requirement recorded when the earlier wording repair was closed?
  • Recommendation: Accept the newer evidence: Review this smaller wording-only repair as a confirmed diagnostic correction while retaining normal CI gates.
  • Why: A collaborator explicitly rejected the earlier repair pending confirmed user harm; the newer report strengthens the case, but no subsequent maintainer acceptance was found.

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: An executed red-on-base regression run is not recorded; the changed assertions directly contradict the inspected base wording.
Agent review details

How this fits together

Recorded deprecated SDK imports and calls feed structured compatibility notices; CLI reports display their message, while Control UI renders localized copy from the structured date.

flowchart LR
  A[Plugin imports and calls] --> B[Usage observations]
  B --> C[Compatibility notice builder]
  C --> D[CLI reports]
  C --> E[Gateway plugin inventory]
  E --> F[Localized Control UI notice]
Loading

Technical review

Best possible solution:

If the newer report satisfies the earlier maintainer concern, land this focused wording correction through the existing notice owners.

Do we have a high-confidence way to reproduce the issue?

Current-main source unconditionally inserts elapsed dates into future-tense notices, matching the stable-release report; this read-only review ran no reproduction.

Is this the best way to solve the issue?

Replacing the two existing dated strings is the smallest complete presentation fix and avoids new clock-dependent branches or changes to compatibility policy.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7ff0d902b940.

Provenance checked

  • Dated backend and localized UI notices changes intended behavior with a stated reason (d795875: Expose observed deprecated SDK usage through calm informational notices with dates and migration guidance, without changing plugin execution.)
  • Absence of compatibility notices from plugin details keeps the original intent (980990d: Remove legacy SDK notices from plugin details while preserving inventory notices and actionable errors.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source 0, Tests +2. Total +2 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 2 2 0
Tests 3 20 18 +2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 22 20 +2

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Root-cause cluster

Relationship: same_root_cause
Canonical: #190536
Summary: The linked issue owns the elapsed-date wording defect; an earlier repair was closed unmerged and does not supersede this PR.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Misleading compatibility diagnostics create operator confusion, while the affected plugins continue working.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 17, 2026, 9:48 PM ET / November 18, 2026, 02:48 UTC.

@RomneyDa
RomneyDa merged commit 6c51faf into openclaw:main Nov 26, 2026
143 of 144 checks passed
vincentkoc added a commit that referenced this pull request Nov 26, 2026
…irement-rule

* origin/main: (172 commits)
  test(gateway): expect a revoked person's Goal retry to be hidden as not found (#205698)
  fix: keep browser disabled when only hardening relay authentication (#203137)
  fix: recover Linux stream automations after command-anchor crashes (#203149)
  fix(whatsapp): identify voice-note captions as text in delivery receipts (#205381)
  fix(test): unblock restart-auth plugin and worker publication qualification (#205679)
  chore(ui): refresh control ui locales (#205691)
  fix: reduce memory during SQLite usage refresh (#201064)
  fix(plugins): readmit native captures with a dangling host link
  chore(i18n): refresh native locales (#205680)
  fix(update): hash SQLite lock bytes as zeros so Windows exclusion cannot fail verification (#205668)
  fix(skill-workshop): skip the skill diet for skills with Markdown outside support directories (#204881)
  fix(plugins): clarify dated SDK migration notices (#200932)
  fix: keep the resident launcher when reinstalling Gateway (#205655)
  fix: show the whole reply when you reopen a TUI session (#200455)
  test(ui): wait for restored speech player authorization (#199502)
  feat: let agents post approved GitHub comments (#204301)
  fix(agents): honor imageMaxDimensionPx at the provider and CLI image handoffs (#205663)
  chore(ui): refresh control ui locales (#205664)
  fix(google): preserve playback when Google Live splits audio into parts (#205364)
  fix: show named characters in exported session messages (#205362)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 26, 2026
tideclaw-bot pushed a commit that referenced this pull request Nov 26, 2026
(cherry picked from commit 6c51faf)
Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 26, 2026
(cherry picked from commit 6c51faf)
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin compatibility notices cite retirement dates that have already passed, and still say "keeps working until then"

2 participants