Skip to content

[v17] Improve the dynamic Windows desktop reconciler#58062

Merged
zmb3 merged 1 commit intobranch/v17from
zmb3/v17-backport-57724
Aug 19, 2025
Merged

[v17] Improve the dynamic Windows desktop reconciler#58062
zmb3 merged 1 commit intobranch/v17from
zmb3/v17-backport-57724

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 19, 2025

The reconciler runs in the Windows desktop service, watching for dynamic_windows_desktop resources that match its configured labels, and creating corresponding windows_desktop resources for any matches.

This change makes several improvements to the reconciler:

  • emit a debug-level log entry showing how long the reconciliation took
  • move more state into local variables in the reconciler goroutine
  • ensure that we hit the local process cache instead of the backend
  • remove a suspicious delete operation that seems to be unnecessary at best and actively harmful at worst

Backports #57724

Changelog: Fixed an issue that could cause some hosts not to register dynamic Windows desktops.

@zmb3 zmb3 force-pushed the zmb3/v17-backport-57724 branch 2 times, most recently from 515a9e3 to ccbc9e1 Compare August 19, 2025 18:13
The reconciler runs in the Windows desktop service, watching for
dynamic_windows_desktop resources that match its configured labels,
and creating corresponding windows_desktop resources for any matches.

This change makes several improvements to the reconciler:

- emit a debug-level log entry showing how long the reconciliation took
- move more state into local variables in the reconciler goroutine
- ensure that we hit the local process cache instead of the backend
- remove a suspicious delete operation that seems to be unnecessary
  at best and actively harmful at worst

Co-authored-by: Tim Ross <tim.ross@goteleport.com>
@zmb3 zmb3 force-pushed the zmb3/v17-backport-57724 branch from ccbc9e1 to 0811056 Compare August 19, 2025 18:19
@zmb3 zmb3 added this pull request to the merge queue Aug 19, 2025
Merged via the queue into branch/v17 with commit be245ba Aug 19, 2025
39 checks passed
@zmb3 zmb3 deleted the zmb3/v17-backport-57724 branch August 19, 2025 19:14
@doggydogworld doggydogworld mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants