@ai-ecoverse/slicc-shared-web 2.10.2 → 2.10.4
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 +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -81,6 +81,8 @@ The caller cancels superseded runs on pull requests only, so a push to `main` ne
|
|
|
81
81
|
- `$RUNNER_TEMP/review/browsers.json`: four headed Chrome instances on one machine (on Xvfb display `:99` when the runner has no `DISPLAY`, since headless Chrome behaves slightly differently), `head` and `base` each linked through the extension and through slicc-cli, on CDP ports 9301 to 9304. For each one the job runs `review-browser` (by default `npm run --if-present review:browser`) in that side's tree with `SLICC_REVIEW_SIDE` (`head` or `base`), `SLICC_REVIEW_LINK` (`extension` or `cli`) and `SLICC_REVIEW_CDP`, so the repo loads its own build into that browser. Every one of them also runs the [harness extension](#harness-extension) (loaded with `--load-extension`), so the review sees pages the way a user with a content-script extension does;
|
|
82
82
|
- `review-prompt`, appended to the shared prompt.
|
|
83
83
|
|
|
84
|
+
The shared prompt sets the bar for a denial: a confirmed problem that users or operators are likely to hit, such as a security or secret exposure, data loss, a crash, a regression in a common path, or a behaviour change without a test. A race or edge case that needs unlikely timing or a rare combination of events gets a comment and, when worth tracking, an issue, but the reviewer approves. A risk the base already has doesn't block either. On a pull request that has been reviewed before, a reviewer denies only for something new and at least as serious as what earlier rounds fixed, so a fix isn't held up by one narrow case after another.
|
|
85
|
+
|
|
84
86
|
A reviewer can attach screenshots: it saves PNGs to `$RUNNER_TEMP/review/shots/` and references them in the summary, a comment or an issue as ``. `post` uploads them to R2 (the bucket in `R2_BUCKET`, `slicc-pr-screenshots` by default, under `<repo>/pr-<n>/<commit>/<reviewer>/`) with `CLOUDFLARE_API_TOKEN`, which only `post` gets, and rewrites each reference to its public URL (`R2_PUBLIC_BASE_URL`); without the token, a reference becomes a link to the run, whose `findings-<reviewer>` artifact holds the files.
|
|
85
87
|
|
|
86
88
|
Each reviewer answers with `findings.json`, held to one JSON schema:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-shared-web",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4",
|
|
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",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"release": "semantic-release"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@ai-ecoverse/slicc-browsers": "1.18.
|
|
70
|
-
"@ai-ecoverse/slicc-cdp": "1.31.
|
|
69
|
+
"@ai-ecoverse/slicc-browsers": "1.18.9",
|
|
70
|
+
"@ai-ecoverse/slicc-cdp": "1.31.6",
|
|
71
71
|
"@biomejs/biome": "2.5.15",
|
|
72
72
|
"lefthook": "2.2.2",
|
|
73
73
|
"monocart-coverage-reports": "2.13.2",
|