Skip to content

v0.6.0

Choose a tag to compare

@jayhesselberth jayhesselberth released this 27 Aug 01:19
· 26 commits to main since this release

Changed

The reporting commands are in colour. --help, --list, --status, --check-quota and --install-claude printed flat text while the launch and teardown narration beside them was already colourised. Job ids and node names are teal wherever they appear, matching the narration and the status bar; labels are yellow, secondary text dim.

Colour is decided per stream rather than once at startup. The narration writes to stderr and asks about stderr; the reporting commands write to stdout and ask about stdout, so sinteractive --list | less carries no escapes and a plain sinteractive --list does. SINTERACTIVE_COLOR, NO_COLOR and TERM=dumb work as before, on both.

Two things now read by colour rather than by parsing: --status shades the remaining walltime yellow under an hour and red under fifteen minutes, and every table that lists jobs marks a PENDING one yellow against a green RUNNING — in the job-limit error that is the point, since a pending job holds a slot exactly as a running one does.

Errors are uniform throughout: a red bold label, the message beside it, and any follow-on hint dimmed under it. Text sinteractive quotes rather than writes — sbatch's own stderr — is left exactly as sbatch produced it.

The warnings line under the status bar is split, quota flush left and the maintenance-trimmed end time flush right, matching the two ends the session line above it already uses. They used to sit side by side at the left with a separator between them, reading as one long run of text with the middle of the line empty.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ● session 246026 | compute15 | sint                              Help: Ctrl+b h | Detach: Ctrl+b d
 ⚠ QUOTA over by 204.8G (30T limit)                                  ends Thu 06:00 · monthly-maint
 Claude Code: run sinteractive --install-claude to enable the skills and hooks

Each half keeps its side whether or not the other is there, so neither moves when its neighbour appears or clears.

Both are shorter. The quota notice reports the overage instead of the usage because that is the number you act on, and "over by" already says you are over. The maintenance notice drops its SHORT SESSION label: in yellow, on the warnings line, an end time that is not the one you asked for is already reading as a warning, so the space goes to the reservation name instead.

Upgrading

Running sessions are unaffected — sbatch spools its own copy of the script, so a session keeps running the version that launched it. Install on the login node and fan out to the compute nodes as usual:

make install          # or: sudo make install-system
make nodes-check      # confirm every node reports 0.6.0

Full changelog: v0.5.1...v0.6.0