@ai-ecoverse/slicc-shared-web 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -114,11 +114,11 @@ Each reviewer answers with `findings.json`, held to one JSON schema:
|
|
|
114
114
|
|
|
115
115
|
**Artifacts the caller built.** A caller whose own jobs build something the tests or the reviewers need (packages, say) runs them before the pipeline (`needs:` on the job that `uses:` it) and names them with `artifacts`, a [download-artifact](https://github.com/actions/download-artifact) `pattern` such as `host-*`. Every test shard gets the matching artifacts of the run in `$RUNNER_TEMP/artifacts/<artifact>/`, and each reviewer in `$RUNNER_TEMP/review/artifacts/<artifact>/`, before `review-browser` runs, so the hook can load the change's build into both sides' browsers; the test step and the hook get that directory as `SLICC_ARTIFACTS`, and the prompt names it. Without `artifacts` nothing is downloaded and `SLICC_ARTIFACTS` is empty.
|
|
116
116
|
|
|
117
|
-
**Review** is the check that stands for the reviews. On a pull request that gets a review it passes when both reviewers' `findings.json` say `approved`; when the repo can't read `AWS_BEARER_TOKEN_BEDROCK`, the reviewers don't start and it fails, naming the secret. On one that doesn't (a Renovate pull request outside `review-renovate`) it passes when `integration` did. In the merge queue it always passes, since the pull request was reviewed already. Require it next to `ci / integration`, as `ci / review`.
|
|
117
|
+
**Review** is the check that stands for the reviews. On a pull request that gets a review it passes when both reviewers' `findings.json` say `approved`; when the repo can't read `AWS_BEARER_TOKEN_BEDROCK`, the reviewers don't start and it fails, naming the secret. On one that doesn't (a Renovate pull request outside `review-renovate`, or [one labelled `private-fix`](#which-pull-requests-get-a-review)) it passes when `integration` did. In the merge queue it always passes, since the pull request was reviewed already. Require it next to `ci / integration`, as `ci / review`.
|
|
118
118
|
|
|
119
119
|
### Which pull requests get a review
|
|
120
120
|
|
|
121
|
-
Every pull request does, except Renovate's: one opened by `renovate[bot]` from a `renovate/` branch, on an event `renovate[bot]`, or a bot listed in `renovate-bots`, caused (a push by anyone else onto that branch gets a review). A Renovate branch is `renovate/<group slug>`, or `renovate/major-<group slug>` for a major, or `renovate/<dependency>-<version>` outside a group. Its pull request gets a review only when the slug, without `major-`, matches one of the globs in `review-renovate`, one per line:
|
|
121
|
+
Every pull request does, except one labelled `private-fix` (below) and Renovate's: one opened by `renovate[bot]` from a `renovate/` branch, on an event `renovate[bot]`, or a bot listed in `renovate-bots`, caused (a push by anyone else onto that branch gets a review). A Renovate branch is `renovate/<group slug>`, or `renovate/major-<group slug>` for a major, or `renovate/<dependency>-<version>` outside a group. Its pull request gets a review only when the slug, without `major-`, matches one of the globs in `review-renovate`, one per line:
|
|
122
122
|
|
|
123
123
|
```yaml
|
|
124
124
|
with:
|
|
@@ -131,6 +131,8 @@ Every pull request does, except Renovate's: one opened by `renovate[bot]` from a
|
|
|
131
131
|
|
|
132
132
|
A repo whose own GitHub App pushes onto Renovate's branches (a refresh commit, say) names it in `renovate-bots`, by login, one per line or comma-separated, with or without `[bot]`: `homescoop-renovate-refresh`. A push by a listed bot onto a `renovate/` branch of a pull request `renovate[bot]` opened counts as Renovate's own, so it skips review exactly like Renovate's pushes unless the group matches `review-renovate`, and both reviewers accept the bot as the actor when the group does get a review. A push by it anywhere else gets a review as usual. List only a bot the repo controls. An entry that isn't a plain login (letters, digits and hyphens), `*` or any other wildcard included, fails `lint`.
|
|
133
133
|
|
|
134
|
+
A pull request labelled exactly `private-fix`, a label that marks fixes kept private until release, gets no bot review when the label is on it as the run starts, in the event or as `lint` reads it through the API with the job token. `context`, `reviewer` and `post` are skipped, so no comment, findings artifact or model output appears, and `review` passes when `integration` did, with the one line `bot review skipped: private-fix; reviewed privately`. When `lint` can't read the labels after three attempts, it fails rather than start a review. Open such a pull request with `gh pr create --label private-fix`: a run that started before the label was added still reviews and comments. Anyone who can label pull requests can turn the bot review off this way, so a repo that uses the label requires a human approval in its branch protection.
|
|
135
|
+
|
|
134
136
|
The commands in `lint`, `test`, `deploy`, `review-browser` and `after-release` run with `bash -eo pipefail -c`, so a multi-line command stops at its first failing line, a failure inside a pipe included.
|
|
135
137
|
|
|
136
138
|
| Input | Default | |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-shared-web",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"description": "Shared Renovate, Biome, TypeScript, lefthook and GitHub Actions configuration, plus the CDP integration-test harness, for SLICC's web repos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"release": "semantic-release"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@ai-ecoverse/slicc-browsers": "1.
|
|
79
|
-
"@ai-ecoverse/slicc-cdp": "2.
|
|
78
|
+
"@ai-ecoverse/slicc-browsers": "1.43.0",
|
|
79
|
+
"@ai-ecoverse/slicc-cdp": "2.2.5",
|
|
80
80
|
"@biomejs/biome": "2.6.8",
|
|
81
81
|
"lefthook": "2.2.2",
|
|
82
82
|
"monocart-coverage-reports": "3.2.1",
|
|
83
|
-
"pnpm": "12.
|
|
83
|
+
"pnpm": "12.23.0",
|
|
84
84
|
"semantic-release": "25.0.9"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|