GeezerVison is showing github.com — Quota gatherer ticks fail at import: lib dir resolves to stale openchamber checkout parked on a queue branch · Issue #5721 · developing-today/code
Quota gatherer ticks fail at import: lib dir resolves to stale openchamber checkout parked on a queue branch #5721DescriptionQuota gatherer: every tick fails at import — lib dir resolves to a stale openchamber checkout parked on a queue branch
Symptom (live 2026-11-04 evening): quota-gatherer.service fails every tick in ~13ms with:
quota-gatherer: tick failed before providers ran: quota module import failed: auth.openCodeLocalCredentialSource is not a function. (In 'auth.openCodeLocalCredentialSource({ dbPath })', 'auth.openCodeLocalCredentialSource' is undefined)
(heartbeat ~/.local/state/pm-aggregator/quota-gatherer-heartbeat.json, tickAt 2026-11-05T00:30:13Z, ok:false. Same failure at 18:18 and 18:23 CST ticks; the gatherer stall first observed 2026-11-04 ~18:30:15Z is consistent with this breakage starting earlier that day.)
Root cause: resolveLibDir() in pm-stack/aggregator/scripts/gather-quota.ts picks the first candidate containing quota/index.js: $OPENCHAMBER_LIB_DIR, else ~/git/devtoday-openchamber/... (doesn't exist), else ~/git/openchamber-fork/packages/web/server/lib. The fork checkout ~/git/openchamber-fork is currently parked on branch queue/8357-224 (an old integration merge, e216864bf) with a dirty tree; its packages/web/server/lib/opencode/auth.js predates openCodeLocalCredentialSource. origin/main of the fork has the function (auth.js:214). The gatherer is therefore coupled to the mutable state of an unrelated work checkout — any queue lane that parks that checkout on an old branch breaks quota gathering fleet-wide, silently (heartbeat only).
Verified workaround (used for the #5704 verification run): a clean worktree of the fork at origin/main + OPENCHAMBER_LIB_DIR=<worktree>/packages/web/server/lib makes the gatherer run green.
Fix options:
- Pin the deployed lib: set
OPENCHAMBER_LIB_DIR in the quota-gatherer unit (Nix module) to a dedicated, main-tracking checkout/worktree of the fork that lanes never work in.
- Vendor or bundle the quota module with the aggregator so no external checkout is on the runtime path.
- At minimum: fail loud — a tick that dies at import should surface somewhere other than a heartbeat file (the stall went unnoticed for hours).
Do NOT fix by switching/cleaning ~/git/openchamber-fork in place: it holds another lane's dirty queue work (queue/8357-224).
Found during the 2026-11-04 laptop-session coordinator run (Phase 2 of the #5704 verification — that fix itself is landed via PR #5719; the timer stays red until this issue is resolved). Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 WS-G fix landed 2026-11-04 ~20:00 CST — the merged WS6 fix (PR #5719) is no longer stranded.
Mechanism (verified): quota-gatherer died at import every tick (auth.openCodeLocalCredentialSource is not a function) because gather-quota.ts resolveLibDir() fell through to ~/git/openchamber-fork — a lane checkout parked on queue/8357-224 with a dirty tree, whose built lib/quota/providers/claude/auth.js predates the export. On origin/main the export exists at packages/web/server/lib/opencode/auth.js:214. Its first candidate, ~/git/devtoday-openchamber, did not exist.
Fix (no disturbance to the parked tree — same branch, same 3 modified files before and after):
- Clean checkout created at
~/git/devtoday-openchamber (origin developing-today-forks/openchamber, branch main, clean tree; cloned from local objects, origin URL set to GitHub).
- Resolution pinned explicitly: drop-in
~/.config/systemd/user/quota-gatherer.service.d/override.conf sets OPENCHAMBER_LIB_DIR=/home/user/git/devtoday-openchamber/packages/web/server/lib (candidate test #1 in resolveLibDir, ahead of any parked worktree).
- Freshness:
pm-git-sync-openchamber.timer (5 min) reuses the fleet's own pm-git-sync.sh with PM_GIT_SYNC_REPO pointed at the new checkout — same discipline as the code primary (ff-only, fails loudly on dirty/off-main, never stashes/discards). First sync pulled it cf089e285a → 5f5d82bd9 cleanly.
Verification: systemctl --user start quota-gatherer.service → Result=success, ExecMainStatus=0. quota-current.json regenerated 2026-11-05T02:00:20Z, heartbeat ok:true, tick 7.2 s. Command Code entry: state ok with PLAN windows measured this tick (monthly 6.64/10, 5h 0/3, weekly 11.07/6 resetting 2026-11-10). Meta entry: retained across the tick's no-data result with retainedFromFailedTick: 2026-11-05T02:00:20.426Z stamped — the #1268/#5719 retention engaging as designed. Caveat: the retained Meta percentages are the post-roll nulls from the 18:30 entry; the Nov 3 100% values were overwritten before the fix landed (they survive in the snapshot history).
Follow-ups (not done here): harden resolveLibDir() to reject dirty/off-main candidate checkouts and log the resolved lib dir + checkout rev at gatherer startup; declare the sync + drop-in in the NixOS/services layer (PR #5764) instead of interim user units. dezren39 commented on Nov 5, 2026 Regression + durable repair (2026-11-04 ~20:27–20:52 CST, provider audit)
The fix recorded above regressed within the hour, and the mechanism matters:
- 19:59–20:17 CST:
~/git/devtoday-openchamber was cloned and ff-pulled to clean main (68c9f11c5); ticks verified good (02:00Z, 02:21Z).
- 20:27:51 CST: something checked
queue/8357-224 back out in that checkout (git reflog: checkout: moving from main to queue/8357-224), returning it to the Oct-21 integration merge (e216864bf) whose quota module lacks fetchQuotaForProviderInstances and the meta provider.
- Every gatherer tick from ~20:30 to 20:45+ then died at module import (~80 ms, heartbeat
ok:false, service failed). quota-current.json froze at the 02:21Z tick. Same stranding class as the original defect: a shared checkout lanes treat as a working tree cannot be a service's library source.
Repair (this time the source is a checkout nothing else uses):
- New dedicated clone:
~/git/openchamber-quota-lib (fork origin, branch main, clean, at 68c9f11c5 at repair time). Verified before pinning: quota/providers/meta.js present, fetchQuotaForProviderInstances exported, opencode/auth.js exports openCodeLocalCredentialSource.
quota-gatherer.service.d/override.conf: OPENCHAMBER_LIB_DIR=/home/user/git/openchamber-quota-lib/packages/web/server/lib (backup of the previous drop-in kept alongside).
pm-git-sync-openchamber.service repointed to the new clone (PM_GIT_SYNC_REPO + fresh state dir ~/.local/state/pm-git-sync-quota-lib); sync run verified Result=success, tree clean on main.
~/git/devtoday-openchamber was left exactly as the lane parked it (queue/8357-224) — it is a working checkout again, just no longer a service dependency.
- Verification tick 2026-11-05T02:52:34Z: heartbeat
ok:true (8,744 ms), all 12 provider runs reporting (details in the provider registry's 2026-11-04 audit section).
Follow-up hardening already named on this issue stands (resolveLibDir should reject dirty/off-main candidates and log the resolved rev at startup); add: the gatherer should also refuse a lib whose quota/index.js lacks the exports it needs, with the missing export named in the failure — an 80 ms import death with an empty perProvider map is how this hid. dezren39 commented on Nov 5, 2026 🤖 Agent note · done
Triage findings (2026-11-05):
- The live failure is fixed operationally, per the two repair comments already on this issue:
OPENCHAMBER_LIB_DIR is pinned to the dedicated clone ~/git/openchamber-quota-lib (nothing else works in it), the sync timer was repointed to it, and the verification tick at 2026-11-05T02:52:34Z reported heartbeat ok:true with all 12 provider runs reporting. No further operational action is owed.
- PR doc: deployment architecture — a services layer outside the system switch #5764 is merged but is a deployment-architecture doc — it does not contain the code hardening.
- Verified at current main (fresh
gh api read): resolveLibDir() in pm-stack/aggregator/scripts/gather-quota.ts (line 122) still returns the first candidate containing quota/index.js — no dirty/off-main rejection, no required-export validation, no logging of the resolved dir/rev. That is exactly the stranding class that regressed twice on 2026-11-04 (second time at 20:27 CST when a lane checked queue/8357-224 back out in the shared checkout).
- Enqueued task 10485 (small_fix) for the hardening named on this issue: reject dirty/off-main candidates with logged reasons, log resolved lib dir + checkout rev at startup, and fail naming any missing required export.
developing-today commented on Nov 5, 2026
Task 10485 (lane code-s) claimed and assigned to the opencode execution lane. Handed off to the opencode claimant — the bound session drives this task to its terminal state. Parked by this lane per the handoff protocol. dezren39 commented on Nov 17, 2026 Hardening landed on main (2026-11-17, sweep carrier for the 2026-11-17 closure-audit reopen).
- Merged: fix(aggregator): reject unsafe OpenChamber quota lib checkouts (#5721) #11225 (merge commit
ca691e1bf89f85bf9a4cc87efb00023492d3f40c, 2026-11-17T10:36:30Z). It re-lands the f5c587bb hardening that PR fix(aggregator): reject unsafe OpenChamber quota lib checkouts (#5721) #7133 carried, rebased onto current main.
- Proof on main, verified after merge:
pm-stack/aggregator/src/openchamber-lib.ts is present on main.
pm-stack/aggregator/scripts/gather-quota.ts on main resolves lib candidates through resolveOpenChamberLib() (line 309); the existsSync(quota/index.js) fallthrough is gone from resolveLibDir().
test/openchamber-lib.test.ts pins the oracle: fake git states give the named rejection for a dirty tree, a non-main branch, a detached HEAD, and an all-rejected set that never falls through.
- The export check now runs in
loadOpenChamberLib() after ensureLibDependencies (keeps the quota-gatherer: opendesign-renewal fails on every tick — "Cannot find package 'yaml'" in the OPENCHAMBER_LIB_DIR checkout (no node_modules) #8759 install-before-import ordering). The quota-gatherer: opendesign-renewal fails on every tick — "Cannot find package 'yaml'" in the OPENCHAMBER_LIB_DIR checkout (no node_modules) #8759 end-to-end test uses a clean main checkout.
- Local verification:
bun test test/openchamber-lib.test.ts test/gather-quota.test.ts, 14 pass, 0 fail; bunx tsc --noEmit, clean. Repo CI is post-merge-only (.github/ci-policy.md), so no PR check gated the merge.
Residual operational note (not a code gap): on this laptop ~/git/devtoday-openchamber is parked on queue/8357-224 and ~/git/openchamber-fork has a dirty tree, so both are now rejected. The OpenDesign keeper will skip renewal until a clean main checkout is pinned via OPENCHAMBER_LIB_DIR. Subcommand readings are unaffected. I did not touch either checkout.
Closing #5721 on this proof. dezren39 commented on Nov 17, 2026
Quota guardian episode, 2026-11-17 (data gap; recovered by 14:45Z tick)
- Prior guardian record:
generatedAt 2026-11-17T13:30:19.011Z, heartbeat ok:true; current check at 2026-11-17T15:00Z found generatedAt 2026-11-17T14:45:07.811Z, age ~15 min, heartbeat ok:true. The generatedAt gap was 74m 48s, so data crossed the 30-minute freshness limit (approx. 14:00:19Z) before recovering at 14:45:07Z.
- Cause is not yet established. At diagnosis the timer was active/enabled and had triggered a service run at 15:00:11Z; service was still running.
override.conf pin is correct: QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; /run/current-system remains /nix/store/dp3rcjazhkxssg4cix50rg25z1cinnyx-nixos-system-amd-26.11.20261102.f9887a8. No fleet change made; current tick recovery is automatic.
- Continuation streak reset due to the >30 min generatedAt gap; current good tick begins the new streak. No generation switch observed. Provider-specific error rows are not the stale-data cause.
dezren39 commented on Nov 17, 2026
Quota guardian episode, 2026-11-17T16:20Z (brief stale interval; auto-recovered)
- Check at
2026-11-17T16:20:31Z: quota file generatedAt 2026-11-17T16:15:18.391Z (age 5.23 min), heartbeat tickAt 2026-11-17T16:15:18.391Z, ok:true; current verdict healthy.
- Compared with prior guardian record
generatedAt 2026-11-17T15:45:07.018Z, the generatedAt gap was 30m 11.373s. Freshness crossed 30 minutes at 16:15:07.018Z and recovered at the successful tick 16:15:18.391Z (~11 seconds over). This resets the on-time streak.
- Diagnosis:
quota-gatherer.timer is enabled and active/waiting; service's latest run exited 0/SUCCESS. Drop-in pin remains QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; executable runs (opencode v2.0.30+d27246f). /run/current-system remains /nix/store/dp3rcjazhkxssg4cix50rg25z1cinnyx-nixos-system-amd-26.11.20261102.f9887a8. No fleet-side change made; current timer tick recovered automatically. Cause of the delayed interval is unknown.
- No generation switch observed. Guardian continuation streak restarts from the recovered
16:15:18.391Z tick; target condition remains unmet.
dezren39 commented on Nov 18, 2026
Quota guardian episode, 2026-11-18T02:15Z (brief stale interval; auto-recovered)
- Check at
2026-11-18T02:21:33Z: quota file generatedAt 2026-11-18T02:15:32.438Z (age 6.02 min), heartbeat tickAt matches and ok:true; current verdict healthy. Compared with the previous guardian record (generatedAt 2026-11-18T01:45:22.446Z), the generatedAt gap was 30m 10.0s. The 30-minute freshness limit was crossed at 02:15:22.446Z and recovered at 02:15:32.438Z (~10 seconds over). Cause unknown.
- Diagnosis: timer enabled and active/waiting; latest service exited
0/SUCCESS. QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; executable resolves and runs (opencode v2.0.30+d27246f). /run/current-system remains /nix/store/dp3rcjazhkxssg4cix50rg25z1cinnyx-nixos-system-amd-26.11.20261102.f9887a8. No fleet-side change; timer-driven tick recovered automatically.
- No generation switch observed. Guardian state records this episode and resets the on-time streak at
2026-11-18T02:15:32.438Z; continuation condition remains unmet.
dezren39 commented on Nov 18, 2026
Quota guardian episode, 2026-11-18T19:15Z (brief stale interval; auto-recovered)
- At check
2026-11-18T19:21:13Z, quota-current is fresh (generatedAt 2026-11-18T19:15:22.547Z, age 5.843 min), heartbeat tickAt matches and ok:true. The prior recorded tick was 2026-11-18T18:45:16.081Z; gap 30.108 min, so the 30-minute freshness threshold was crossed for about 6.5 seconds before recovery.
- Diagnosis: timer is enabled and active/waiting; last service run exited
0/SUCCESS and journal records the successful 19:15Z tick. QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; /run/current-system resolves to /nix/store/dp3rcjazhkxssg4cix50rg25z1cinnyx-nixos-system-amd-26.11.20261102.f9887a8. No fleet-side fix was available; timer-driven tick recovered automatically. Cause of the delay is unknown.
- No generation switch/deploy observed. Guardian state records the episode and resets the on-time streak from
2026-11-18T19:15:22.547Z; the two-part continuation condition remains unmet. Explicit provider errors (including expired Claude session) are provider-row states, not the cause of this stale interval.
dezren39 commented on Nov 19, 2026
Quota guardian episode, 2026-11-19T11:21Z (brief generatedAt gap; auto-recovered)
At check, quota data was healthy/fresh: generatedAt 2026-11-19T11:15:11.249Z (age 5m52s), heartbeat ok:true. Comparing the recorded prior tick 2026-11-19T10:45:03.816Z with this successful tick gives a 30m07.433s gap, crossing the 30-minute freshness limit by 7.4s. No global heartbeat error; explicit provider-row errors (including expired Claude sign-in) are not the cause or a stale-data episode.
Diagnosis: timer enabled and active/waiting; latest service run exited 0/SUCCESS. Drop-in pin is correct (QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json), executable resolves and runs (opencode v2.0.30+d27246f). No fleet-side fix available; timer tick recovered automatically. Verifying generatedAt: 2026-11-19T11:15:11.249Z, heartbeat ok:true. /run/current-system still resolves to /nix/store/dp3rcjazhkxssg4cix50rg25z1cinnyx-nixos-system-amd-26.11.20261102.f9887a8; no generation switch observed. dezren39 commented on Nov 19, 2026 Conductor discrepancy note, 2026-11-19T11:21Z: this issue currently reads CLOSED, but the live quota-gatherer guardian session ses_e5e0c770e79ffe5VB3bbovTY4w produced a fresh check and episode record at 11:21Z, then reported adding evidence here. The recurring guardian is a separate continuing watch (its continuation criteria are in the existing closure record); the issue's CLOSED state is not being used to stop that live work. This run found generatedAt 2026-11-19T11:15:11.249Z, heartbeat ok, and a 30m07.433s prior-tick gap; no persistent fix was needed. Session is now idle after its scheduled check; supervision continues on subsequent fires. dezren39 commented on Nov 21, 2026
Quota guardian episode, 2026-11-21T18:20Z (brief generatedAt gap; auto-recovered)
At check, data was fresh (generatedAt 2026-11-21T18:15:33.407Z, age ~5.15 min) and heartbeat ok:true. The previous recorded tick was 2026-11-21T17:45:12.450Z; generatedAt gap was 30m20.957s, crossing the 30-minute freshness limit by ~21s before recovery. No error state in the heartbeat.
Diagnosis: timer enabled and active/waiting (next trigger 12:30 CST); service completed 0/SUCCESS, latest tick duration 66.148s. QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; executable resolves and runs (opencode v2.0.30+acc0e5a). No fleet-side change was needed; timer-driven tick recovered automatically. Verifying generatedAt 2026-11-21T18:15:33.407Z, heartbeat ok:true. Current /run/current-system target is /nix/store/2m0jrz4linb64ch17k25509gj8bkh89x-nixos-system-amd-26.11.20261102.f9887a8; the generation switch remains survived. Streak restarts at this tick; continuation condition remains unmet. dezren39 commented on Nov 21, 2026
Quota guardian episode, 2026-11-21T19:20Z (brief generatedAt gap; auto-recovered)
At check 2026-11-21T19:20:23Z, data was fresh (generatedAt 2026-11-21T19:15:18.017Z, age 5m05s) and heartbeat ok:true (tickAt matches; error:null). The prior recorded tick was 2026-11-21T18:45:13.418Z; the generatedAt gap was 30m04.599s, crossing the 30-minute freshness limit at 19:15:13.418Z and recovering at 19:15:18.017Z (~4.6 seconds over).
Diagnosis: timer enabled and active/waiting (next trigger 13:30 CST); service's latest run exited 0/SUCCESS, with no service/journal error. QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json; executable resolves to /nix/store/8danarivhgrw0949l9z8c48mdb8m69yp-opencode-2.0.30+acc0e5a/bin/opencode, and the successful service tick confirms it ran. No fleet-side change available; timer-driven tick recovered automatically; cause of the delayed interval remains unknown. Verifying generatedAt 2026-11-21T19:15:18.017Z, heartbeat ok:true. Current /run/current-system target remains /nix/store/2m0jrz4linb64ch17k25509gj8bkh89x-nixos-system-amd-26.11.20261102.f9887a8; generation switch remains survived. On-time streak restarts from this tick; continuation condition remains unmet. dezren39 commented on Nov 21, 2026
Quota guardian episode, 2026-11-21T20:20Z (tick gap; data auto-recovered)
At check 2026-11-21T20:20:36Z, data was fresh (generatedAt 2026-11-21T20:15:27.449Z, age 5m09s) and heartbeat ok:true (tickAt matches; error:null). The prior recorded tick was 2026-11-21T19:45:03.128Z; the tick gap was 30m24.321s, exceeding the 30-minute on-time criterion by 24.3s. The snapshot itself was never stale at this check.
Diagnosis: timer enabled and active/waiting; latest service run exited 0/SUCCESS; journal confirms successful tick. QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json is correct; /run/current-system resolves to /nix/store/2m0jrz4linb64ch17k25509gj8bkh89x-nixos-system-amd-26.11.20261102.f9887a8. No fleet-side fix available; automatic timer tick recovered. Generation switch remains survived. The on-time streak resets from 2026-11-21T20:15:27.449Z; continuation condition remains unmet. dezren39 commented on Nov 22, 2026
Quota guardian episode, 2026-11-22T00:20Z (ENOSPC; auto-recovered)
- At this check, current data is fresh (
generatedAt 2026-11-22T00:15:37.516Z, age ~4m47s); heartbeat tickAt matches and ok:true. Prior recorded successful tick was 2026-11-21T21:30:19.580Z; journal confirms repeated service failures from 16:16 through 18:01 CST, so the data became stale after its 30-minute window and remained stale until recovery at 18:15:37 CST.
- Cause from journal: repeated
ENOSPC: no space left on device opening /home/user/.local/state/pm-aggregator/quota-current.json.tmp-<pid> during atomic write. Latest 18:15 CST tick exited 0/SUCCESS and wrote the fresh snapshot. Current /home reports 657G available, so the condition is not presently reproducible; quota utility is unavailable.
- Timer is enabled/active; drop-in pin is correct (
QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json) and target resolves. No authorized fleet-side fix identified; no changes made. The root filesystem has ample present capacity, but the prior ENOSPC cause is unresolved. Generation target remains /nix/store/2m0jrz4linb64ch17k25509gj8bkh89x-nixos-system-amd-26.11.20261102.f9887a8; generation switch remains survived. On-time streak restarts at recovery tick; continuation condition remains unmet.
dezren39 commented on Nov 22, 2026
Quota guardian episode, 2026-11-22T01:00Z (brief generatedAt gap; auto-recovered)
- At check
2026-11-22T01:05:04Z, data was fresh (generatedAt 2026-11-22T01:00:57.879Z, age 4.12 min), heartbeat ok:true (tickAt matches). The prior recorded tick was 2026-11-22T00:30:12.004Z; the gap was 30m45.875s, crossing the 30-minute on-time criterion by ~45.9s.
- Diagnosis: timer is enabled and active/waiting (next trigger 19:15 CST); latest service exited
0/SUCCESS. Journal records its successful tick at 01:00:57.879Z. Drop-in pin remains QUOTA_SUBCOMMAND=/run/current-system/sw/bin/opencode quota --json, and the executable resolves/runs (opencode v2.0.30+b70580b). No fleet-side fix was indicated; timer-driven tick recovered automatically. Provider-specific error rows are not the heartbeat/staleness cause.
/run/current-system switched from /nix/store/2m0jrz4linb64ch17k25509gj8bkh89x-nixos-system-amd-26.11.20261102.f9887a8 to /nix/store/f34pbfgvjfiijk60npnb5h1ws89hh7nf-nixos-system-amd-26.11.20261102.f9887a8 at 01:00:51Z; the gatherer successfully ran on the new generation six seconds later. Generation switch survived. On-time streak restarts from 2026-11-22T01:00:57.879Z; continuation condition remains unmet.
dezren39 commented on Nov 26, 2026 Plans Space freshness keeper check 2026-11-26T16:28Z: quota-current.json is fresh (generatedAt 2026-11-26T16:15:01.164Z; age 13.766 min) and attribution is complete (41 rows, 29 provider IDs, 26 service IDs; no missing registrations; opencode-go.developing-today-0 measured and registered). However, four provider readings are carried forward as state=ok with retainedFromFailedTick=2026-11-26T16:15:01.164Z and are materially stale: _claude / anthropic:claude-pro measured 2026-11-25T13:45:25.170Z (26.72 h); deepseek measured 2026-11-23T20:45:25.067Z (67.72 h); mistral measured 2026-11-16T11:29:48.783Z (244.98 h); _muse / meta measured 2026-11-21T04:45:56.270Z (131.71 h). The record-level freshness and provider-set checks pass, but these per-provider values are retained stale inputs, not fresh measurements. I found no open episode comment covering these current retained readings. No gatherer repair attempted; the sibling quota guardian owns gatherer repairs. Rendered Space build freshness remains unverified. developing-today-fleet commented on Nov 27, 2026
Quota guardian episode, 2026-11-27T01:15Z (missing web-push dependency; fixed)
- Stale window ~01:06:36Z-01:15:12Z (~8.6 min): successful generatedAt gap 00:36:36Z -> 01:15:12Z was 2315.295s. At recovery check data was fresh (generatedAt 2026-11-27T01:15:12.021Z) and heartbeat ok:true.
- Cause from journal: scheduled ticks ~00:45Z and ~01:00Z failed with bun error Cannot find package web-push from /home/user/d1-move/pm-main/pm-stack/aggregator/src/push.ts. pm-stack/aggregator/node_modules was absent (node_modules/web-push missing); web-push ^3.6.7 is declared in package.json and bun.lock.
- Fix (fleet-side, no code edits): bun install --frozen-lockfile in pm-stack/aggregator restored [email protected]; timer-driven tick succeeded at 2026-11-27T01:15:12.021Z, heartbeat ok:true, followed by on-time ticks 01:30:08Z and 01:33:23Z. QUOTA_SUBCOMMAND pin already correct (/run/current-system/sw/bin/opencode quota --json); timer active.
- System target: /nix/store/49dcr01w2qq1wf6kmr83cl6m3kvnfmg7-nixos-system-amd-26.11.20261102.f9887a8. On-time streak restarted at 01:15:12Z; continuation condition remains unmet.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|