-
Notifications
You must be signed in to change notification settings - Fork 0
Fix CAP-001 (ci) + RWX dispatch trigger #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # RWX ad-hoc dispatch triggers (dormant until dispatched via UI/API/CLI). | ||
| # Proves the wave-ci rwx-dispatch path end to end without touching push CI. | ||
| on: | ||
| cli: | ||
| init: | ||
| commit-sha: ${{ event.git.sha }} | ||
| environment: trial | ||
| dispatch: | ||
| - key: wave-cli-verify | ||
| params: | ||
| - key: environment | ||
| name: Environment label | ||
| description: Free-form label recorded in the run title only. No deploys. | ||
| default: trial | ||
| required: false | ||
| init: | ||
| commit-sha: ${{ event.git.sha }} | ||
| environment: ${{ event.dispatch.params.environment }} | ||
|
|
||
| base: | ||
| image: ubuntu:24.04 | ||
| config: rwx/base 1.2.0 | ||
|
|
||
| tasks: | ||
| - key: code | ||
| call: git/clone 2.1.0 | ||
| with: | ||
| repository: https://github.com/wave-av/cli.git | ||
| ref: ${{ init.commit-sha }} | ||
| github-token: ${{ github.token }} | ||
|
|
||
| - key: node | ||
| call: nodejs/install 1.2.0 | ||
| with: | ||
| node-version: "22.23.2" | ||
|
|
||
| - key: verify | ||
| use: [code, node] | ||
| run: | | ||
| npm ci --no-audit --no-fund | ||
| npm run type-check | ||
| npx vitest run | ||
| env: | ||
| DISPATCH_ENV: ${{ init.environment }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P3: Dispatching an Prompt for AI agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ | |
| "billing", | ||
| "captions", | ||
| "chapters", | ||
| "ci", | ||
| "clip", | ||
| "collab", | ||
| "completion", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: If the RWX base environment omits dev dependencies, this install cannot run the advertised checks reliably:
tscis missing andnpxmay fetch an unpinned Vitest. Usenpm ci --include=dev --no-audit --no-fundso type-check and tests always use the locked dev toolchain.Prompt for AI agents