Skip to content

Conversation

@Tener
Copy link
Contributor

@Tener Tener commented Jan 9, 2026

Backport #62513 to branch/v18

Depends on #62730.

Changelog: Azure VM discovery will wait for installation and collect potential errors. The results will update discovery config statistics.

Tener and others added 2 commits January 9, 2026 15:58
…2210)

* Refactor cloud instance watchers to use generic Fetcher interface

* Correct channel initialization order

* fix license corruption

* remove redundant channel initialization

* Refactor watcher to use utils.SyncMap

* Increase timeout duration

* Simplify setup

* remove TODO

* Update lib/srv/server/watcher.go

Co-authored-by: Marco Dinis <[email protected]>

* document NewWatcher function in watcher.go

* Document SetFetchers and DeleteFetchers methods.

* Remove unused parameter from NewWatcher function in EC2 watcher test

* Update lib/srv/discovery/discovery_test.go

Co-authored-by: Chris Thach <[email protected]>

* Update lib/srv/server/watcher.go

Co-authored-by: Chris Thach <[email protected]>

* Update lib/srv/discovery/discovery_test.go

Co-authored-by: Chris Thach <[email protected]>

* Use utils.SyncMap instead of *utils.SyncMap

* `AzureInstances` -> `*AzureInstances`

* `EC2Instances` -> `*EC2Instances`

* `GCPInstances` -> `*GCPInstances`

* Fix initialization race condition.

* post-merge fixes

---------

Co-authored-by: Marco Dinis <[email protected]>
Co-authored-by: Chris Thach <[email protected]>
* Azure VM discovery stats: proto changes

* Azure VM discovery: stats, refactor, add test coverage

* refactor: update Azure VM enrollment to return detailed failure information, change constant names for clarity.

* update test

* Update lib/srv/server/azure_installer.go

Co-authored-by: Noah Stride <[email protected]>

* flip if/else to decrease depth.

* refactor: cache static fetchers in Azure server discovery

---------

Co-authored-by: Noah Stride <[email protected]>
Base automatically changed from tener/backport-62210-branch/v18 to branch/v18 January 10, 2026 19:01
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.

4 participants