Skip to content

remote/coordinator: publish correct place after reservation re-scheduling#1869

Open
alextercete wants to merge 1 commit into
labgrid-project:masterfrom
ARM-software:scheduler-publish-correct-place
Open

remote/coordinator: publish correct place after reservation re-scheduling#1869
alextercete wants to merge 1 commit into
labgrid-project:masterfrom
ARM-software:scheduler-publish-correct-place

Conversation

@alextercete
Copy link
Copy Markdown
Contributor

Description
Small bug fix in schedule_reservations() where the update notification could publish a stale/incorrect place due to reuse of a loop variable. Now it publishes the place corresponding to the name whose reservation mapping actually changed.

Checklist

  • PR has been tested

…ling

Fix a bug in schedule_reservations() where the update notification could
publish a stale/incorrect place due to reuse of a loop variable. Now it
publishes the place corresponding to the name whose reservation mapping
actually changed.

Signed-off-by: Alex Tercete <alex.tercete@arm.com>
Reviewed-by: Alex Tercete <alex.tercete@arm.com> # gatekeeper
Co-authored-by: Idan Saadon <idan.saadon@arm.com>
@alextercete alextercete changed the title remote/coordinator: publish correct place after reservation re-schedu… remote/coordinator: publish correct place after reservation re-scheduling May 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 46.0%. Comparing base (c027b2d) to head (ac02e29).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
labgrid/remote/coordinator.py 0.0% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1869   +/-   ##
======================================
  Coverage    46.0%   46.0%           
======================================
  Files         180     180           
  Lines       14439   14439           
======================================
  Hits         6654    6654           
  Misses       7785    7785           
Flag Coverage Δ
3.10 46.0% <0.0%> (ø)
3.11 46.0% <0.0%> (ø)
3.12 46.0% <0.0%> (ø)
3.13 46.0% <0.0%> (ø)
3.14 46.0% <0.0%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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