Skip to content

Test action failing during Bazel build #422

@wangela

Description

@wangela

Pull requests are blocked from merging because the test action is failing due to the Run npm build -- --profile /tmp/bazel-profile-build.gz --jobs 8 step with error:

ERROR: Traceback (most recent call last):
17    File "/home/runner/work/openapi-specification/openapi-specification/WORKSPACE", line 3, column 10, in <toplevel>
18        workspace(
19Error in workspace: workspace() got unexpected keyword argument 'managed_directories'
20ERROR: Error computing the main repository mapping: Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '@bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package

Example action failure on PR #420: https://github.com/googlemaps/openapi-specification/actions/runs/3831825563/jobs/6608901283 and on #417: https://github.com/googlemaps/openapi-specification/actions/runs/3821108689/jobs/6499926213

Note that this repo uses a very old version of @bazel/typescript (PR #410 seeks to update the dependency from 3.7.0 to 5.7.3) and the GitHub homepage for @bazel/typescript deprecates the entire package in favor of a new tool.

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions