Skip to content

[WIP] Update PR comments to be persistent and optional logging#780

Draft
Claude wants to merge 2 commits into
mainfrom
claude/feature-persistent-pr-comments
Draft

[WIP] Update PR comments to be persistent and optional logging#780
Claude wants to merge 2 commits into
mainfrom
claude/feature-persistent-pr-comments

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented Jun 4, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Feature Request: Persistent PR Comments and Optional Wrangler Logging</issue_title>
<issue_description>Currently this action make a new comment for each push on the same PR. It would be better if it update the same comment just like the official Cloudflare bot and make Wrangler logging optional.</issue_description>

Comments on the Issue (you are @claude[agent] in this section)

@andykenward > Currently this action make a new comment for each push on the same PR. It would be better if it update the same comment just like the official Cloudflare bot and make Wrangler logging optional.

The idea of new comments is that they preserve the history of deployed versions. Allowing you to compare previous deployed versions on that PR until you close it. It also notifies users who have subscribed to the PR. Updating just one comment would be misleading and would not notify users of changes.

We would need to implement the deletion of previous deployments in an open PR and effectively rewrite the PR's history. From my point of view, an open PR is for reviewing, and you want to keep the history immutable to some extent.

I will look into adding a configuration option to let you disable deployment history for an open PR.

Wrangler logging optional.

Are you referring to the "Wrangler Output" in the comment? That should be an easy configuration to add to this action.</comment_new>

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 4, 2026

⚠️ No Changeset found

Latest commit: 4024a6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Claude Claude AI linked an issue Jun 4, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Cloudflare Pages Deployment

Event Name: pull_request
Environment: preview
Project: cloudflare-pages-action
Built with commit: ed0d069
Preview URL: https://12f3c9a0.cloudflare-pages-action-a5z.pages.dev
Branch Preview URL: https://claude-feature-persistent-pr.cloudflare-pages-action-a5z.pages.dev

Wrangler Output

⛅️ wrangler 4.86.0
───────────────────
Uploading... (3/3)
✨ Success! Uploaded 0 files (3 already uploaded) (0.43 sec)

✨ Uploading _headers
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://12f3c9a0.cloudflare-pages-action-a5z.pages.dev
✨ Deployment alias URL: https://claude-feature-persistent-pr.cloudflare-pages-action-a5z.pages.dev

@Claude Claude AI requested a review from andykenward June 4, 2026 17:54
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Cloudflare Pages Deployment

Event Name: pull_request
Environment: preview
Project: cloudflare-pages-action
Built with commit: 99e33f5
Preview URL: https://c74305db.cloudflare-pages-action-a5z.pages.dev
Branch Preview URL: https://claude-feature-persistent-pr.cloudflare-pages-action-a5z.pages.dev

Wrangler Output

⛅️ wrangler 4.86.0
───────────────────
Uploading... (3/3)
✨ Success! Uploaded 0 files (3 already uploaded) (0.64 sec)

✨ Uploading _headers
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://c74305db.cloudflare-pages-action-a5z.pages.dev
✨ Deployment alias URL: https://claude-feature-persistent-pr.cloudflare-pages-action-a5z.pages.dev

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.

Feature Request: Persistent PR Comments and Optional Wrangler Logging

2 participants