Skip to content

agents: document test construct comments and rule domain separation - #4255

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents-learn-testing-and-rules
Oct 13, 2026
Merged

rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents-learn-testing-and-rules

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Document inline comment expectations for non-obvious test constructs and
clarify rule trigger selection and domain separation.

Unusual test constructs (such as single-branch select() expressions
used to exercise macro select() handling) appear accidental without an
explanatory comment. Similarly, general domain rule files
(starlark.md, bzl.md, python.md, docs.md) should remain separate
from rules_python-specific invariants (rules_python.md).

Update testing.md to require inline comments on non-obvious test
constructs, and update rule-creator/SKILL.md to document
model_decision vs glob triggers and rule domain separation.

Add guidance to testing.md to comment non-obvious test constructs (such
as single-branch select() expressions used to test macro select()
handling), and document model_decision vs glob triggers and domain
separation in rule-creator/SKILL.md.
@rickeylev
rickeylev requested a review from aignas as a code owner October 13, 2026 04:15
@rickeylev
rickeylev enabled auto-merge October 13, 2026 04:16
@rickeylev
rickeylev merged commit 1fa62e9 into bazel-contrib:main Oct 13, 2026
5 checks passed
@rickeylev
rickeylev deleted the agents-learn-testing-and-rules branch October 13, 2026 04:34
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.

1 participant