-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat: validate tsconfig outDir vs ts_project(out_dir) #730
Conversation
Test
remote spawn failed: UNIMPLEMENTED: Failed to route action: Failed to analyze initial size class: Failed to read previous execution stats for reduced action digest "1-74756d07ff0869dd2641455b91569e397f9e4653b3456b1be55f6ddf3c663146-232-": Failed to read mutable Protobuf message with digest "1-74756d07ff0869dd2641455b91569e397f9e4653b3456b1be55f6ddf3c663146-232-": Shard 1: unknown service buildbarn.iscc.InitialSizeClassCache remote spawn failed: UNIMPLEMENTED: Failed to route action: Failed to analyze initial size class: Failed to read previous execution stats for reduced action digest "1-cd2b0635d7d8741f0a3681caa747acfbaf87912aec5bfb83375fefe554c389e3-232-": Failed to read mutable Protobuf message with digest "1-cd2b0635d7d8741f0a3681caa747acfbaf87912aec5bfb83375fefe554c389e3-232-": Shard 0: unknown service buildbarn.iscc.InitialSizeClassCache
remote spawn failed: UNIMPLEMENTED: Failed to route action: Failed to analyze initial size class: Failed to read previous execution stats for reduced action digest "1-73635a7baf60e6d0f384bb6b6cc9a12565f6a982538cc951bad81ba7deba1b36-232-": Failed to read mutable Protobuf message with digest "1-73635a7baf60e6d0f384bb6b6cc9a12565f6a982538cc951bad81ba7deba1b36-232-": Shard 2: unknown service buildbarn.iscc.InitialSizeClassCache
remote spawn failed: UNIMPLEMENTED: Failed to route action: Failed to analyze initial size class: Failed to read previous execution stats for reduced action digest "1-68a38e29f00de7b98b884bf830d099f948fd994b7d2e3a02a75ce21f53b04176-232-": Failed to read mutable Protobuf message with digest "1-68a38e29f00de7b98b884bf830d099f948fd994b7d2e3a02a75ce21f53b04176-232-": Shard 1: unknown service buildbarn.iscc.InitialSizeClassCache remote spawn failed: UNIMPLEMENTED: Failed to route action: Failed to analyze initial size class: Failed to read previous execution stats for reduced action digest "1-f29da188f160329d6345dfbcadd05f219075932fb9be14dca3fd0612c3a489b8-232-": Failed to read mutable Protobuf message with digest "1-f29da188f160329d6345dfbcadd05f219075932fb9be14dca3fd0612c3a489b8-232-": Shard 2: unknown service buildbarn.iscc.InitialSizeClassCache 124 other actions failed to build. 💡 To reproduce the build failures, run
Buildifier Format |
After some discussions with @jbedard, I tested if the exclude is still needed at all for several parameters. root_dir parameter testing (Latest rules_ts + default TS and node version)
out_dir parameter testing (Latest rules_ts + default TS and node version)
declaration_dir parameter testing declaration=True (Latest rules_ts + default TS and node version)
All tests were made before the changes in this branch. No tests show the need for Is there a test case that still fails with the latest And should we make these errors more friendly? |
TestAll tests were cache hits 153 tests (100.0%) were fully cached saving 10s. Buildifier Format |
Changes are visible to end-users: no
Test plan
Resolves: #644
By adding a validation to the tsconfig file. If a out_dir parameter is set to the rule and the tsconfig file does not have the exclude key set the build will fail