Skip to content
cd ..~/abhay/open-source · upstream since 2022 · last push 2 days ago
~/open-source — zsh — 140×48⌘2
abhay@os ~/open-source % gh stats --author Abhay030405 --since 2022

I fix the tools I ship with.

When Vite, tRPC or Next.js gets in my way at work, I open the PR instead of the workaround. Four years of that: 34 merged fixes upstream, two RFCs, and a diff viewer 300+ repos depend on.

34MERGED PRs
7UPSTREAM REPOS
52ISSUES TRIAGED
2RFCs
written
1.2Mnpm downloads
/ year · patchwork
abhay@os ~/open-source % ls upstream/ --sort=prs
sticker size = merged PRs · tap one to filter the list below
// 01 — contributions

gh pr list_

Eight PRs worth opening up. Pick one to see the bug, the fix, the actual diff and how review went. Filters work; so do the stickers above.

gh pr list --author Abhay030405 --state all8 of 8 PRs
--repo
--state
REPO · # · TITLEDIFF · DATE
showing 8 of 34 merged + 1 open · full list on github.com/pulls?q=author:Abhay030405
gh pr view 18342 -R vitejs/vite
vitejs/vite #18342mergedSep 2026

fix(hmr): preserve CSS module order during partial updates

+142−384 filesfix/hmr-css-order
## the problem

During HMR, an updated CSS module was re-appended to the end of <head>, so a sheet that used to load first could suddenly override everything after it. In large apps that showed up as a flash of unstyled — or wrongly styled — content on every save. 40+ users reported it across three issues.

## what I changed
  1. 1Tracked the original import order of every CSS module in the client module graph.
  2. 2On a partial update, re-inserted the sheet before its next sibling instead of appending it.
  3. 3Kept the fast path: in-place textContent swaps still skip the DOM walk entirely.
  4. 4Added an e2e playground with 60 interleaved CSS modules to lock the order in.
## the diffpackages/vite/src/client/client.ts
packages/vite/src/client/client.ts+5−2unified
···@@ -412,9 +412,14 @@ export function updateStyle(id, content)
412 let style = sheetsMap.get(id)
413 if (style) {
414 style.textContent = content
415 return
416 }
417− style = createStyle(id, content)
418− document.head.appendChild(style)
417+ style = createStyle(id, content)
418+ const order = cssOrder.indexOf(id)
419+ const next = findNextSheet(order)
420+ if (next) document.head.insertBefore(style, next)
421+ else document.head.appendChild(style)
422 sheetsMap.set(id, style)
## review
3 review rounds2 approvals27 comments

Maintainers asked for numbers on a 1,000-module app first — the extra DOM walk cost under 0.3 ms per update, and that settled it. Approved by two core maintainers.

## impact

> Shipped in Vite 6.0.3. Closed 3 issues reported by 40+ users; no FOUC regressions since.

View on GitHub ↗https://github.com/vitejs/vite/pull/18342
// 02 — maintainer

sudo maintain_

Two projects where I'm the one holding the keys — cutting releases, closing issues, and saying "yes, and…" to strangers' PRs.

~/Abhay030405/patchworkmaintainer

Patchwork

TypeScriptMIT

React diff viewer with syntax-aware merges. Used by 300+ repos, from code-review tools to CMS changelogs.

STARS
★ 4.8k
CONTRIBUTORS
46
RELEASES
31
NPM DOWNLOADS / YR
1.2M
NPM DOWNLOADS / MONTH · 202668k → 131k
$ git tag --sort=-date | head
  • v3.4.0minorWord-level inline diffsNov 2026
  • v3.3.2patchFix CRLF hunks on WindowsOct 2026
  • v3.3.0minorVirtualised 50k-line filesSep 2026
  • v3.2.0minorShiki themes + RSC supportJul 2026
  • v3.0.0majorAST-aware merge engineApr 2026
Abhay030405/patchwork ↗
~/Abhay030405/fathommaintainer

Fathom

GoApache-2.0

Structured log search for the terminal — 10 GB in under two seconds. Smaller, sharper, and mostly maintained on weekends.

STARS
★ 1.1k
CONTRIBUTORS
12
RELEASES
18
BREW INSTALLS / YR
40k
BREW INSTALLS / MONTH · 20262.1k → 4.1k
$ git tag --sort=-date | head
  • v1.6.0minor--since / --until time windowsOct 2026
  • v1.5.1patchFix gzip stream EOFAug 2026
  • v1.5.0minorJSON field projectionsJun 2026
  • v1.4.0minorParallel mmap scannerFeb 2026
  • v1.0.0majorStable query syntaxSep 2025
Abhay030405/fathom ↗
man maintaining — what the job actually is
$ gh issue triage01
48hMAX TIME TO FIRST LABEL

Triage

Every new issue gets a label, a repro request or a reproduction within two days — or a kind close with the reason. ~30 a month on Patchwork, plus 52 triaged upstream this year.

$ changeset version02
31RELEASES · 0 REVERTED

Releases

Changesets and a release train every two to four weeks. Semver taken seriously, migration notes for every minor, and canary builds for anything risky.

$ gh pr review03
120+COMMUNITY PRs REVIEWED

Reviews

Median first response in 19 hours. Nine first-time contributors have come back for a second PR — the number I'm proudest of.

// 03 — rfcs + talks

cat rfcs/_

Sometimes the fix is bigger than a PR. Then I write it down first, and argue about it in public.

rfcs/vite-per-env-css.md
vitejs/vite · RFC · 2026accepted

Vite: per-environment CSS pipeline

Let each Environment API target — client, SSR, edge — own its CSS transform chain, so edge bundles stop paying for client-only PostCSS work and SSR can skip CSS entirely.

64 commentsaccepted Jul 2026landing in 6.x
Read the RFC ↗
rfcs/trpc-sse-reconnect.md
trpc/trpc · RFC · 2026in discussion

tRPC: typed SSE reconnect strategy

A typed reconnect option for SSE subscriptions — backoff, lastEventId resume and per-procedure overrides, all inferred from the router so clients can't get it wrong.

38 commentsopened Sep 2026follows #6120
Join the discussion ↗
ADMIT ONE · TALKReact India 2026

Diffing ASTs in the browser

25 minutes on how Patchwork tokenises two files in a Web Worker, aligns their syntax trees, and turns "conflict" into "merged" — live-coded against a 4,000-line file.

WHERE
Goa, IN
LENGTH
25 min
ROOM
~600
// 04 — activity

git log --oss_

Only upstream work — PRs, reviews and issues on repos I don't own. Ink squares mark the days a PR above landed.

gh contributions Abhay030405 --upstream --year 2026

612 upstream contributions in 2026

› hover a square — ink ones are merge days

Upstream contribution heatmap for 2026: 612 contributions, with eight PR merge days marked.

reviews 46% · PRs 31% · issues 23% · busiest month: September PR landed Less More
~/open-source — next
// EOF

Need someone who reads the source?

I bring the same habits to product teams: reproduce first, fix at the root, leave the codebase better documented than I found it.