Title#
BJ-15: Add Bitbucket + Jira webhook clients and fixtures to agent-core-e2e
Problem#
The E2E harness only supported GitHub webhooks. BJ-6/BJ-7 Atlassian adapters needed dedicated test helpers and fixtures to be driven end-to-end.
Task / Link#
Closes #555 — BJ-15 (part of EPIC #539 Wave 4 Atlassian integration)
Changes#
- Added
test/helpers/bitbucket-webhook-client.ts— POSTs to/webhooks/bitbucket?secret=...withX-Event-Key+X-Request-UUIDheaders - Added
test/helpers/jira-webhook-client.ts— HMAC-SHA256 signs body withJIRA_WEBHOOK_SECRET, sendsX-Hub-Signature: sha256=<hex> - Added 6 Bitbucket fixtures under
test/fixtures/bitbucket/(pr created/updated/approved/merged/comment, push) - Added 4 Jira fixtures under
test/fixtures/jira/(issue created/updated/deleted, comment) - Added combined smoke test at
test/smoke/atlassian-webhooks.e2e-spec.ts
Notes#
- Implementation landed in
AgentSDE/agent-core-e2ePR #5600, merged torc/atlassian-integration - Smoke tests (asserting 200 response) were added in BJ-17 (PR #5617) on the same rc branch
rc/atlassian-integration → mastermerge is PR #5619 (open)
Testing#
- Fixtures validated as parseable JSON
npm run lint+npm run buildpassed in agent-core-e2e- Smoke tests (
@smoke) pass against agent-core with BJ-6/BJ-7 on rc/atlassian-integration