AI Agents SDE Task Viewer
      • Pr description
  1. Home
  2. AgentSDE
  3. agent-core
  4. gh-557
  5. changes
  6. pr_description.md
pr_description.md(1.4 KB)· Apr 24, 2026· 1 min read
  • Title
  • Problem
  • Task / Link
  • Changes
  • Notes
  • Testing

Title#

feat(bj-17): add 2d-bitbucket E2E tier (ingest-only smoke)

Problem#

Issue #557 tracks the addition of a new E2E tier 2d-bitbucket in agent-core-e2e that validates Bitbucket webhook ingestion. All work lands in agent-core-e2e — this issue closes when the rc/atlassian-integration RC merges to master.

Task / Link#

BJ-17 / AgentSDE/agent-core#557 See agent-core-e2e PR: https://github.com/AgentSDE/agent-core-e2e/pull/5617

Changes#

  • test/tiers/2d-bitbucket/bitbucket-webhook-ingest.e2e-spec.ts — ingest-only smoke: sends all Bitbucket fixtures, asserts 200, optional delivery row check
  • package.json — adds test:module:bitbucket script (MODULE=bitbucket jest --config jest.module.config.js)
  • Imports sendBitbucketWebhook (BJ-15) and startSharedMockServer / stopSharedMockServer (BJ-16)

Notes#

  • Full lifecycle happy-path (poll task phase transitions, mock request log assertions, pullrequest:fulfilled close-out) is deferred to BJ-19 — no Bitbucket-configured agent-core instance is currently deployed.
  • Ingest tests are auto-skipped when BITBUCKET_WEBHOOK_SECRET is unset or agent-core is unreachable, so CI stays green on environments without a live target.

Testing#

  • Spec runs against test instance (AGENT_CORE_URL=http://localhost:8777) via MODULE=bitbucket npm run test:module
  • Suite exits 0 gracefully when agent-core is unreachable (skip-if-unreachable logic)
PrdAi-done