Fix Angular integration test timeout by simplifying fixture - #1323
Merged
Merged
Conversation
- Use --configuration production --optimization=false to skip heavy minification while still testing production config path - Remove unused test dependencies (karma, jasmine) - Remove unused runtime dependencies (oidc-client, platform-server) - Remove test/serve config from angular.json - Reduces packages from 958 to 880, vulnerabilities from 92 to 46 This keeps staging time safely under CF's 15-minute limit while still validating the dotnet-core buildpack's Node.js integration.
ivanovac
force-pushed
the
fix-angular-integration-test-timeout
branch
from
August 21, 2026 07:56
18672a4 to
0b47cb7
Compare
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.
Problem
The Angular integration test (
deploying an angular app) consistently fails due to CF's 15-minute staging timeout.Timeline from failing test logs:
Root Cause
The
angular_dotnetfixture uses Angular 13 with:Solution
Use
--optimization=falsein production buildSkips expensive minification while still testing production configuration path
Remove unused dependencies from package.json:
Remove test and serve targets from angular.json
testarchitect target (karma-based testing)servearchitect target (dev server with proxy)serverarchitect target (SSR)Remove unused files:
Regenerate package-lock.json
Impact
Testing
Related