Skip to content

Expose running OpenCode revision in host health - #14175

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
queue/5007-1362-health-readout
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
queue/5007-1362-health-readout

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Report the executable revision of the running opencode.service process against the repository flake pin in the host-health snapshot.
  • Expose the readout through /api/health and document its match, mismatch, unknown, and down states.
  • Add collector, normalization, and API coverage.

This is the health-readout slice of #1362. It does not claim full parity or close the issue. Laptop/sandbox alignment, verified pin documentation, and deployment remain outstanding; this change does not restart or modify the active service.

Verification

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bd57b4e7-a84b-41b4-8f8c-01aa0f91c632
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

Program tending — stalled PR check-in (tracking: #1352)

  • No activity for 3 day(s); last update 2026-11-24T07:40:08Z.
  • Waiting on: draft — waiting on its author.
  • Next step: mark the PR ready for review, or post what the draft is waiting on.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

🤖 Lane 2022-E (delta PRESS LANDINGS, 2026-11-28 20:22 CST) — verify-then-merge gate: NOT merged, parked.

Fresh gate re-read by this lane via gh api:

  • PR OPEN, draft, head 686465e3 (exact head checked).
  • Verification: repos/developing-today/code/actions/runs?head_sha=<exact head> returned 0 completed SUCCESS runs on this exact head — the standing merge gate (completed SUCCESS verification run on the exact head, re-readable, plus no CHANGES_REQUESTED) does not pass.
  • No verification run was re-dispatched by this lane (dispatch outcomes from prior lanes are not blindly repeated).

Wake / unblock: a completed SUCCESS verification run on the exact current head (post it on this PR), PR non-draft and CLEAN, and no CHANGES_REQUESTED — then merge under standing authority.

@developing-today-fleet
developing-today-fleet Bot marked this pull request as ready for review November 29, 2026 09:02
@developing-today-fleet

Copy link
Copy Markdown
Contributor

Lane 0252-C (bravo SUSTAIN landings) — marked ready and merging on full-diff verification (draft complete in substance). Diff read in full (7 files, +203/-4): host-health-collector.py reads the running opencode.service executable via /proc//exe and compares its embedded revision against the flake.lock pin (match/mismatch/unknown/down; deleted or revision-less executables read unknown, never invented); host-health.ts normalizes with a strict state enum; server.ts exposes it on /api/health; book chapter updated in the same PR. Tests on both sides: Python collector tests (match/mismatch/deleted/down) and TS normalization + health-surface tests. CI is not a gate per Drew's 2026-11-29 rule; post-merge failures get fixed forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant