Skip to content

fix(sdk): clarify retired GitHub publication diagnostics - #169750

Merged
steipete merged 3 commits into
mainfrom
dbasync/followups
Oct 12, 2026
Merged

steipete merged 3 commits into
mainfrom
dbasync/followups

Conversation

@steipete

@steipete steipete commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Deprecated GitHub publication methods currently warn that their legacy contract remains supported, then immediately fail with migration guidance. This resolves the diagnostic follow-up from #169581 without restoring synchronous publication work.

User Impact

Plugin authors get an accurate warning and migration instructions. Publication methods still fail as before; personal OAuth cancellation and disconnection retain their existing synchronous compatibility behavior. No API signature, authorization, SQL, schema, retention, update, plugin-loading, or service-lifecycle change.

Why This Change Was Made

All thirteen retired publication entry points now supply the existing warning helper's compatibility description. The compatibility registry and migration policy distinguish these fail-fast methods from supported placement and OAuth adapters. One regression exercises the retired coordinator entry point and verifies both the warning text and its existing per-plugin budget.

Follow-up triage

Reviewed bodies and follow-up/limitations comments on all 70 merged dbasync/ PRs returned by the requested author/date query, checked current source, and compared open lanes. Repeated limitations are grouped below. a = small unowned fix; b = active owner; c = design/proof decision; resolved = already fixed.

Source PR(s) Follow-up Class Action
#169581 Publication warnings/registry promise support immediately before rejection a Fixed here; preserve OAuth compatibility.
#169227 Memory current-turn reads ignore captured version/admitted-prefix anchor bounds b Leave to phasee4 activation.
#169573 Memory actor error serialization loses work-start invalidation code b Leave to phasee4.
#169573 Redundant skills preparation check and catalog revocation/replacement regression b Leave to active skills/catalog T1 cutover.
#169573, #169594 Obsolete stale-version append retry test b Leave to active test-cost/actor lanes; preserve unknown-outcome proof.
#169315, #169579, #169594 Cursor generation and Workshop notice semantics after prompt projection c Transcript owner must settle metadata-rewrite identity semantics.
#169315 PostgreSQL version-26 agent migration c Implement with the future PostgreSQL agent runtime; current proof is DDL parity.
#169610 Expand conservative T1-compat classification b Leave to t1compat2; require deprecated-only reachability proof.
#169579 Remaining snapshot/SDK/worktree cutover b Leave to t1cut-s8 and related lanes.
#169164 Deep status says vector unavailable before a database exists b Leave to t1cut-s1-memory; prefer an isolated capability probe.
#169122, #169111, #169086 Config-health, placement initialization, verbose callback, and auth batch/rollback work b Leave to T1, snapshot, and compatibility owners.
#168954 and preceding GitHub stack Released status-reader signature reconciliation b Leave to t1compat2; no restored main-thread reads here.
#168719 Coalesce optional preview backfills without delaying summaries b Leave to active projection/smallfold2 work.
#168602 Discovery can precede the first schema commit b Leave to first-turn/admission owner; no extra handshake.
#168592 Native-incognito queued activity omitted when actor declines b Leave to phasee4; no competing native owner.
#169005 Inherited private-app worker allowlist fixture failure b Leave to worker/test-cost owner.
Multiple session/T1 PRs Remaining native/incognito and released synchronous kernels b Leave to phasee4, t1cut-*, and compatibility lanes.
#169140 Nonempty live-Gateway media-maintenance proof c Dedicated runtime proof; existing worker-backed regression remains.
#169033 Extra collaboration/workshop/card SQL-harness scenarios c Harness-owner enhancement; shared harness unchanged.
#168954, #168951 Conditional cheap publication-worker prewarming c Measure startup pool reuse before adding preload.
#168954, #168953, #168951, #168857, #168855, #168592 Additional real-owner revocation, claim, and accepted-effect proof c Dedicated proof work; no demonstrated bypass requiring new guards.
#168607, #168539 Turnover after accepted completion/submission proof c Retain accepted bookkeeping edge; no new synchronization.
#169089 Native menu startup depends on remote skill preparation c Decide Gateway-only menu behavior at the menu boundary.
#168486 Reef's advertised old host floor predates required keyed-store V2 c Decide supported floor or maintained old-host adapter explicitly.
#169124, #169058, #169043, #169340, #169627, #168719, #168992 Custody-ID, retained-fact, Unicode, send-fixture, SQL comparison, projection, and reservation-fixture findings resolved Source already contains the repairs; no duplicate changes.

Evidence

  • Local v6 checks: changed-file oxfmt, oxlint, and git diff --check.
  • Regression: src/gateway/github-publication.test.ts, through the existing coordinator fixture; passed in CI job 114730622716. The new regression took 618 ms; its shard passed 24 tests in 24.62 seconds. Local execution of the changed test was deferred to CI under v6.
  • Codex autoreview: one round, scoped-clean at P0–P2; no accepted/actionable findings.
  • First CI run 38222434280 failed on the inherited missing Bun cleanup-socket suppression inventory entry, cancelling later static gates. Main repaired it in 64f11ced232c7; the branch now integrates that repair without a duplicate change.
  • Focused diagnosis: pnpm test test/scripts/type-suppression-inventory.test.ts --maxWorkers=1 on the integrated head passed three cases and timed out on the full repository scan at 120 seconds (336.02 seconds command wall time). This is not a passing assertion replay; CI owns the completed proof. No new tests or timeouts were added.
  • Completed ClawSweeper review identified no actionable defect; no re-review requested.
  • Second CI run 38224981555, head 188a702238a7e8f79b91237acf8a8be00cb0f443, passed changed-owner tests, lint, source contracts/Knip, architecture/Madge, and ratchets, but failed on inherited nullable fixture-row dereferences in src/config/sessions/session-entry-patch.authority.test.ts:41,56. Current main had the same file and nullable fixture contract; the first-turn PR had the same type failure. Fixed directly on main in 684874efa1c52a113a63b1056e2349bd060bdd0d with two row-matching assertions (format/lint passed), preserving the seeded and committed labels. Some remaining type jobs were cancelled, so no static success is claimed for them. Integrated this repair in head 5503575db9f155b231b7922f357e2137377d402f.
  • Final exact-head CI 38227139311 passed: production and test types, lint, source contracts/Knip, architecture/Madge, T1/dialect/worker ratchets, selected tests, and the required CI/security gates. No inherited-failure bypass is needed for landing.
  • Landing uses the authorized head-pinned REST squash route because native provisioning requires the off-limits canonical checkout.
Measure Before After
T1 calls in changed publication diagnostic methods 0 0
SQL statements/worker requests in those methods 0 / 0 0 / 0
Warmed-turn SQL measurement Not run Not applicable: diagnostic-only, no statement-reducing change

No SQL checks or reads were removed, so there are no newly accepted bookkeeping edges. No update cell applies. No SDK exports or signatures changed. LOC: production +16/−3 (net +13); tests +23/−0; docs +8/−4.

Describe fail-fast publication methods accurately while retaining OAuth compatibility guidance. Add a coordinator warning regression; SQL and runtime ownership are unchanged. Follow-up to #169581.
@clawsweeper

clawsweeper Bot commented Oct 12, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: XS labels Oct 12, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR corrects warnings and migration documentation for retired GitHub publication methods.

Example: Plugin publication-compat-diagnostic calls deferOrphanedRequests().

  • Before: The warning promises continued support, then the method throws migration guidance.
  • After: The warning explains that publication work is retired and names deferOrphanedRequestsAsync; the existing rejection remains.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, correct, owner-directed repair with coordinator-boundary regression coverage; evidence remains harness-based.
Proof confidence 🦐 gold shrimp (3/6) The supplied coordinator regression exercises retired-method warning behavior through the production owner with warning emission captured; no shipped-entry-point demonstration is supplied, and the ordinary contributor proof gate does not apply to this maintainer-authored follow-up.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Plugin authors receive a continued-support promise immediately before a retired publication method rejects.
Reason: The feature owner explicitly requested this follow-up, and the focused patch resolves it without restoring retired execution.

Merge readiness

✅ Ready for maintainer review

This PR completes an owner-requested diagnostic follow-up that current main still needs; no actionable defect was found.

Priority: P3
Reviewed head: 5503575db9f155b231b7922f357e2137377d402f

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: No shipped Gateway warning capture or executed base-versus-head regression comparison is supplied; this maintainer-authored diagnostic follow-up is outside the ordinary contributor proof gate.
Agent review details

How this fits together

Plugin calls enter Gateway publication coordinators, which emit bounded SDK warnings and reject retired operations with replacement guidance.

flowchart LR
  A[Plugin caller] --> B[Publication coordinator]
  B --> C[SDK warning helper]
  C --> D[Deprecation warning]
  B --> E[Migration error]
  A --> F[Awaited replacement]
  F --> G[Publication worker]
Loading

Technical review

Best possible solution:

Keep the existing fail-fast publication contract and provide accurate warnings and migration guidance.

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

Source establishes the contradictory warning followed by rejection on current main; target code was not executed during this read-only review.

Is this the best way to solve the issue?

Using the existing helper's compatibility override fixes the diagnostic at its owner while preserving warning budgets, rejection behavior, and OAuth adapters.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 97775a426a35.

Provenance checked

  • Publication warnings and retirement keeps the original intent (refactor(gateway): finish GitHub publication worker cutover #169581: Complete worker ownership and retire native publication execution while retaining migration-discovery signatures.)
  • Compatibility registry and migration guidance changes intended behavior with a stated reason (aec8993: Document the staged awaited-publication migration and retained OAuth compatibility; the subsequent cutover explicitly requested corrected publication diagnostics.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit aec8993 adds src/gateway/github-publication.ts:519 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: aec89935b8f4; files: src/gateway/github-publication.ts)
  • Shakker: Raw commit 65e49fa adds src/gateway/github-publication.ts:334 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 65e49fa2008c; files: src/gateway/github-publication.ts)

PR surface

Source +13, Tests +23, Docs +4. Total +40 across 7 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 16 3 +13
Tests 1 23 0 +23
Docs 2 8 4 +4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 47 7 +40

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This repairs plugin-author diagnostic confusion without changing publication execution.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-12T08:19:21.337Z sha d6b6424 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-12T08:47:05.249Z sha 188a702 :: needs maintainer review before merge. :: none

Reviewed October 12, 2026, 5:15 AM ET / 09:15 UTC (Revision 3).

@steipete
steipete merged commit af4a47a into main Oct 12, 2026
126 checks passed
@steipete
steipete deleted the dbasync/followups branch October 12, 2026 09:17
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
…9750)

Retired GitHub publication methods warned that their legacy contract remained supported immediately before failing. Supply accurate migration diagnostics at all retired entry points and align compatibility registry and policy text, preserving the separate personal OAuth synchronous guarantee.

Adds a coordinator regression for the failure, replacement warning, and per-plugin warning budget. SQL, worker ownership, authority, and API signatures are unchanged. Follow-up to openclaw#169581; triage of the 70 merged campaign PRs is recorded in openclaw#169750.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant