Skip to content

chore: remove unreferenced screenshot assets from the repo tree - #6272

Merged
Kitenite merged 1 commit into
mainfrom
chore/remove-pr-screenshot-assets
Aug 8, 2026
Merged

Kitenite merged 1 commit into
mainfrom
chore/remove-pr-screenshot-assets

Conversation

@Kitenite

@Kitenite Kitenite commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

What & why

Removes three groups of binary assets that nothing in the tree references (verified with git grep per path — zero hits outside the assets themselves), totaling ~2MB in every clone:

  • .github/pr-assets/ (644K) — PR feat(desktop): add multi-repo work item filters and PR checks #6201 committed its eight description screenshots here, but the description embeds the fork's raw.githubusercontent.com URLs, so the copies on main were never used. Removing them also avoids setting a precedent of storing PR imagery in the tree.
  • assets/ (211K) — example.png and notifs.png at the repo root, orphaned since the website moved into apps/marketing (last touched 2025-11-30, "update website").
  • apps/desktop/docs/assets/v1-migration-notices/ (1.2M) — five screenshots added with feat(desktop): pre-flip notice + post-flip welcome for migrated v1 users #6118 as PR evidence, never linked from any doc; the v1 surface they depict is sunset.

Deliberately kept:

  • apps/desktop/docs/artifacts/renderer-churn-visible-lifecycle-checkpoints.mp4 — referenced by two runbook docs.
  • packages/cli/demo/*.gif|mp4 (4.9M) — unreferenced by any markdown, but they're the outputs of the committed vhs demo kit (superset-cli.tape, add-sound.sh) and plausibly reused for marketing; flagging rather than deleting.

How I tested it

  • git grep for each removed filename/directory on main returns only the assets themselves
  • Delete-only diff; no code changes

@coderabbitai

coderabbitai Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (15)
  • .github/pr-assets/work-items-filters-checks/after-pr-author-filter.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/after-pr-author-review-filters.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/after-pr-detail.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/after-pr-list.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/after-pr-review-filter-menu.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/after-task-statuses.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/before-pr-detail.png is excluded by !**/*.png
  • .github/pr-assets/work-items-filters-checks/before-pr-list.png is excluded by !**/*.png
  • apps/desktop/docs/assets/v1-migration-notices/flipnotice-01-v1-before-completion.png is excluded by !**/*.png
  • apps/desktop/docs/assets/v1-migration-notices/flipnotice-02-card-visible.png is excluded by !**/*.png
  • apps/desktop/docs/assets/v1-migration-notices/flipnotice-03-card-closeup.png is excluded by !**/*.png
  • apps/desktop/docs/assets/v1-migration-notices/flipnotice-05-v2-welcome.png is excluded by !**/*.png
  • apps/desktop/docs/assets/v1-migration-notices/flipnotice-05b-welcome-closeup.png is excluded by !**/*.png
  • assets/example.png is excluded by !**/*.png
  • assets/notifs.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c81a44b4-fffa-46b4-94e4-b05123e64223

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 8 files

Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant Fork as Fork Branch
    participant Main as Main Branch
    participant GitHub as GitHub
    participant PR as PR Description

    Note over Dev,PR: Asset Storage & Reference Flow (Current State)

    Dev->>Fork: Commit screenshots to .github/pr-assets/
    Fork->>GitHub: Push branch with assets
    Dev->>PR: Create PR referencing fork's raw.githubusercontent.com URLs
    PR->>Fork: Render screenshots from fork branch

    Note over Fork,Main: PR Merge & Reference Resolution

    PR->>Main: PR merged to main
    Main->>Main: Assets land in .github/pr-assets/ on main
    PR->>GitHub: PR description now references fork branch (not main)
    GitHub-->>PR: Screenshots still render from fork

    Note over Main,GitHub: Unreferenced Resource Pattern

    Main->>GitHub: Clone includes .github/pr-assets/ (644 KB)
    GitHub-->>Main: Binary blobs persist in repo history
    Main->>Main: git grep pr-assets returns only asset files (no references)
Loading

Re-trigger cubic

Three groups of binary assets with zero references anywhere in the tree:
- .github/pr-assets/ (644K): PR #6201's description screenshots; the
  description embeds the fork's raw URLs, so these copies serve nothing
- assets/ (211K): example.png/notifs.png orphaned since the website
  moved into apps/marketing
- apps/desktop/docs/assets/v1-migration-notices/ (1.2M): PR #6118
  evidence screenshots never linked from any doc; the v1 surface is
  sunset

Kept: apps/desktop/docs/artifacts (referenced by two runbooks) and
packages/cli/demo recordings (outputs of the committed vhs demo kit).
@Kitenite
Kitenite force-pushed the chore/remove-pr-screenshot-assets branch from 1e70c4a to f7d2a6a Compare August 8, 2026 00:28
@Kitenite Kitenite changed the title chore: remove PR screenshot assets from the repo tree chore: remove unreferenced screenshot assets from the repo tree Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) ✅ View Branch
Vercel API (Vercel) ✅ Open Preview
Vercel Web (Vercel) ✅ Open Preview
Vercel Marketing (Vercel) ✅ Open Preview
Vercel Admin (Vercel) ✅ Open Preview
Vercel Docs (Vercel) ✅ Open Preview

Preview updates automatically with new commits

@Kitenite
Kitenite merged commit e6bddf9 into main Aug 8, 2026
13 checks passed
@Kitenite
Kitenite deleted the chore/remove-pr-screenshot-assets branch August 8, 2026 00:29

This branch was previously deployed

1 inactive deployment
preview — f7d2a6a2 Deployed Aug 8, 2026 by Kitenite via Deploy Docs #7276
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