Repository navigation
test: make native CI guards deterministic and isolate download retries - #36
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native CI has encountered two distinct failures: a popover deadline test that depends on simulator scheduling, and HTTP 504/timeouts downloading Swift binary dependencies or the Gradle distribution before tests start.
Inject the dismissal deadline scheduler internally into NativeUIOverlayHost. Production retains its four-second main-queue deadline. Tests explicitly fire scheduled work and verify the deadline, one cancellation, completion of overlapping callers, protection against late duplicate completion, and cancellation of the fallback after normal disappearance.
Resolve Swift dependencies and download the Gradle distribution in dedicated preparation steps. Swift resolution and both test invocations share a source-package directory. Only recognized transient download errors are retried, for at most three attempts; invalid dependencies and checksum/assertion errors fail immediately. Build and test commands are not wrapped in retries.
Validation:
The CI run on this updated head remains the acceptance check. This does not claim to eliminate external service outages or address the separate npm publish error.