Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3a15c73e95
commit
68d22e28fe
4 files changed
+5
-6
No files matched your search
@@ -19,4 +19,4 @@ jobs:
|
||||
SERVER_URL: ${{ gitea.server_url }}
|
||||
REPOSITORY: ${{ gitea.repository }}
|
||||
SHA: ${{ gitea.sha }}
|
||||
TOKEN: ${{ secrets.PACKAGE_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
@@ -98,4 +98,4 @@ Releases are published by the manually started `release` workflow on Gitea Actio
|
||||
|
||||
Every step skips itself when done, so starting the workflow again completes a release that only partly succeeded.
|
||||
|
||||
To release: add a dated `## [x.y.z]` entry to `CHANGELOG.md`, merge it to `main`, then start the workflow. It needs a token with `write:package` and `write:repository` rights: the job token if it has them, otherwise a `PACKAGE_TOKEN` secret.
|
||||
To release: add a dated `## [x.y.z]` entry to `CHANGELOG.md`, merge it to `main`, then start the workflow. It needs the `PACKAGE_TOKEN` repository secret, a token with `write:package` and `write:repository` rights.
|
||||
@@ -10,7 +10,7 @@ Results of the verification list in `docs/spec.md`. Run on 2026-10-03 against op
|
||||
| 2 | Throwing `setup` disables only this plugin | Done: yes, loudly |
|
||||
| 3 | Config `websearch.provider` vs `editor.default.set` | Done: config wins |
|
||||
| 4 | Install by name from the Gitea registry | Done: works with a user-level scope mapping |
|
||||
| 5 | Release job token has package-write rights | Not verified: the release used the `PACKAGE_TOKEN` secret |
|
||||
| 5 | Release token has package-write rights | Done: the release uses the `PACKAGE_TOKEN` secret |
|
||||
| 6 | `@opencode/plugin` install weight | Done |
|
||||
| 7 | `npm run smoke` against the real fastCRW server | Done |
|
||||
| 8 | Typings, `time` shape, 429 cooldown | Done: a 429 from our plugin triggers no cooldown |
|
||||
@@ -57,7 +57,7 @@ Release 0.0.1 is in the registry, linked to this repository, with tag `v0.0.1` (
|
||||
|
||||
### 5. Release token
|
||||
|
||||
The release workflow succeeded, but the repository has a `PACKAGE_TOKEN` secret and the workflow prefers it over the job token, so the job-token fallback is untested. Tag creation and the package link worked with that token.
|
||||
The release workflow succeeded with the `PACKAGE_TOKEN` repository secret (rights `write:package` and `write:repository`): publishing, tag creation and the package link all worked. Decision: that secret stays, and the workflow uses it alone; the untested job-token fallback was removed.
|
||||
|
||||
### 6. `@opencode/plugin` install weight
|
||||
|
||||
@@ -76,7 +76,6 @@ From `@opencode/schema` 2.0.22: a result is `{ url: string, title?: string, cont
|
||||
- Decided against a root `index.js`: local testing uses a drop-in shim (see the README), and the package is installed by name through the registry.
|
||||
- Done: README install section and examples corrected (no `~` paths, directories only for local entries).
|
||||
- Optional: decide whether the generic user-facing error is acceptable, since our detailed messages are not surfaced.
|
||||
- Optional: remove the `PACKAGE_TOKEN` secret and run the release workflow once more to test the job-token fallback.
|
||||
|
||||
## Useful for later runs
|
||||
|
||||
|
||||
+1
-1
@@ -103,7 +103,7 @@ Run once on a real opencode v2 install; a failed check reopens the design as a n
|
||||
2. Does a throwing `setup` disable only this plugin, not opencode startup?
|
||||
3. Precedence of config `websearch.provider` vs `editor.default.set`.
|
||||
4. Does install-by-name from the Gitea registry work with a scoped `.npmrc` (`@haylan:registry=...`)? Fallback: tarball or local path.
|
||||
5. Does the release workflow's job token have package-write rights? Fallback: a `write:package` secret.
|
||||
5. Release token rights. Settled: the workflow uses a `PACKAGE_TOKEN` secret with `write:package` and `write:repository`; there is no job-token fallback.
|
||||
6. Does `npm install` of `@opencode/plugin` drag in `solid-js` and the OpenTUI peers? If heavy, move it to `peerDependencies` plus `devDependencies`.
|
||||
7. `npm run smoke` against the real fastCRW server (`CRW_API_URL`/`CRW_API_KEY`): record the real response shape (`data[]` vs `data.results`).
|
||||
8. Confirm the exact `@opencode/plugin` TypeScript types, the shape of `time`, and that a 429 status in an error message triggers opencode's provider cooldown.
|
||||
|
||||
Reference in new issue
Block a user