bazelbuild / bazelbuild/continuous-integration

`build_flags` are not picked up when running tests

Open
#1,184 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
302
Forks
194
Avg merge
1d 19h
Merged PRs (30d)
41

Description

I would have expected `build_flags` to follow the same behavior as a build flag in a `.bazelrc` and be included in test targets. This does not appear to be the case. Could this either be fixed or clarified somewhere?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Inspect the repository's Bazel CI configuration and compare how build_flags are handled with the equivalent .bazelrc behavior, then reproduce the behavior for test targets. Done means either the flags are applied consistently to tests or the differing behavior is clearly documented.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.