Skip to content

fix: handle large Bazel dependency query output - #24

Merged
helenyugithub merged 3 commits into
mainfrom
helen/bazel-query-validation
Sep 25, 2026
Merged

helenyugithub merged 3 commits into
mainfrom
helen/bazel-query-validation

Conversation

@helenyugithub

Copy link
Copy Markdown

Bazel dependency queries can exceed Node's default 1 MiB output buffer and abort release generation. Raise the limit to 64 MiB and filter external labels in Bazel before returning output to Node.

Recreates #22 against main after its original base, #13, merged. Preserves the newer regression tests and makes the large-output test portable across platforms.

Validation: compilation, lint, 172 targeted tests, and both real Bazel workspace integration tests pass.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@helenyugithub
helenyugithub merged commit 29a1c70 into main Sep 25, 2026
10 checks passed
@helenyugithub
helenyugithub deleted the helen/bazel-query-validation branch September 25, 2026 21:04
@nombotv2 nombotv2 Bot mentioned this pull request Sep 25, 2026
helenyugithub pushed a commit that referenced this pull request Sep 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[18.3.0](v18.2.2...v18.3.0)
(2026-09-25)


### Features

* add bazel-deps-query config to dynamically resolve additional paths
([#13](#13))
([f04a10e](f04a10e))


### Bug Fixes

* handle large Bazel dependency query output
([#24](#24))
([29a1c70](29a1c70))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: nombotv2[bot] <230861728+nombotv2[bot]@users.noreply.github.com>
helenyugithub added a commit to nominal-io/release-please-action that referenced this pull request Sep 25, 2026
Updates the bundled `@nominal-io/release-please` from 18.2.1 to 18.3.0
and rebuilds `dist/`. The action runs `dist/index.js`, so
release-please's version doesn't change until `dist/` is rebuilt.
Supersedes #6 (18.2.2).

Because `nominal-io/git-automations`' release-please wrapper pins this
action at `@main`, merging ships everything in the fork since 18.2.1 to
every repo that uses the wrapper:

- nominal-io/release-please#17: sync with upstream release-please
- nominal-io/release-please#18: fail when release data lacks a candidate
- nominal-io/release-please#21: scope the untagged-merged guard to
affected release branches
- nominal-io/release-please#13: `bazel-deps-query` config
- nominal-io/release-please#24: handle large Bazel query output

`bazel-deps-query` only runs for configs that set it. Scout opts in with
nominal-io/scout#22114, which also needs nominal-io/git-automations#26.

### Testing

- Rebuilt with `npm run build` on Node 20, matching CI. `dist/index.js`
now contains the `bazel-deps-query` handling.
- `npm test`: 24 passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants