Repository navigation
feat(release): publish @openclaw/diagnostics-prometheus as a fork release asset (ENG-15788) - #94
Merged
Conversation
Version-bump release carrying the 3 commits merged onto boon since boon.11: - #86: edge/WAF HTML 429 now classifies as transient timeout (not model rate_limit), so a Cloudflare-relayed 429 no longer surfaces a false 'all models rate-limited'; the client-side ride-out retry still absorbs it. - #88: DEBUG-level trace of the Slack thread-resolution decision on the agent message-send tool path (sendMessage/uploadFile); observability only, no behavior change, message content never logged. - #89: sentry-monitor classifies gateway-relayed upstream (Bedrock) 5xx vs gateway-origin 5xx via classify5xxSource(), tagging error_class + http_status on the model_call_ended capture so the Rohan alert can split/rate-gate them. Bumps the gateway + @openclaw/slack + @openclaw/msteams to 2026.6.11-boon.12 in lockstep (7 files: 3 package.json, 3 npm-shrinkwrap.json, CHANGELOG.md). Tagging v2026.6.11-boon.12 after merge triggers boon-release.yml to publish the 6 assets.
…ease asset (ENG-15788) The diagnostics-prometheus plugin's dist is excluded from the published gateway package (`!dist/extensions/diagnostics-prometheus/**`), so a fleet host has no way to run the Prometheus exporter unless the plugin is installed separately — and gandalf-manager's Alloy scrape (job boon-agent-openclaw, ENG-15788 step 2) has nothing to read until it is. There was no release tarball for it. - Pin extensions/diagnostics-prometheus/package.json + npm-shrinkwrap.json to 2026.6.11-boon.12 in lockstep with the gateway (same contract as slack/msteams — the pack step asserts TAG == v<version>). - Add a 'Pack diagnostics-prometheus plugin tarball + compute sha256' step to boon-release.yml mirroring the slack/msteams steps (runtime-build + manifest overlay pack), and wire the new asset + its .sha256 into the Publish step (both create and upload --clobber arms) so it ships on the same v*-boon.N tag. Asset contract: openclaw-diagnostics-prometheus-<version>.tgz + .tgz.sha256 Unlike slack/msteams this plugin does NOT use openKeyedStore (no trust-gate), so a bare install wouldn't crash-loop — but the npm-pack: trusted path is used for install-shape consistency across the fork's plugins. Version must advance in lockstep on every future release, same as slack/msteams. actionlint clean; YAML valid. Pack machinery validated by CI on the release run (no node_modules in this worktree to pack locally).
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
I'll analyze this and get back to you. |
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.

What Problem This Solves
The
@openclaw/diagnostics-prometheusplugin serves the runtime-metrics exporter the fleet's Alloy scrape targets (GET /api/diagnostics/prometheus, jobboon-agent-openclaw, ENG-15788). But its dist is excluded from the published gateway package (package.json:!dist/extensions/diagnostics-prometheus/**), and — unlike@openclaw/slack/@openclaw/msteams— the fork has never published a release tarball for it. So a fleet host has no way to install/run it, and gandalf-manager's merged Alloy scrape (openclaw#454) has nothing to read.Why This Change Was Made
Make the fork publish
@openclaw/diagnostics-prometheusas a sibling release asset on the samev*-boon.Ntag, exactly like slack/msteams — so gandalf can install it viaopenclaw plugins install npm-pack:<url>and pin its URL+sha ininventory.yaml.extensions/diagnostics-prometheus/package.json+npm-shrinkwrap.jsonto2026.6.11-boon.12, in lockstep with the gateway (the pack step assertsTAG == v<version>, same contract as slack/msteams)..github/workflows/boon-release.ymlmirroring the slack/msteams steps (plugin-npm-runtime-build.mjs+plugin-npm-package-manifest.mjs --runoverlay pack), and wire the asset + its.sha256into the Publish step (bothcreateandupload --clobberarms).User Impact
None user-facing. Operator/observability only: unblocks the ENG-15788 metric flow (
openclaw_model_failover_total→ Grafana Cloud) once gandalf installs the plugin from this asset and the Alloy scrape (already merged) picks it up. Then the ENG-15788 Step-3FleetFallbackChainExhaustedalert and the ENG-14852 AC#4 edge-429 alert become buildable.Evidence
actionlintclean onboon-release.yml; YAML parses.openclaw.extensions,openclaw.build,@openclaw/plugin-sdkworkspace devDep) — actually simpler (no runtime deps, no channel config), so the same overlay pack machinery applies.openKeyedStore(no trust-gate), so a bare install wouldn't crash-loop — but thenpm-pack:trusted path is used for install-shape consistency across the fork's plugins.node_modulesto pack locally); the step is a faithful copy of the proven slack/msteams steps.Delivery note
Because the plugin is now pinned to
2026.6.11-boon.12(the current released tag), re-runningboon-release.ymlonv2026.6.11-boon.12will publish this asset onto the existing boon.12 release (theTAG == v<version>guard passes) — no new train required. The version must advance in lockstep on every future release, same as slack/msteams.Summary by cubic
Publishes
@openclaw/diagnostics-prometheusas a fork release asset so fleet hosts can install it vianpm-pack:<url>and Alloy can scrape client-side failover metrics. Connects to ENG-15788 by unblocking the scrape on jobboon-agent-openclaw.openclaw-diagnostics-prometheus-<version>.tgz(+.sha256) on the samev*-boon.Ntag, mirroring@openclaw/slackand@openclaw/msteams, and verifies tag = package version.extensions/diagnostics-prometheusto2026.6.11-boon.12in lockstep; bumps gateway,@openclaw/slack, and@openclaw/msteamsto2026.6.11-boon.12; updates CHANGELOG.Written for commit d368a0e. Summary will update on new commits.