Skip to content

feat: GitHub integration — PR comment lifecycle + daemon creation UI#80

Merged
arek-e merged 3 commits intomainfrom
feat/github-integration
Apr 4, 2026
Merged

feat: GitHub integration — PR comment lifecycle + daemon creation UI#80
arek-e merged 3 commits intomainfrom
feat/github-integration

Conversation

@arek-e
Copy link
Copy Markdown
Owner

@arek-e arek-e commented Apr 4, 2026

Summary

  • PR comment lifecycle (PAWS-134): When a GitHub PR triggers a daemon, paws now posts an initial "Running..." comment, then updates it with results on completion or error details on failure. Mention-triggered sessions continue posting results as new comments.
  • updateComment() added to @paws/integrations with the same 3-retry logic as postComment(). postComment() now returns the comment ID.
  • Dashboard daemon form (PAWS-133/135): New slide-out form for creating and editing daemons with all 4 trigger types (GitHub, webhook, schedule, watch), execution settings (snapshot, script, resources), and governance config. Daemon list now has create/edit/delete actions.

What the PR comment looks like

### 🐾 paws — code-reviewer

**Status:** ✅ Completed in 45s

[agent output here]

---
*[View session](/sessions/abc123)*

Test plan

  • bun run typecheck — 40/41 pass (1 pre-existing error in server.ts from OTel PR)
  • bun run test — 30/30 pass
  • CI green
  • Create a daemon via dashboard form and verify it persists
  • Trigger a GitHub PR event and verify comment lifecycle

🤖 Generated with Claude Code

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 4, 2026

Warning

Rate limit exceeded

@arek-e has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 47 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 4 minutes and 47 seconds.

⌛ 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: c7aa5c03-67f1-4b4d-bc2f-eb3d3e6daa5f

📥 Commits

Reviewing files that changed from the base of the PR and between 12dcbfd and b024ba2.

📒 Files selected for processing (5)
  • apps/control-plane/src/app.ts
  • apps/control-plane/src/routes/auth.ts
  • packages/integrations/src/callback.test.ts
  • packages/integrations/src/callback.ts
  • packages/integrations/src/index.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/github-integration

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

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 4, 2026

Deploying getpaws with  Cloudflare Pages  Cloudflare Pages

Latest commit: b024ba2
Status: ✅  Deploy successful!
Preview URL: https://ce573159.getpaws-6m4.pages.dev
Branch Preview URL: https://feat-github-integration.getpaws-6m4.pages.dev

View logs

@arek-e arek-e closed this Apr 4, 2026
@arek-e arek-e reopened this Apr 4, 2026
@arek-e arek-e force-pushed the feat/github-integration branch from 6f4fe4a to f703701 Compare April 4, 2026 09:55
arek-e and others added 3 commits April 4, 2026 11:56
- PR comment lifecycle: post "Running..." comment on PR events, update
  with results on completion, update with error on failure. Mentions
  continue to work as before (post result as new comment).
- updateComment() added to @paws/integrations with retry logic
- postComment() now returns comment ID for subsequent updates
- Dashboard daemon creation/edit form with support for all 4 trigger
  types (GitHub, webhook, schedule, watch), execution settings, and
  governance config
- Dashboard daemon list: create/edit/delete actions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arek-e arek-e force-pushed the feat/github-integration branch from 489df79 to b024ba2 Compare April 4, 2026 09:57
@arek-e arek-e merged commit 77bf66e into main Apr 4, 2026
2 checks passed
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.

1 participant