Skip to content

Core test flake#2143

Merged
aryanku-dev merged 4 commits intomasterfrom
core-test-flake
Mar 17, 2026
Merged

Core test flake#2143
aryanku-dev merged 4 commits intomasterfrom
core-test-flake

Conversation

@aryanku-dev
Copy link
Copy Markdown
Contributor

This pull request adds a new test to the Discovery suite to ensure deterministic skipping of domain validation when a pre-populated pending promise exists. This strengthens the reliability of the domain validation logic by verifying that the validation endpoint is not called if the result is already cached.

Enhancements to domain validation testing:

  • Added a test case to packages/core/test/discovery.test.js that pre-populates the pending map with a resolved promise for a hostname, ensuring the validation endpoint is skipped and the resource is captured as expected.

@aryanku-dev aryanku-dev marked this pull request as ready for review March 12, 2026 14:59
@aryanku-dev aryanku-dev requested a review from a team as a code owner March 12, 2026 14:59
@aryanku-dev aryanku-dev merged commit ab6349d into master Mar 17, 2026
41 checks passed
@aryanku-dev aryanku-dev deleted the core-test-flake branch March 17, 2026 07:29
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.

2 participants