Skip to content

Bugfix/ogc 3388 non partly reserved slots - #22

Merged
Daverball merged 7 commits into
masterfrom
bugfix/ogc-3388-non-partly-reserved-slots
Aug 13, 2026
Merged

Bugfix/ogc 3388 non partly reserved slots#22
Daverball merged 7 commits into
masterfrom
bugfix/ogc-3388-non-partly-reserved-slots

Conversation

@Tschuppi81

@Tschuppi81 Tschuppi81 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Fixes reserved_slots_by_reservation dropping the slot on non-partly allocations

@Tschuppi81
Tschuppi81 requested a review from Daverball August 13, 2026 11:57
@codecov-commenter

codecov-commenter commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/libres/db/scheduler.py 85.71% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Comment thread src/libres/db/models/reserved_slot.py Outdated
Comment thread src/libres/db/scheduler.py
Comment thread src/libres/db/scheduler.py Outdated
Tschuppi81 and others added 2 commits August 13, 2026 09:09
Co-authored-by: David Salvisberg <david.salvisberg@seantis.ch>
Comment thread tests/test_scheduler.py
blocker = scheduler.add_blocker(
(datetime(2014, 3, 7, 10, 0), datetime(2014, 3, 7, 12, 0))
)[0]
assert blocker.id is not None

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

session.refresh is not needed, assigned id not None is verified

@Daverball
Daverball merged commit ae05b8b into master Aug 13, 2026
10 checks passed
@Daverball
Daverball deleted the bugfix/ogc-3388-non-partly-reserved-slots branch August 13, 2026 14:12
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.

3 participants