mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Improves the partial compliance golden generation to not rely on large files being transmitted via `stdout`. Instead the files are written directly as it's done in idiomatic Bazel generation actions. In addition, we add extra stdout logging for the Bazel action, to see if the process is actually invoked in RBE workers. Right now those are occassionally stuck, but neither us, nor the RBE team can see anything running, and they're occasionally stuck for 1hr. PR Close #60427
18 lines
648 B
TypeScript
18 lines
648 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {fs} from '../test_helpers/get_compliance_tests';
|
|
|
|
import {generateGoldenPartial} from './generate_golden_partial';
|
|
|
|
// TODO(devversion): Remove this when RBE issues are resolved.
|
|
// tslint:disable-next-line
|
|
console.log('TEMPORARY FOR DEBUGGING: Building golden partial:', process.argv.slice(2));
|
|
|
|
const [testTsconfigPath, outputPath] = process.argv.slice(2);
|
|
generateGoldenPartial(fs.resolve(testTsconfigPath), fs.resolve(outputPath));
|