Skip to content

feat(docs): deploy main branch preview alongside PR previews#707

Merged
BYK merged 1 commit intomainfrom
feat/main-docs-preview
Apr 9, 2026
Merged

feat(docs): deploy main branch preview alongside PR previews#707
BYK merged 1 commit intomainfrom
feat/main-docs-preview

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Apr 9, 2026

Summary

  • Extend the docs-preview workflow to also trigger on pushes to main, deploying a continuously-updated preview to _preview/pr-main/ on gh-pages
  • Rename the umbrella directory from pr-preview to _preview
  • Scope concurrency per-ref (docs-preview-${{ github.ref }}) with cancel-in-progress: true

Details

Production deploys via Craft remain unchanged. This adds a main branch preview so merged docs changes are immediately viewable at cli.sentry.dev/_preview/pr-main/ without waiting for a release.

The workflow reuses rossjrw/pr-preview-action for both cases with conditional inputs:

  • Push to main: action: deploy, pr-number: main, comment: false
  • PR events: action: auto (unchanged behavior)

The astro config's landing page regex is updated to match the new _preview path and the main preview.

Old pr-preview/ directory on gh-pages is left as-is (harmless, will be cleaned up by future Craft releases).

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Docs

  • Deploy main branch preview alongside PR previews by BYK in #707
  • Enable sourcemap upload, releases, and environment tracking by BYK in #705

Other

  • (commands) Add buildRouteMap wrapper with standard subcommand aliases by BYK in #690
  • (config) Support .sentryclirc config file for per-directory defaults by BYK in #693
  • (init) Add fuzzy edit replacers and edits-based apply-patchset by betegon in #698
  • (install) Add SENTRY_INIT env var to run wizard after install by betegon in #685
  • (release) Surface adoption and health metrics in list and view (Add release command group with adoption/health subcommand #463) by BYK in #680

Bug Fixes 🐛

Dashboard

  • Add --layout flag to widget add for predictable placement by BYK in #700
  • Render tracemetrics widgets in dashboard view by BYK in #695

Other

  • (build) Enable sourcemap resolution for compiled binaries by BYK in #701
  • (init) Narrow command validation to actual shell injection vectors by betegon in #697
  • (init,feedback) Default to tracing only in feature select and attach user email to feedback by MathurAditya724 in #688
  • (setup) Handle read-only .claude directory in sandboxed environments by BYK in #702

Internal Changes 🔧

  • (docs) Gitignore generated command docs, extract fragments by BYK in #696
  • (eval) Replace OpenAI with Anthropic SDK in init-eval judge by betegon in #683
  • (init) Use markdown pipeline for spinner messages by betegon in #686
  • Regenerate skill files and command docs by github-actions[bot] in 584ec0e0

🤖 This preview updates automatically when you update the PR.

Extend the docs-preview workflow to also trigger on pushes to main,
deploying a continuously-updated preview at _preview/pr-main/ on
gh-pages. Rename the umbrella directory from pr-preview to _preview.

- Add push:main trigger with same path filters as pull_request
- Use conditional action inputs (deploy+no comment for main, auto for PRs)
- Scope concurrency per-ref with cancel-in-progress
- Update astro landing page regex for the new _preview path
@BYK BYK force-pushed the feat/main-docs-preview branch from 342c683 to cca6856 Compare April 9, 2026 17:01
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/_preview/pr-707/

Built to branch gh-pages at 2026-04-09 17:02 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Codecov Results 📊

134 passed | Total: 134 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 1570 uncovered lines.
✅ Project coverage is 95.3%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    95.30%    95.30%        —%
==========================================
  Files          229       229         —
  Lines        33377     33378        +1
  Branches         0         0         —
==========================================
+ Hits         31808     31808         —
- Misses        1569      1570        +1
- Partials         0         0         —

Generated by Codecov Action

@BYK BYK marked this pull request as ready for review April 9, 2026 17:07
@BYK BYK merged commit 33b21a9 into main Apr 9, 2026
27 checks passed
@BYK BYK deleted the feat/main-docs-preview branch April 9, 2026 17:17
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