Repository navigation
Show PR titles and enable link previews in Slack - #39
Conversation
|
Slack team notifications
|
|
Thanks for contributing to the Cyberwave Python SDK, @KhushiSharma22! A repository maintainer will follow up. When this PR is ready, we request a maintainer review and run an automated advisory review. CI and human review remain the source of truth. Please describe what changed and how you tested it. See the contribution guide or ask for help on Discord. Drafts are welcome. Merged human contributions receive a Discord thank-you. To opt out, check the PR template's Discord opt-out box or add |
Automated advisory review · ClaudeCommit: Two concrete defects are visible in the supplied patch excerpts. One is a behavioral regression in the Slack notification payload that intentionally restores a suppressed security-relevant feature flag. One is a test assertion that will fail for any PR title longer than 150 characters, making the test fragile and likely to give false confidence. No robotics or SDK-import issues are present in these patches.
Coverage: 2 of 2 changed files; patch excerpts only. Generated REST code, lockfiles, notebooks, SVGs, missing patches and files beyond the 40-file / 60,000-character budget are excluded. GitHub may truncate individual patches. |
|
Thanks @KhushiSharma22 — your contribution has been merged! |
Slack notifications currently lead with a generic lifecycle heading and explicitly disable link previews. Use the PR title as the message heading and first line of notification fallback text, with draft/review/merge status and author information underneath. Enable link and media unfurling so Slack can display a GitHub PR preview alongside the URL and review button.
Long headings are shortened to Slack's 150-character limit; the full title remains in fallback text. User-provided titles stay in plain-text blocks and are escaped in fallback text to prevent unintended mentions or injected Slack links.
Validation: all 47 contributor automation tests and
git diff --checkpass locally. Live preview rendering remains to be verified after merge; Slack controls whether it can expand a particular GitHub URL.