Skip to content

Trace Discord relay forwarding - #63

Merged
HeyItsGilbert merged 2 commits into
mainfrom
fix/trace-discord-relay
Aug 30, 2026
Merged

Trace Discord relay forwarding#63
HeyItsGilbert merged 2 commits into
mainfrom
fix/trace-discord-relay

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Adds temporary [DEBUG-pr-relay] function logs for each eligible GitHub delivery and Discord response status. This diagnoses successful GitHub-to-Netlify deliveries that produce no Discord message; the logs must be removed after diagnosis.

Verification: bun test tests/github-pr-discord.test.mjs and pwsh ./build.ps1 -Quiet -Task Test.

Copilot AI lite review requested due to automatic review settings August 30, 2026 02:02
@netlify

netlify Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploy Preview for psake ready!

Name Link
🔨 Latest commit 3256f35
🔍 Latest deploy log https://app.netlify.com/projects/psake/deploys/6a939044ca12fe000861deb8
😎 Deploy Preview https://deploy-preview-63--psake.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds temporary trace logging to the Netlify GitHub→Discord relay function to help diagnose cases where GitHub deliveries succeed but no Discord message appears.

Changes:

  • Logs a marker when an eligible pull_request delivery is about to be forwarded to Discord.
  • Logs the Discord webhook HTTP response status after forwarding.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netlify/functions/github-pr-discord.ts Outdated
Comment thread netlify/functions/github-pr-discord.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Gilbert Sanchez <me@gilbertsanchez.com>
@HeyItsGilbert
HeyItsGilbert merged commit f7b6804 into main Aug 30, 2026
8 of 9 checks passed
@HeyItsGilbert
HeyItsGilbert deleted the fix/trace-discord-relay branch August 30, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants