BJ-0: Add 'jira' to platform unions + audit 'github' hardcodes#
Problem#
The platform union types in dispatch-event.dto.ts and tenant-config.interface.ts did not include 'jira', blocking Wave 1 of the Atlassian integration epic from routing Jira-sourced events through the pipeline.
Task / Link#
Closes #540 — Wave 0 serial blocker for Atlassian integration epic #539
Changes#
- Added
'jira'toDispatchEventParams.platformunion insrc/webhook/dto/dispatch-event.dto.ts - Added
'jira'toDispatchEvent.platformunion insrc/webhook/dto/dispatch-event.dto.ts - Added
'jira'toTenantConfig.platformunion insrc/tenant/tenant-config.interface.ts
Notes#
- PR targets
rc/atlassian-integration(the integration branch), notmaster - Pre-existing
'github'literals intenant-config.service.ts(default config value) andtenant.module.ts(default provider name) are configuration values, not equality branches — confirmed out of audit scope
Grep audit — no platform === 'github' equality branches in audited paths:
$ grep -rn "platform\s*===\?\s*[\"']github[\"']" src/dispatch/ src/phase-router/ src/tenant/ src/invoke/
(no output — zero matches)
All four paths (src/dispatch/, src/phase-router/, src/tenant/, src/invoke/) are clean.
Testing#
node_modules/.bin/tsc --noEmit→ 0 errorsnpm run lint→ passed (zero warnings)npm run test→ 834 tests passed, 53 suites, 0 failures