Skip to content

fix(deploy): harden webhook deploy signaling and preflight - #251

Merged
LucasSantana-Dev merged 2 commits into
mainfrom
fix/deploy-hardening-v2616
Mar 14, 2026
Merged

LucasSantana-Dev merged 2 commits into
mainfrom
fix/deploy-hardening-v2616

Conversation

@LucasSantana-Dev

Copy link
Copy Markdown
Owner

Summary

  • harden deploy webhook contract to return command output on success/error
  • remove webhook verbose logging from compose runtime
  • harden deploy script with compose preflight, host-safe health URL resolution, dirty-tree fail-fast, and lock PID command validation
  • add/update Lucky skills for deploy recovery + CI gate signatures
  • add Discord auth smoke runbook + changelog unreleased notes

Validation

  • docker compose config preflight passes
  • host deploy script completed successfully
  • webhook wrong-secret returns non-2xx and explicit error
  • webhook correct-secret direct path returns 200 and includes deploy output lines
  • smoke endpoints: /api/health, /api/health/auth-config, /api/auth/discord, /install, /legal, /discovery

@vercel

vercel Bot commented Mar 14, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lucky Ready Ready Preview, Comment Mar 14, 2026 11:33pm

Request Review

@coderabbitai

coderabbitai Bot commented Mar 14, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@LucasSantana-Dev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 27 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 45796024-352a-429e-9589-9e00f9bce897

📥 Commits

Reviewing files that changed from the base of the PR and between 8a2403d and 20c754f.

📒 Files selected for processing (9)
  • .cursor/skills/lucky-ci-gate-recovery/SKILL.md
  • .cursor/skills/lucky-deploy-recovery/SKILL.md
  • .cursor/skills/lucky-docker-dev/SKILL.md
  • AGENTS.md
  • CHANGELOG.md
  • deploy/hooks.json
  • docker-compose.yml
  • docs/AUTH_SMOKE_RUNBOOK.md
  • scripts/deploy.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/deploy-hardening-v2616
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@netlify

netlify Bot commented Mar 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for regal-bunny-0c8efe ready!

Name Link
🔨 Latest commit 20c754f
🔍 Latest deploy log https://app.netlify.com/projects/regal-bunny-0c8efe/deploys/69b5f0404a8b48000854a75d
😎 Deploy Preview https://deploy-preview-251--regal-bunny-0c8efe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@sonarqubecloud

Copy link
Copy Markdown

@LucasSantana-Dev
LucasSantana-Dev merged commit f33699b into main Mar 14, 2026
15 checks passed
@LucasSantana-Dev
LucasSantana-Dev deleted the fix/deploy-hardening-v2616 branch March 14, 2026 23:37
LucasSantana-Dev added a commit that referenced this pull request May 13, 2026
fix(deploy): harden webhook deploy signaling and preflight

This branch was successfully deployed

1 active deployment
Preview — 20c754f2 Deployed Mar 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant