Skip to content

Repoint the dead required context: the repair as a script, not a command to type - #1337

Merged
hyperpolymath merged 2 commits into
mainfrom
arena/a3689015-standards
Oct 24, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
arena/a3689015-standards

fix(protection): ship the required-context repair as a script, not a …

c8e8861
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 24, 2026 in 29s

Annotations

Check warning on line 25 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWo&open=AaFvz9asMR3EMC2WMvWo&pullRequest=1337

Check failure on line 160 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvW1&open=AaFvz9asMR3EMC2WMvW1&pullRequest=1337

Check warning on line 25 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWn&open=AaFvz9asMR3EMC2WMvWn&pullRequest=1337

Check failure on line 110 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW6&open=AaFvz9kFMR3EMC2WMvW6&pullRequest=1337

Check warning on line 21 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWm&open=AaFvz9asMR3EMC2WMvWm&pullRequest=1337

Check warning on line 89 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWv&open=AaFvz9asMR3EMC2WMvWv&pullRequest=1337

Check warning on line 30 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWs&open=AaFvz9asMR3EMC2WMvWs&pullRequest=1337

Check warning on line 98 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWx&open=AaFvz9asMR3EMC2WMvWx&pullRequest=1337

Check warning on line 164 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using the literal '[.rules[] | select(.type==\"required_status_checks\") | .parameters.required_sta…' 4 times.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvXC&open=AaFvz9kFMR3EMC2WMvXC&pullRequest=1337

Check warning on line 102 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWy&open=AaFvz9asMR3EMC2WMvWy&pullRequest=1337

Check failure on line 132 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW9&open=AaFvz9kFMR3EMC2WMvW9&pullRequest=1337

Check failure on line 132 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvW0&open=AaFvz9asMR3EMC2WMvW0&pullRequest=1337

Check warning on line 59 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWu&open=AaFvz9asMR3EMC2WMvWu&pullRequest=1337

Check failure on line 113 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWz&open=AaFvz9asMR3EMC2WMvWz&pullRequest=1337

Check failure on line 101 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW4&open=AaFvz9kFMR3EMC2WMvW4&pullRequest=1337

Check failure on line 93 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW2&open=AaFvz9kFMR3EMC2WMvW2&pullRequest=1337

Check failure on line 115 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW7&open=AaFvz9kFMR3EMC2WMvW7&pullRequest=1337

Check failure on line 167 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvXA&open=AaFvz9kFMR3EMC2WMvXA&pullRequest=1337

Check warning on line 24 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWq&open=AaFvz9asMR3EMC2WMvWq&pullRequest=1337

Check failure on line 144 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW-&open=AaFvz9kFMR3EMC2WMvW-&pullRequest=1337

Check failure on line 167 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW_&open=AaFvz9kFMR3EMC2WMvW_&pullRequest=1337

Check failure on line 101 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvW3&open=AaFvz9kFMR3EMC2WMvW3&pullRequest=1337

Check failure on line 99 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWw&open=AaFvz9asMR3EMC2WMvWw&pullRequest=1337

Check warning on line 30 in scripts/tests/fix-required-context-name-test.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9asMR3EMC2WMvWr&open=AaFvz9asMR3EMC2WMvWr&pullRequest=1337

Check failure on line 167 in scripts/fix-required-context-name.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.

See more on https://sonarcloud.io/project/issues?id=hyperpolymath_standards&issues=AaFvz9kFMR3EMC2WMvXB&open=AaFvz9kFMR3EMC2WMvXB&pullRequest=1337