Skip to content

fix(ledger): print stage after action, and inode refusals with figures - #35

Merged
HaoZeke merged 6 commits into
mainfrom
fix/stage-and-refusal
Nov 16, 2026
Merged

HaoZeke merged 6 commits into
mainfrom
fix/stage-and-refusal

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

ledger show prints each record's stage after action, and a job stack admit refuses for want of inodes now names the shortfall with the real figures.

  • The started and finished records of one staged rebuild printed as two identical rows. stage now follows action.
  • A job refused for want of inodes carried a refusal of null, so only a failed quota or scheduler command said why. The refusal now names the inodes it is short, then the available, reserved, footprint and margin that decided it.

show_tells_a_started_record_from_its_finished_one and a_job_the_inodes_cannot_hold_is_refused_with_the_shortfall cover those. The failing tests are committed before each fix. The branch has towncrier fragments.

A staged rebuild appends a started and a finished record that differ
only in stage, and ledger show printed them as two identical rows.
eb-staged-rebuild appends a started and a finished record for one
rebuild. On a ledger it wrote on EESSI 2026.06, ledger show printed the
two as identical rows. The table gains a stage column after action,
empty for a record without one.
A job the quota cannot hold exits 78 with refusal null, so a caller that
logs the decision line shows no reason.
refusal said why only when the quota or scheduler command failed. A job
the inodes could not hold exited 78 with refusal null, and eb-pipeline
on EESSI 2026.06 logged that line as its only reason. The refusal now
gives the inodes the job is short, then the available, reserved,
footprint and margin that decided it. The page examples are the output
of their commands.
changelog.d/ takes one fragment per change for towncrier; CHANGELOG.md
stays as released.
@HaoZeke
HaoZeke merged commit f5f0415 into main Nov 16, 2026
21 checks passed
@HaoZeke
HaoZeke deleted the fix/stage-and-refusal branch November 16, 2026 05:03
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