Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/go-format/test-8558-test-scope-216debd7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
bump: none
---

Test-only: a suite's test-scope header now declares files it reads that the pull-request test selection could not see, so a change to one of them runs the suite; no shipped behavior changes.
5 changes: 5 additions & 0 deletions .changes/markdown-format/test-8558-test-scope-3c91f0e7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
bump: none
---

Test-only: a suite's test-scope header now declares files it reads that the pull-request test selection could not see, so a change to one of them runs the suite; no shipped behavior changes.
5 changes: 5 additions & 0 deletions .changes/source-control/test-8558-test-scope-4450105c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
bump: none
---

Test-only: a suite's test-scope header now declares files it reads that the pull-request test selection could not see, so a change to one of them runs the suite; no shipped behavior changes.
5 changes: 5 additions & 0 deletions .changes/verification/test-8558-test-scope-5e89aad4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
bump: none
---

Test-only: a suite's test-scope header now declares files it reads that the pull-request test selection could not see, so a change to one of them runs the suite; no shipped behavior changes.
2 changes: 1 addition & 1 deletion plugins/go-format/git-hooks/goimports-format.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ("fmt" for a fmt.Println call), removes an unused one, groups the module's own
# imports after third-party ones under -local; the parse-error line is the line
# of the fixture's broken call, counted by hand.
# test-scope: plugins/go-format/git-hooks/entries.json plugins/go-format/lib/git-hooks/check-lib.sh plugins/go-format/lib/git-hooks/install.mjs
# test-scope: plugins/go-format/git-hooks/entries.json plugins/go-format/lib/git-hooks/check-lib.sh plugins/go-format/lib/git-hooks/install.mjs plugins/go-format/.claude-plugin/plugin.json
set -uo pipefail
unset GIT_DIR GIT_WORK_TREE GIT_CONFIG GIT_INDEX_FILE CLAUDECODE AI_AGENT

Expand Down
2 changes: 1 addition & 1 deletion plugins/markdown-format/git-hooks/markdown-check.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Expected values are markdownlint's documented rules: a file must end with a single
# newline (MD047) and an extra blank line goes (MD012), both fixable; inline HTML
# is MD033/no-inline-html and has no fix.
# test-scope: plugins/markdown-format/git-hooks/entries.json plugins/markdown-format/git-hooks/markdown-gates.sh plugins/markdown-format/lib/git-hooks/check-lib.sh plugins/markdown-format/lib/git-hooks/install.mjs
# test-scope: plugins/markdown-format/git-hooks/entries.json plugins/markdown-format/git-hooks/markdown-gates.sh plugins/markdown-format/lib/git-hooks/check-lib.sh plugins/markdown-format/lib/git-hooks/install.mjs plugins/markdown-format/.claude-plugin/plugin.json
set -uo pipefail
unset GIT_DIR GIT_WORK_TREE GIT_CONFIG GIT_INDEX_FILE CLAUDECODE AI_AGENT CLAUDE_PLUGIN_DATA

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# repo test-runner convention for optional toolchains.
# test-scope: plugins/source-control/*.md plugins/source-control/scripts/babysit-*.sh
# test-scope: plugins/source-control/skills/babysit-prs/scripts/*.py plugins/source-control/skills/babysit-prs/scripts/babysit-python.sh ruff.toml
# test-scope: plugins/*/hooks/* .claude/source-control.md docs/conventions/pr-pipeline.yaml .github/actions/check-kill-switch/check-kill-switch.mjs .github/actions/check-trusted-trigger/check-trusted-trigger.mjs .github/scripts/pr-merge/carry-run-cache.mjs .github/scripts/pr-verify/resolve-pr.mjs plugins/source-control/lib/parse-concern-value.sh plugins/source-control/lib/yaml-subset.awk plugins/source-control/skills/babysit-loop/scripts/*.mjs plugins/source-control/skills/babysit-prs/scripts/tests/fixtures/*/*.json plugins/work-items/reference/escalation-marker.md
set -uo pipefail

# Resolve before the cd: BASH_SOURCE is the path as invoked, so re-deriving it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Each case builds its own repository root in a temp directory; expected values
# come from the schema's allowed values (path, live, strict) and the script's stated
# exit codes, not from the script's output.
# test-scope: plugins/verification/lib/parse-concern-value.sh
set -uo pipefail

unset GIT_DIR GIT_WORK_TREE GIT_CONFIG
Expand Down
2 changes: 1 addition & 1 deletion scripts/read-lane-broker-check.test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# test-scope: .github/workflows/pr-run-activity-read.yml .github/actions/request-lane-token/action.yml
# test-scope: .github/workflows/pr-run-activity-read.yml .github/actions/request-lane-token/action.yml .github/standards/runner-policy/package.json
# Runs the shell of two read-lane broker-check steps, lifted from their YAML,
# against the cases the contract states
# (docs/conventions/pr-pipeline/pr-run-activity.md, "The broker-check job"):
Expand Down
Loading