Skip to content

fix: address three open issues (#359, #360, #361)#369

Merged
bokelley merged 4 commits intomainfrom
bokelley/fix-3-gh-issues
Mar 21, 2026
Merged

fix: address three open issues (#359, #360, #361)#369
bokelley merged 4 commits intomainfrom
bokelley/fix-3-gh-issues

Conversation

@bokelley
Copy link
Copy Markdown
Contributor

Summary

Test plan

  • All 1215 existing + new tests pass
  • New normalizer tests cover signal_id → signal_agent_segment_id, destination → destinations, and options stripping
  • Updated getAllPlatformTypes tests verify each entry has id and label
  • Build passes with no type errors

Closes #359, closes #360, closes #361

🤖 Generated with Claude Code

bokelley and others added 4 commits March 21, 2026 16:47
- getAllPlatformTypes() returns { id, label } objects instead of bare strings
- buildStaticInlineCreative() includes required creative_id field
- signals scenario uses spec field names (signal_agent_segment_id, destinations)
- request normalizer maps deprecated signal_id, destination, options fields
- adds normalizer test coverage for all new activate_signal shims

Closes #359, closes #360, closes #361

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Keep getAllPlatformTypes() returning PlatformType[] (non-breaking)
- Add getPlatformTypesWithLabels() for callers needing { id, label }
- Add warnOnce for options stripping in activate_signal normalizer
- Add scoping tests (normalizer shims only apply to activate_signal)
- Add combined normalization test for all deprecated fields together

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Test destinations now use spec-compliant Destination type with
type discriminator and correct field names (account vs account_id).
This gives TypeScript users compile-time protection against field
name drift.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bokelley bokelley merged commit fc34114 into main Mar 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant