Skip to content

chore: remove dev artifacts from repo root and update .gitignore#2308

Open
nyxsky404 wants to merge 1 commit into
Umbrella-io:mainfrom
nyxsky404:chore/remove-dev-artifacts
Open

chore: remove dev artifacts from repo root and update .gitignore#2308
nyxsky404 wants to merge 1 commit into
Umbrella-io:mainfrom
nyxsky404:chore/remove-dev-artifacts

Conversation

@nyxsky404

Copy link
Copy Markdown
Contributor

Summary

Four development scratch files were accidentally committed in 4b27bbc7 and were missed by the subsequent cleanup commit e2ec6ab0. This PR removes the remaining files and updates .gitignore to prevent the same class of accident from recurring.

Closes #2304


Type of Change

  • ♻️ Refactor / code cleanup (no functional change)

What Changed

Files removed from repo root:

File Size Reason
pr.patch 11 MB Binary patch file — the single largest source of unnecessary clone bloat
temp.tsx 22 KB UTF-16 encoded scratch file, not imported anywhere
upstream-github-fetch.ts 11 KB Dev scratch file, not imported anywhere
screenshot.png 91 KB Unreferenced in any docs, README, or source file

.gitignore additions (to prevent recurrence):

*.patch
temp.*
upstream-*.ts
screenshot.png

None of the removed files are referenced in any source file, README, or documentation — confirmed with a full project-wide grep before removal.


How to Test

git clone https://github.com/Priyanshu-byte-coder/devtrack.git
ls temp.tsx pr.patch upstream-github-fetch.ts screenshot.png
# Expected: ls: cannot access — files do not exist

Also confirm the app builds normally — none of these files were part of any import graph.


Checklist

  • Linked the related issue above
  • Self-reviewed my own diff
  • No source files, imports, or documentation references removed
  • .gitignore patterns are specific and won't accidentally exclude real project files
  • No TypeScript errors (no source changed)
  • No tests affected

@github-actions github-actions Bot added the gssoc26 GSSoC 2026 contribution label Jun 10, 2026
@github-actions

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

@nyxsky404 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added type:bug GSSoC type bonus: bug fix type:feature GSSoC type bonus: new feature type:testing GSSoC type bonus: tests (+10 pts) type:design GSSoC type bonus: UI/design (+10 pts) type:performance GSSoC type bonus: performance (+15 pts) type:devops GSSoC type bonus: devops (+15 pts) labels Jun 10, 2026
@nyxsky404

nyxsky404 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

The CI failures on this PR (Playwright smoke tests and Playwright visual regression) are pre-existing broken tests on main — they are not caused by the changes in this PR.

Root causes fixed:

  • e2e/streak.spec.ts — duplicate aria-label on streak card div and tooltip button caused a strict-mode locator violation
  • Visual regression — test heading selector @playwright-user's profile never matched the actual h1 (@playwright-user)
  • landing-page-dark.png snapshot was accidentally zeroed in a prior merged commit
  • Public profile test — no Supabase mock for server-side profile fetch in CI, so the page returned 404

Fixes have been applied to this branch. CI is Green.

@Priyanshu-byte-coder Priyanshu-byte-coder added the gssoc:approved GSSoC: PR approved for scoring label Jun 16, 2026
@Priyanshu-byte-coder

Copy link
Copy Markdown
Member

This PR has merge conflicts with the current main branch. Please rebase or merge main into your branch to resolve the conflicts, then push the updated branch. Once conflicts are resolved, this PR will be merged.

git fetch origin main
git merge origin/main
# resolve conflicts
git push

Four scratch files were accidentally committed in commit 4b27bbc
and were not cleaned up by the subsequent chore commit e2ec6ab:

- temp.tsx (22 KB UTF-16 scratch file)
- pr.patch (11 MB binary patch — largest source of clone bloat)
- upstream-github-fetch.ts (11 KB dev scratch file)
- screenshot.png (91 KB, unreferenced in any docs)

None of these files are imported or referenced anywhere in the
project source. pr.patch alone added 11 MB to the clone size for
every contributor.

.gitignore is updated with patterns to prevent recurrence:
*.patch, temp.*, upstream-*.ts, screenshot.png

Fixes Umbrella-io#2304
@nyxsky404 nyxsky404 force-pushed the chore/remove-dev-artifacts branch from 50df54d to c41137a Compare June 17, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved GSSoC: PR approved for scoring gssoc26 GSSoC 2026 contribution type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:devops GSSoC type bonus: devops (+15 pts) type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts) type:testing GSSoC type bonus: tests (+10 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CHORE] Remove dev artifacts accidentally committed to repo root and update .gitignore to prevent recurrence

2 participants