-
-
Notifications
You must be signed in to change notification settings - Fork 37
test(e2e): harden E2E infra and add base CI #155
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9917880
fix(stripe): include productId in webhook-normalized providerProduct
maxktz d20d171
test(e2e): automate Stripe checkout, consolidate test configs
maxktz 66d43d3
test(e2e): parallelize smoke tests via webhook hub
maxktz c517b0c
chore(e2e): drop ambiguous "test" script, per-provider watch variants
maxktz 58d317f
test(e2e): reorganize test structure
maxktz ccdae9f
Merge remote-tracking branch 'origin/main' into feat/ci-tests
maxktz 157f6f9
chore(ci): add base pull request checks
maxktz 18983d0
Merge remote-tracking branch 'origin/main' into feat/ci-tests
maxktz 34db731
fix(ci): skip git hook install in automation
maxktz da99bde
chore: install git hooks via prepare
maxktz 25416ca
chore(landing): use bunx in vercel config
maxktz 51da3d5
test(e2e): add stripe GitHub Actions workflow
maxktz 081e379
test(e2e): make workflow manual and serialize stripe
maxktz f16aa24
test(e2e): harden Stripe checkout automation
maxktz d0223ed
Revert "test(e2e): harden Stripe checkout automation"
maxktz f72eb00
test(e2e): expand CI coverage and release gate
maxktz cf293e2
test(e2e): fix workflow gating and harness cleanup
maxktz a6b70c6
Merge remote-tracking branch 'origin/main' into feat/ci-tests
maxktz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - synchronize | ||
| - reopened | ||
| - ready_for_review | ||
| push: | ||
| branches: | ||
| - main | ||
| merge_group: | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| lint: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-lint-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.13 | ||
|
|
||
| - name: Install | ||
| run: bun install --frozen-lockfile | ||
|
|
||
| - name: Lint | ||
| run: bun lint | ||
|
|
||
| - name: Format | ||
| run: bun format:check | ||
|
|
||
| typecheck: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-typecheck-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.13 | ||
|
|
||
| - name: Install | ||
| run: bun install --frozen-lockfile | ||
|
|
||
| - name: Typecheck | ||
| run: bun typecheck | ||
|
|
||
| unit: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| timeout-minutes: 15 | ||
| concurrency: | ||
| group: ${{ github.workflow }}-unit-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
|
|
||
| - uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: 1.3.13 | ||
|
|
||
| - name: Install | ||
| run: bun install --frozen-lockfile | ||
|
|
||
| - name: Unit tests | ||
| run: bun test:unit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Concurrency group typo: CLI job is in the Stripe lane.
The
clijob's concurrency group is${{ github.workflow }}-stripe, which is identical to thestripejob's group at line 85. Combined withcancel-in-progress: false, this forces CLI and Stripe E2E to serialize even though they have independent infrastructure (the CLI job doesn't even start cloudflared). This defeats the parallel-job split and roughly doubles wall time when both run viatarget: allor scheduled cron.🔧 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents