Skip to content

fix: stop requiring retired runtime dependency spans - #81

Merged
vincentkoc merged 1 commit into
mainfrom
fix/retire-runtime-deps-diagnostics-20260731
Jul 31, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/retire-runtime-deps-diagnostics-20260731

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 31, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where current OpenClaw validation surfaces reported missing diagnostics because Kova still required retired runtime dependency staging spans.

Why This Change Was Made

Current OpenClaw installs plugin dependencies during explicit install and update flows and reports startup work through plugins.load. This change moves current Kova surfaces and profiles to that contract while retaining the historical runtime-dependency scenario and parsers for explicit old-release investigations.

The matching OpenClaw workflow cleanup is tracked in
openclaw/openclaw#116760 so release-shaped performance
coverage stays aligned.

User Impact

Kova reports stop showing false runtimeDeps.stage and plugins.runtimeDeps diagnostic gaps on current OpenClaw builds. Historical reports remain parseable.

Evidence

@clawsweeper clawsweeper Bot added 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. P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 6:10 AM ET / 10:10 UTC.

ClawSweeper review

What this changes

This PR updates Kova’s current diagnostics, scenarios, surfaces, profiles, fixtures, self-checks, and snapshots to stop requiring retired runtime-dependency spans while preserving legacy artifact support.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this member-authored draft PR open for explicit maintainer review. The available diff consistently moves current Kova contracts from retired runtime-dependency staging spans to plugins.load while retaining a legacy scenario and parser path, but it also removes release-profile coverage and needs confirmation that this reduced coverage matches the intended OpenClaw release contract.

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

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch appears internally consistent in the supplied diff, but its broad release-profile coverage change still needs maintainer confirmation and independent current-target evidence.
Proof confidence 🌊 off-meta tidepool Not applicable: This PR is authored by a repository member, so the external-contributor real-behavior-proof gate does not apply; its reported checks remain supplemental validation.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This PR is authored by a repository member, so the external-contributor real-behavior-proof gate does not apply; its reported checks remain supplemental validation.
Evidence reviewed 5 items Consistent current-versus-legacy split: The supplied PR diff replaces current required spans with plugins.load in the timeline collector and current surfaces, but retains runtimeDeps.stage in the collector and renames the dedicated scenario and surface as legacy-only.
Release coverage changes: The supplied diff removes bundled-runtime-deps entries and thresholds from release, smoke, diagnostic, exhaustive, and web-release profiles, so this is a release-contract change rather than a collector-only cleanup.
Focused validation added: The PR adds self-check coverage for legacy runtime-dependency isolation and current-profile diagnostics contracts, and updates fixtures and snapshots to include plugins.load.
Findings None None.
Security None None.

How this fits together

Kova consumes OpenClaw diagnostic timelines and scenario results, then compares them with surface and release-profile contracts to produce validation reports. This PR changes which startup/plugin diagnostics current release-shaped validation requires, while keeping historical runtime-dependency evidence parseable.

flowchart LR
  A[OpenClaw diagnostic timeline] --> B[Kova timeline collector]
  B --> C[Current surface contracts]
  B --> D[Legacy runtime-dependency parser]
  C --> E[Release and smoke profiles]
  D --> F[Historical investigations]
  E --> G[Kova validation reports]
Loading

Decision needed

Question Recommendation
Should Kova’s current release and smoke profiles permanently stop exercising bundled-runtime-deps, with legacy dependency-staging checks limited to explicitly historical targets? Adopt the current/legacy split: Confirm that supported current OpenClaw releases use plugins.load, then retain bundled-runtime-deps only for explicitly historical investigations.

Why: The patch intentionally changes the breadth of release-shaped OpenClaw validation; code review can verify consistency, but only maintainers can set the permanent coverage policy.

Before merge

  • Resolve merge risk (P1) - Merging removes bundled-runtime-deps from current release-shaped profiles, so a current OpenClaw regression that still manifests through dependency staging would no longer be exercised by those profiles.
  • Resolve merge risk (P1) - The available review material does not independently prove that all supported current OpenClaw runtime targets emit plugins.load in every surface now requiring it.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Validation-contract scope 26 files changed; 247 additions, 345 deletions The patch changes collector behavior, current and legacy surfaces, five profiles, documentation, and snapshots rather than a single expected-span list.
Current smoke plan 12 to 11 planned entries The PR removes one bundled-runtime-deps coverage entry from the smoke matrix.

Merge-risk options

Maintainer options:

  1. Confirm the release-profile boundary (recommended)
    Before merge, document or demonstrate that supported current OpenClaw targets use plugins.load and that the removed scenario is intentionally historical-only.
  2. Retain a non-blocking compatibility check
    Keep one current-profile observation of dependency-staging signals if maintainers want early warning without making retired spans a hard contract.

Technical review

Best possible solution:

Retain legacy runtime-dependency parsing for historical targets, but land the current-profile change only after confirming with release-shaped OpenClaw evidence that plugins.load is the supported diagnostic contract for each affected startup, upgrade, and browser surface.

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

No high-confidence live reproduction was independently established in this review because the read-only checkout commands were blocked. The supplied fixtures, current-surface expectations, and added self-checks make the stale-contract path source-reproducible with medium confidence.

Is this the best way to solve the issue?

Unclear. The current/legacy split is a narrow maintainable fix if plugins.load is the documented supported diagnostic signal across affected release targets; the remaining question is the maintainer-owned release-coverage boundary, not a demonstrated code defect.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 8c5b9ff6fd63.

Labels

Label changes:

  • add P2: This is a bounded validation-contract correction with potential release-coverage impact, not an active runtime outage.
  • add merge-risk: 🚨 compatibility: Current release and smoke profiles stop requiring an existing scenario and diagnostic span, which may change what regressions are detected for supported upgrades.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This PR is authored by a repository member, so the external-contributor real-behavior-proof gate does not apply; its reported checks remain supplemental validation.

Label justifications:

  • P2: This is a bounded validation-contract correction with potential release-coverage impact, not an active runtime outage.
  • merge-risk: 🚨 compatibility: Current release and smoke profiles stop requiring an existing scenario and diagnostic span, which may change what regressions are detected for supported upgrades.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This PR is authored by a repository member, so the external-contributor real-behavior-proof gate does not apply; its reported checks remain supplemental validation.

Evidence

What I checked:

  • Consistent current-versus-legacy split: The supplied PR diff replaces current required spans with plugins.load in the timeline collector and current surfaces, but retains runtimeDeps.stage in the collector and renames the dedicated scenario and surface as legacy-only. (src/collectors/timeline.mjs:9, 1480436f80b5)
  • Release coverage changes: The supplied diff removes bundled-runtime-deps entries and thresholds from release, smoke, diagnostic, exhaustive, and web-release profiles, so this is a release-contract change rather than a collector-only cleanup. (profiles/release.json:140, 1480436f80b5)
  • Focused validation added: The PR adds self-check coverage for legacy runtime-dependency isolation and current-profile diagnostics contracts, and updates fixtures and snapshots to include plugins.load. (src/selfcheck.mjs:1178, 1480436f80b5)
  • PR-provided validation: The PR body reports npm run check with 273/273 passing and npm run test:snapshots with 21/21 passing; these are useful regression signals but do not by themselves establish the intended release-profile policy. (1480436f80b5)
  • Review limitation: Read-only shell inspection was blocked before commands could enter the checkout by the sandbox error bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted; the verdict therefore relies on the hydrated PR context and supplied diff rather than an independent current-main history pass.

Likely related people:

  • vincentkoc: The available PR history identifies this person as the author of the sole commit changing the Kova diagnostic contract, profiles, self-checks, and fixtures; current-main ownership could not be independently traced because checkout inspection was blocked. (role: current diagnostic-contract contributor; confidence: low; commits: 1480436f80b5; files: src/collectors/timeline.mjs, src/selfcheck.mjs, profiles/release.json)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Confirm the intended current-versus-historical release coverage boundary.
  • Let the in-progress macOS and Ubuntu checks complete before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer decision: adopt the current-versus-historical split in this PR.

Current OpenClaw startup reports plugin work through plugins.load; production source no longer emits runtimeDeps.stage or plugins.runtimeDeps. The coordinated OpenClaw workflow change has landed in openclaw/openclaw#116760, removing only the retired bundled-runtime-deps current-profile entry while preserving fresh install, gateway, bundled-plugin startup, and agent cold/warm coverage.

Rank-up moves:

  • Current-versus-historical boundary: confirmed. Retain the parser and explicit legacy scenario for historical releases; do not require those spans from supported current targets.
  • macOS and Ubuntu CI: both completed successfully.
  • Non-blocking compatibility observation: intentionally skipped. Current OpenClaw has no producer for the retired signals, so retaining a current-profile observation would encode stale behavior rather than detect a supported-path regression.

@vincentkoc
vincentkoc marked this pull request as ready for review July 31, 2026 10:12
@vincentkoc
vincentkoc requested a review from a team as a code owner July 31, 2026 10:12
@vincentkoc
vincentkoc merged commit e2ff1b6 into main Jul 31, 2026
8 of 9 checks passed
@vincentkoc
vincentkoc deleted the fix/retire-runtime-deps-diagnostics-20260731 branch July 31, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P2 Normal priority bug or improvement with limited blast radius. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant