slurmscope 2.1.0.dev1__tar.gz → 2.2.0.dev1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. slurmscope-2.2.0.dev1/CHANGELOG.md +54 -0
  2. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/Cargo.lock +1 -1
  3. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/Cargo.toml +1 -1
  4. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/PKG-INFO +4 -4
  5. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/PYPI.md +3 -3
  6. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/README.md +4 -4
  7. slurmscope-2.2.0.dev1/patches/slurmscope-2.0.0.dev1-runner.diff +938 -0
  8. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/app.rs +354 -39
  9. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/data.rs +3 -4
  10. slurmscope-2.2.0.dev1/src/killers.rs +126 -0
  11. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/main.rs +16 -4
  12. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/probe.rs +21 -0
  13. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/slurm.rs +8 -0
  14. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/parity_app.py +37 -3
  15. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/parity_funcs.py +22 -0
  16. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/test_process_parity.py +1 -1
  17. slurmscope-2.1.0.dev1/.gitignore +0 -2
  18. slurmscope-2.1.0.dev1/CHANGELOG.md +0 -20
  19. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/LICENSE +0 -0
  20. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/build.rs +0 -0
  21. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/pyproject.toml +0 -0
  22. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/coord.rs +0 -0
  23. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/hooks.rs +0 -0
  24. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/pyuni.rs +0 -0
  25. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/render.rs +0 -0
  26. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/share.rs +0 -0
  27. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/storage.rs +0 -0
  28. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/style.rs +0 -0
  29. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/surfer.rs +0 -0
  30. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/src/util.rs +0 -0
  31. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/bench.sh +0 -0
  32. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/difftest.sh +0 -0
  33. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/gen_pyuni.py +0 -0
  34. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/run_all.sh +0 -0
  35. {slurmscope-2.1.0.dev1 → slurmscope-2.2.0.dev1}/tests/test_harness_regressions.py +0 -0
@@ -0,0 +1,54 @@
1
+ # Changelog
2
+
3
+ ## 2.2.0.dev1 — 2026-11-05 (pre-release)
4
+
5
+ ### Added
6
+ - **Page 5 "Killers": your jobs cancelled by other users.** Runs
7
+ `sacct --user=USER -S START -X -n -P -o JobID,State,End,NodeList,JobName` (with `SLURM_TIME_FORMAT=standard`
8
+ and `SACCT_*` defaults removed) and keeps the jobs whose State is `CANCELLED by UID` with a uid other than
9
+ the user's own; uids are resolved to names through the passwd database (as `getent passwd UID`).
10
+ - **Killers** list: every killer with the number of jobs killed and the latest kill (most kills first);
11
+ `↑ ↓` select, `Enter` or a click opens the killer's jobs with their end dates.
12
+ - **Killed jobs** list: end, job id, killer, nodes, name, newest first.
13
+ - `t` cycles the time window: day (default), week, month (30 days), year (365 days), always (since
14
+ 2000-01-01); `--kill-window` sets it initially, `--page 5` opens the page (also with `--once`).
15
+ - `sacct` runs only while the page is open: on a window change, every 15 minutes, or with `r`.
16
+ - **Help (`?`): an "Extras" section at the end** lists `S` (Attention maxing).
17
+
18
+ ### Changed
19
+ - **Your running/pending counts on every page.** The tab bar shows `USER: ● N running ◌ M pending` for the
20
+ current user (`-u USER`, else you) within the selected partition, on every page; on
21
+ narrow terminals it shortens to `●N ◌M` before the host name is dropped.
22
+ - **Nodes: default sort by group, then compute power, ascending** (`power`): login nodes (name contains
23
+ `login`) first, then the other nodes by number of partitions (e.g. `all_usr_prod` only before
24
+ `boost_usr_prod,all_usr_prod`); within a group GPU VRAM, then per-GPU peak dense FP16/BF16
25
+ tensor TFLOPS (FP32 accumulate; built-in table of NVIDIA datasheet values, unknown models = 0), then node
26
+ name. Nodes without GPUs come first within their group. `o` cycles it like the other keys; clicking GPU MODEL
27
+ selects it.
28
+ - **Every node/GPU list follows the same order:** Overview GPU models (each model at its first node in the
29
+ default node order, instead of the largest GPU count first) and the Memory "RAM by node" grid (was by name).
30
+ - **Jobs: running jobs follow the node order.** With the default `state` sort, running jobs are ordered by
31
+ the position of their first node (the weakest, for multi-node jobs) in the default node order, then by id.
32
+
33
+ ### Fixed
34
+ - **Long node names are no longer cut** (e.g. `ailb-login-03` lost its last digit): the NODE column of the
35
+ Nodes page and of the Memory "RAM by node" grid widens to the longest node name, up to 20 columns.
36
+
37
+ ## 2.1.0.dev1 — 2026-11-04 (pre-release)
38
+
39
+ ### Added
40
+ - **Easter egg: endless runner while you wait.** Press **`S`** (capital S) in any view — Overview, Jobs, Nodes,
41
+ Memory, the QoS browser, and inside job/node/log/help screens — to open a side panel with a looping ASCII
42
+ endless runner on train tracks. Press **`S`** again to close it. The view keeps working beside it (cursor,
43
+ sorting, clicks, filters).
44
+ - The runner dodges parked and oncoming trains, jumps low barriers, rolls under high ones, runs up ramps onto
45
+ train roofs and collects coins. The course is generated once from a fixed seed and a dynamic-programming
46
+ planner guarantees a collision-free path; the animation loops seamlessly every 24 s.
47
+ - Needs a terminal at least 100 columns wide (the panel takes ~40% of the width). It redraws at 15 fps only
48
+ while it is open; otherwise the refresh behaviour is unchanged.
49
+ - Deliberately not listed in the footer or in the help screen. While a search (`/`) is being typed, `S` is text.
50
+ - Same feature as slurmscope 1.5.0 (Python, the stable version); the course differs because the two versions use different
51
+ random generators.
52
+
53
+ No changes to data collection, the shared collector protocol (still compatible with the Python version) or
54
+ command-line options.
@@ -484,7 +484,7 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
484
484
 
485
485
  [[package]]
486
486
  name = "slurmscope"
487
- version = "2.1.0-dev.1"
487
+ version = "2.2.0-dev.1"
488
488
  dependencies = [
489
489
  "chrono",
490
490
  "clap",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "slurmscope"
3
- version = "2.1.0-dev.1"
3
+ version = "2.2.0-dev.1"
4
4
  edition = "2021"
5
5
  rust-version = "1.80"
6
6
  description = "Live terminal dashboard for Slurm clusters (Rust port, protocol-compatible with the Python version)"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: slurmscope
3
- Version: 2.1.0.dev1
3
+ Version: 2.2.0.dev1
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Science/Research
@@ -25,7 +25,7 @@ Project-URL: Source, https://github.com/FabioBozzoli/slurmscope/tree/slurmscope-
25
25
  This is a **development pre-release** of `slurmscope`, the live terminal dashboard for Slurm
26
26
  clusters, reimplemented in Rust. The stable, recommended version remains the Python one:
27
27
 
28
- pip install slurmscope # stable Python version (1.5.x)
28
+ pip install slurmscope # stable Python version (1.6.x)
29
29
 
30
30
  pip never installs this pre-release unless you ask for it explicitly.
31
31
 
@@ -34,11 +34,11 @@ pip never installs this pre-release unless you ask for it explicitly.
34
34
  Side by side with the stable version (recommended while it is in development), with `pipx`:
35
35
 
36
36
  pipx install slurmscope # Python, command `slurmscope`
37
- pipx install --suffix=-rs "slurmscope==2.1.0.dev1" # Rust, command `slurmscope-rs`
37
+ pipx install --suffix=-rs "slurmscope==2.2.0.dev1" # Rust, command `slurmscope-rs`
38
38
 
39
39
  Or in a dedicated environment:
40
40
 
41
- pip install "slurmscope==2.1.0.dev1"
41
+ pip install "slurmscope==2.2.0.dev1"
42
42
 
43
43
  Wheels are provided for Linux x86_64 (glibc ≥ 2.17). On other platforms pip builds from the
44
44
  source distribution, which needs a Rust toolchain (`cargo`).
@@ -3,7 +3,7 @@
3
3
  This is a **development pre-release** of `slurmscope`, the live terminal dashboard for Slurm
4
4
  clusters, reimplemented in Rust. The stable, recommended version remains the Python one:
5
5
 
6
- pip install slurmscope # stable Python version (1.5.x)
6
+ pip install slurmscope # stable Python version (1.6.x)
7
7
 
8
8
  pip never installs this pre-release unless you ask for it explicitly.
9
9
 
@@ -12,11 +12,11 @@ pip never installs this pre-release unless you ask for it explicitly.
12
12
  Side by side with the stable version (recommended while it is in development), with `pipx`:
13
13
 
14
14
  pipx install slurmscope # Python, command `slurmscope`
15
- pipx install --suffix=-rs "slurmscope==2.1.0.dev1" # Rust, command `slurmscope-rs`
15
+ pipx install --suffix=-rs "slurmscope==2.2.0.dev1" # Rust, command `slurmscope-rs`
16
16
 
17
17
  Or in a dedicated environment:
18
18
 
19
- pip install "slurmscope==2.1.0.dev1"
19
+ pip install "slurmscope==2.2.0.dev1"
20
20
 
21
21
  Wheels are provided for Linux x86_64 (glibc ≥ 2.17). On other platforms pip builds from the
22
22
  source distribution, which needs a Rust toolchain (`cargo`).
@@ -21,11 +21,11 @@ A fully static binary can be built with `rustup target add x86_64-unknown-linux-
21
21
  ## Packaging (PyPI pre-release)
22
22
 
23
23
  Published under the same PyPI name as the Python version, as a **pre-release**, so that
24
- `pip install slurmscope` keeps installing the stable Python 1.5.x and the Rust build is only
25
- installed on request (`pip install "slurmscope==2.1.0.dev1"`, or `pipx install --suffix=-rs …` to
24
+ `pip install slurmscope` keeps installing the stable Python 1.6.x and the Rust build is only
25
+ installed on request (`pip install "slurmscope==2.2.0.dev1"`, or `pipx install --suffix=-rs …` to
26
26
  keep both). `pyproject.toml` uses maturin with `bindings = "bin"`: the wheel ships the
27
27
  `slurmscope` executable and no Python module. The version comes from `Cargo.toml`
28
- (`2.1.0-dev.1`, semver), which maturin publishes as `2.1.0.dev1` (PEP 440); `build.rs` exposes the
28
+ (`2.2.0-dev.1`, semver), which maturin publishes as `2.2.0.dev1` (PEP 440); `build.rs` exposes the
29
29
  same PEP 440 form to the program (`--version`, help). `PYPI.md` is the project description shown
30
30
  on PyPI for this release.
31
31
 
@@ -33,7 +33,7 @@ on PyPI for this release.
33
33
  maturin build --release --zig --compatibility manylinux2014 --out dist # Linux x86_64, glibc >= 2.17
34
34
  maturin sdist --out dist # source: needs cargo to install
35
35
  twine check dist/*
36
- twine upload dist/slurmscope-2.1.0.dev1* # API token of the project
36
+ twine upload dist/slurmscope-2.2.0.dev1* # API token of the project
37
37
 
38
38
  Checks made on the artifacts before publishing: wheel contents (binary, metadata, license, SBOM
39
39
  only), highest glibc symbol version required (2.17), absence of the test-only probe, `twine check`,