@ai-ecoverse/slicc-shared-web 2.16.1 → 2.18.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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -93,7 +93,7 @@ The caller cancels superseded runs on pull requests only, so a push to `main` ne
93
93
  - `$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;
94
94
  - `review-prompt`, appended to the shared prompt.
95
95
 
96
- 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.
96
+ 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. On a pull request labelled exactly `private-fix`, a label that marks fixes kept private until release, the public summary says only what the change does, never what was exposed or broken before it, and findings are reported in full in the same neutral wording.
97
97
 
98
98
  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 `![what it shows](shots/name.png)`. `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.
99
99
 
@@ -137,7 +137,8 @@ The commands in `lint`, `test`, `deploy`, `review-browser` and `after-release` r
137
137
  |---|---|---|
138
138
  | `node-version` | `24` | |
139
139
  | `runs-on` | `cloud-run-job` | every job but `release`, which runs on `ubuntu-latest` because npm's trusted publishing takes OIDC tokens only from GitHub-hosted runners; a fork's pull request runs on `ubuntu-latest` too, so fork code never reaches the pool |
140
- | `timeout-minutes` | `20` | `lint`, `deploy`, each shard and `release`; a review gets `review-timeout-minutes` |
140
+ | `timeout-minutes` | `20` | `lint`, `deploy`, each shard, and `release` unless `release-timeout-minutes` is set; a review gets `review-timeout-minutes` |
141
+ | `release-timeout-minutes` | `0` | the cap for `release` alone when above 0, such as a release that waits for npm to serve packages it just published; `0` keeps `timeout-minutes` |
141
142
  | `lint` | `npm run lint` | |
142
143
  | `chrome` | stable | a Chrome for Testing version for `slicc-cdp install-browser` |
143
144
  | `test` | `npm test` | runs on Xvfb display `:99` when the runner has no `DISPLAY`; Xvfb is installed where the runner has root or sudo, and the step fails naming the runner when it has neither Xvfb nor root |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-shared-web",
3
- "version": "2.16.1",
3
+ "version": "2.18.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.28.2",
79
- "@ai-ecoverse/slicc-cdp": "1.54.4",
80
- "@biomejs/biome": "2.6.7",
78
+ "@ai-ecoverse/slicc-browsers": "1.35.0",
79
+ "@ai-ecoverse/slicc-cdp": "2.1.26",
80
+ "@biomejs/biome": "2.6.8",
81
81
  "lefthook": "2.2.2",
82
82
  "monocart-coverage-reports": "3.2.1",
83
- "pnpm": "12.20.0",
83
+ "pnpm": "12.22.0",
84
84
  "semantic-release": "25.0.9"
85
85
  },
86
86
  "peerDependencies": {