Pulse/internal/config
rcourtman 8400976e80 fix: wait for async save in guest metadata test
The TestGuestMetadataStore_GetWithLegacyMigration_ClusteredMatchesNodeFormat
test was flaky because it triggered an async save in GetWithLegacyMigration
but didn't wait for it to complete. When the test ended, t.TempDir() tried
to clean up while the goroutine was still writing, causing 'directory not
empty' errors on CI.

Added time.Sleep(100ms) to wait for the async save, matching the pattern
used in other similar tests in the same file.
2025-12-18 22:48:15 +00:00
..
ai.go fix: guest URL icon now appears/disappears immediately after AI sets/removes it 2025-12-18 14:42:47 +00:00
ai_usage_persistence_test.go feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
api_tokens.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
api_tokens_test.go feat: add Kubernetes platform support 2025-12-12 21:31:11 +00:00
client_helpers.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
client_helpers_test.go style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
config.go v5: gate legacy sensor-proxy and prune dev docs 2025-12-18 21:51:25 +00:00
config_utils_test.go test: Add DiscoveryConfig UnmarshalJSON tests 2025-12-02 02:29:38 +00:00
detect_root.go WIP: Save all pending changes including frontend updates and unified agent scaffolding 2025-11-25 11:27:07 +00:00
docker_metadata.go refactor(ui): standardize URL editing with shared UrlEditPopover component 2025-12-18 22:22:55 +00:00
docker_metadata_test.go Add unit tests for DockerMetadataStore (internal/config) 2025-11-30 17:20:46 +00:00
export.go refactor: Use zerolog instead of fmt.Printf in config export 2025-12-02 16:27:54 +00:00
export_test.go test: Add ImportConfig error path tests 2025-12-02 02:32:06 +00:00
guest_metadata.go fix: guest URL icon now appears/disappears immediately after AI sets/removes it 2025-12-18 14:42:47 +00:00
guest_metadata_test.go fix: wait for async save in guest metadata test 2025-12-18 22:48:15 +00:00
host_metadata.go Add AI monitoring enhancements and host metadata features 2025-12-09 16:27:46 +00:00
import_transaction.go feat: production-ready import/export with API tokens and transactional rollback 2025-10-21 14:37:44 +00:00
import_transaction_test.go test: Add StageFile transaction tests 2025-12-02 02:34:20 +00:00
oidc.go Add OIDC CA bundle support 2025-11-22 09:44:03 +00:00
oidc_test.go test: add regression test for OIDC env vars with nil config (#853) 2025-12-16 21:02:47 +00:00
persistence.go fix(config): avoid deadlock saving empty nodes config 2025-12-17 13:28:06 +00:00
persistence_deadlock_test.go fix(config): avoid deadlock saving empty nodes config 2025-12-17 13:28:06 +00:00
persistence_fail_test.go Harden setup token flow and enforce encrypted persistence 2025-10-25 16:00:37 +00:00
persistence_test.go test: Add SaveNodesConfigAllowEmpty test and document deadlock 2025-12-02 02:54:49 +00:00
watcher.go Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00