Skip to content

fix(ci): reliability run reaches the funded ledger; bill-to id becomes a secret - #1597

Merged
jeremymanning merged 1 commit into
mainfrom
fix/reliability-run-ledger-remote
Nov 25, 2026
Merged

jeremymanning merged 1 commit into
mainfrom
fix/reliability-run-ledger-remote

Conversation

@jeremymanning

Copy link
Copy Markdown
Member

What happened

Reliability run 45489270215 ran for its full 4-hour budget and made no model call. The acceptance test works in a fresh git init repository that has no origin, so the funded ledger could not be synced and every funded call was refused. No Hugging Face credits were spent.

Changes

  • llmxive-reliability-run.yml: the acceptance step names the ledger remote (LLMXIVE_FUNDED_LEDGER_REMOTE) and gives git a credential helper that reads the job token from the environment.
  • scripts/ci/funded_preflight.py (new step, before the long run): from the same kind of repository, checks that the funded guard is live and that git may push to the ledger (a dry run), and stops the job otherwise. It prints fixed text and exception type names only.
  • LLMXIVE_HF_BILL_TO is read from an Actions secret in all workflows. As a variable, its value appeared in job logs.
  • Tests: the workflow guard test now requires the secret mapping and the preflight ordering and environment; new unit tests for the preflight.
  • Docs: README, scripts/hf/README.md, spec 027 wiring text.

Verification

  • Preflight run locally in three conditions: no ledger remote (fails), remote without credentials (fails), remote with the workflow's helper (passes).
  • Offline suite: 6923 passed, 25 skipped. ruff check clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DcKtypjyK1UB7PSkync3eK

…s a secret

The acceptance test works in a fresh `git init` repository with no `origin`,
so the reliability run could not sync the funded ledger: every funded call
was refused and the job idled for its whole 4-hour budget (run 45489270215).

- The run now names the ledger remote and gives git a credential helper that
  reads the job token from the environment.
- A preflight step (scripts/ci/funded_preflight.py) checks, from the same kind
  of repository, that the funded guard is live and git may push to the ledger,
  and stops the job in seconds otherwise.
- LLMXIVE_HF_BILL_TO is read from an Actions secret in every workflow; as a
  variable its value was printed in job logs.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DcKtypjyK1UB7PSkync3eK
@jeremymanning
jeremymanning merged commit 895babc into main Nov 25, 2026
12 checks passed
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