Rudy Celekli

Upstream contribution · coreyhaines31/marketingskills

marketingskills · Validate OneSignal audiences before sending a request

Rudy Celekli’s engineering portfolio · AI-assisted summary

Problem

The marketing CLI forwarded arrays or scalars where OneSignal's notification endpoint required an alias map. Its segment route also accepted invalid filter entries and out-of-range counts.

Engineering response

Check that aliases form a dictionary and that the segment contains one to 200 filter or operator objects. Preserve shorthand aliases and leave field-level interpretation to the provider.

Evidence and scope

The pull request reports 22 affected contract tests and 899 passing CLI and asset tests in isolation. Delivery requests were mocked.