Skip to content

Maintain one PR preview history comment - #2

Merged
Kyle-Ye merged 1 commit into
mainfrom
codex/pr-preview-comment-history
Aug 4, 2026
Merged

Maintain one PR preview history comment#2
Kyle-Ye merged 1 commit into
mainfrom
codex/pr-preview-comment-history

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

  • keep one Cloudflare Pages preview bot comment per pull request
  • update the comment with a stable preview link and immutable snapshot history table
  • make reruns idempotent for the same commit

Why

Posting a new preview comment for every deployment makes the PR timeline noisy even though only the commit snapshot URL changes. Updating one comment preserves every immutable snapshot while keeping the conversation compact.

Validation

  • workflow syntax validation
  • simulated two deployments, verifying one comment creation, one update, and two history rows

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Cloudflare Pages preview

Latest PR preview: https://pr-2.display-list-explorer.pages.dev

Commit Immutable snapshot
a3dc1d6 Open snapshot
16d546f Open snapshot

The PR URL always points to the latest deployment. Each commit snapshot is immutable.

@Kyle-Ye
Kyle-Ye force-pushed the codex/pr-preview-comment-history branch from a3dc1d6 to 16d546f Compare August 4, 2026 14:39
@Kyle-Ye
Kyle-Ye merged commit 376dd64 into main Aug 4, 2026
1 check 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