Skip to content

ci: trigger E2E tests on merge to main#85

Closed
beonde wants to merge 1 commit into
mainfrom
ci/trigger-e2e-dispatch
Closed

ci: trigger E2E tests on merge to main#85
beonde wants to merge 1 commit into
mainfrom
ci/trigger-e2e-dispatch

Conversation

@beonde
Copy link
Copy Markdown
Member

@beonde beonde commented May 22, 2026

Adds a trigger-e2e job that dispatches repository_dispatch to capiscio/capiscio-e2e-tests after the test job passes on pushes to main.

This closes the gap where merges to capiscio-core could only be caught by the daily 6am E2E cron — regressions now trigger cross-product E2E within minutes.

Requires REPO_ACCESS_TOKEN secret (already configured in capiscio-e2e-tests CI).

After CI passes on a push to main, dispatch a repository_dispatch
event to capiscio/capiscio-e2e-tests so cross-product E2E tests run
within minutes instead of waiting for the daily 6am cron.
Copilot AI review requested due to automatic review settings May 22, 2026 13:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CI follow-up mechanism in capiscio-core to proactively kick off cross-repo E2E coverage after merges land on main, reducing the time-to-detect for integration regressions.

Changes:

  • Adds a new trigger-e2e job that dispatches a repository_dispatch event to capiscio/capiscio-e2e-tests.
  • Gates the dispatch to pushes on main and waits for the test job to succeed.

Comment thread .github/workflows/ci.yml

trigger-e2e:
name: Trigger E2E Tests
needs: [test]
Comment thread .github/workflows/ci.yml
Comment on lines +129 to +136
steps:
- name: Dispatch E2E workflow
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: capiscio/capiscio-e2e-tests
event-type: upstream-merge
client-payload: '{"repo": "capiscio-core", "sha": "${{ github.sha }}"}'
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants