Skip to content

Conversation

@ekouts
Copy link
Contributor

@ekouts ekouts commented Oct 16, 2025

Add MAINTENANCE to the available states for nodes that belong in a reservation with the MAINT flag, when the user explicitly requests for this reservation.

Fixes #3572 .

@ekouts ekouts requested review from teojgo and vkarak October 16, 2025 11:36
@ekouts ekouts self-assigned this Oct 16, 2025
@ekouts ekouts changed the title Improve slurm handling of maintenance reservations Add MAINTENANCE to the available states for nodes that belong in a Slurm reservation with the MAINT flag. Oct 16, 2025
@ekouts ekouts changed the title Add MAINTENANCE to the available states for nodes that belong in a Slurm reservation with the MAINT flag. Improve slurm handling of maintenance reservations Oct 16, 2025
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.22%. Comparing base (a71c68b) to head (c0d9fb3).

Files with missing lines Patch % Lines
reframe/core/schedulers/slurm.py 50.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3573      +/-   ##
===========================================
- Coverage    91.26%   91.22%   -0.05%     
===========================================
  Files           62       62              
  Lines        13534    13540       +6     
===========================================
  Hits         12352    12352              
- Misses        1182     1188       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ekouts ekouts changed the title Improve slurm handling of maintenance reservations Improve handling of maintenance reservations in Slurm Oct 16, 2025
@ekouts ekouts marked this pull request as ready for review October 22, 2025 15:05
Comment on lines +444 to +446
# else:
# raise JobSchedulerError(f"could not extract the reservation "
# f"flags for reservation '{reservation}'")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if we want to fail here or silently ignore it?

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.

Improve slurm handling of maintenance reservations

1 participant