pycon
pycon copied to clipboard
Add validation for Mastodon handles to prevent invalid URLs
Summary
This PR adds validation for Mastodon handles to fix the issue where invalid handles like just "username" result in broken URLs (https://undefined/@username).
Changes
- Added Mastodon handle validation in participant, submission, and grant mutations
- Enforces proper formats:
[email protected],@[email protected], orhttps://instance.social/@username - Added test case to verify validation works correctly
Fixes #3363
Generated with Claude Code
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Updated (UTC) |
|---|---|---|---|
| pycon | Preview | Oct 3, 2025 11:39pm |
Codecov Report
:x: Patch coverage is 50.00000% with 8 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 94.46%. Comparing base (6686fae) to head (4b6746d).
Additional details and impacted files
@@ Coverage Diff @@
## main #4483 +/- ##
==========================================
- Coverage 94.53% 94.46% -0.08%
==========================================
Files 352 352
Lines 10131 10147 +16
Branches 733 738 +5
==========================================
+ Hits 9577 9585 +8
- Misses 461 466 +5
- Partials 93 96 +3
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.