fix: enforce safe DropsBot start payloads - #10
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe change adds Telegram’s start-parameter limit, derives the DropsBot tracking slug limit from it, and updates preview tests for malformed and 57-character slugs. ChangesTracking slug limits
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 167e459270
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
startpayload limitWhy the long event has no Track button
The live event's
TRACKpm_...payload is 76 characters, so Telegram cannot deliver it through the official bot deep-link contract. OddsFront intentionally keeps the validMarketaction and withholds an unusableTrackaction until a server-side short-ID lookup contract exists.Verification
npm run checkon Node 24.19.0Summary by CodeRabbit