Skip to content

NOTASK: Fix exporter decoding of unsigned Slurm values - #2990

Draft
ali-sattari wants to merge 1 commit into
mainfrom
notask/fix-exporter-job-priority-overflow
Draft

ali-sattari wants to merge 1 commit into
mainfrom
notask/fix-exporter-job-priority-overflow

Conversation

@ali-sattari

Copy link
Copy Markdown
Collaborator

Problem

Exporter collection fails when Slurm returns unsigned values such as job priority 4294967293 that overflow the generated client’s signed integer fields.

Solution

Decode only fields needed for metrics, widen RPC counters and user IDs, and handle unset/infinite numeric sentinels.

Testing

Validated with regression tests reproducing the failures on main, race-enabled tests, lint, and repository-wide compilation.

Release Notes

Fix exporter collection failures due to int overflow when Slurm API returns unsigned values.

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