Skip to content

Stablize CI tests #30669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 8, 2025
Merged

Stablize CI tests #30669

merged 5 commits into from
Jul 8, 2025

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jul 8, 2025

See each commit

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Jul 8, 2025
@alan-agius4 alan-agius4 changed the title build: change size to "medium" build: change size to "medium" and “small” Jul 8, 2025
@alan-agius4 alan-agius4 force-pushed the test-size-medium branch 5 times, most recently from c3471a2 to 5af5262 Compare July 8, 2025 09:20
@alan-agius4 alan-agius4 requested a review from jkrems July 8, 2025 09:21
@alan-agius4 alan-agius4 added the target: rc This PR is targeted for the next release-candidate label Jul 8, 2025
@alan-agius4 alan-agius4 marked this pull request as ready for review July 8, 2025 09:21
@alan-agius4 alan-agius4 force-pushed the test-size-medium branch 5 times, most recently from c517191 to 01beccc Compare July 8, 2025 10:20
@alan-agius4 alan-agius4 removed the request for review from jkrems July 8, 2025 11:15
@alan-agius4 alan-agius4 force-pushed the test-size-medium branch 4 times, most recently from 2b9cdc1 to e586379 Compare July 8, 2025 12:45
@alan-agius4 alan-agius4 changed the title build: change size to "medium" and “small” Stablize CI tests Jul 8, 2025
There are several warnings about tests whose specified size is too big. These tests shards run under 300s and thus `medium` is more appropiate.
These test do not need the contents of the `main.ts`
The default 2.5-minute timeout is often unnecessary and can interfere with test execution. Specifically, Bazel may terminate the test before Jasmine does, making it harder to identify which test is causing the issue.
Significantly reduces the number of application builds performed in this test
@alan-agius4 alan-agius4 requested a review from jkrems July 8, 2025 13:16
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 8, 2025
// Default timeout for large specs is 2.5 minutes.
jasmine.DEFAULT_TIMEOUT_INTERVAL = 150000;
// Default timeout for large specs is 60s.
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60_000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ Always great to see these decrease!

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 8, 2025
@alan-agius4 alan-agius4 merged commit f5c953d into angular:main Jul 8, 2025
30 of 32 checks passed
@alan-agius4 alan-agius4 deleted the test-size-medium branch July 8, 2025 13:34
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 20.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants