feat(e2e): workflow bridge mutations publish real relay events (Fixes #172) - #176
Merged
cursor[bot] merged 1 commit intoAug 12, 2026
Merged
Conversation
Publish create/update/delete/trigger_workflow through submitSignedEvent in relay mode (kinds 30620 / 5 / 46020), matching Rust workflows.rs. Extend the bridge-relay-mutations integration spec and update audit 0011. Fixes #172 Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: oscarlehuu <oscarlehuu@users.noreply.github.com>
oscarlehuu
marked this pull request as ready for review
August 12, 2026 15:25
This was referenced Aug 12, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Gives the four e2e bridge workflow commands real relay branches under D-042, fixing the mock-boundary trap recorded in audit 0011 during #144 / PR #168.
Confirmed against Rust (
desktop/src-tauri/src/commands/workflows.rs+events.rs):create_workflowd+h, YAML contentWorkflowSaveWire(+ optionalwebhook_secretfromresponse:)update_workflowd+ priorhdelete_workflowa=30620:owner:idtrigger_workflowd{ event_id }(Rust shape)No kind 30625 exists in Rust or the repo (issue title hypothesis only). Mock mode is unchanged for smoke.
Related issue
Fixes #172
Testing
workflows.rs/events::build_workflow_*(kinds/tags above).pnpm --filter buzz typecheck— passpnpm --filter buzz check— pass (pre-existing optional-chain warning in archive path only)CI=true pnpm --filter buzz build:e2e— passdesktop/tests/e2e/bridge-relay-mutations.spec.tswith create → update → trigger → delete assertions againstPOST /query. Local Docker/relay stack was not available in this cloud agent VM, so the integration project was not executed here. Covered by advisoryDesktop E2E Integrationwhen CI runs (not part of requiredNuncioCrew Gate).docs/crew/verification/0011-e2e-bridge-relay-mutation-audit.md; updateddocs/crew/STATE.mdpointer.Notes
{ event_id }to match Rust; mock mode still returns the smoke-oriented{ run_id, workflow_id, status }shape.