Skip to content

demo: AFTER — same PR after mise run git:squash-gen (default mode)#3012

Draft
qstearns wants to merge 4 commits into
demo/basefrom
demo/after-default
Draft

demo: AFTER — same PR after mise run git:squash-gen (default mode)#3012
qstearns wants to merge 4 commits into
demo/basefrom
demo/after-default

Conversation

@qstearns
Copy link
Copy Markdown
Contributor

Summary

The "after" half of the paired squash-gen demo. Companion PR: demo/before → demo/base (#3011).

This branch starts identically to demo/before. After running:

mise run git:squash-gen

…the four "feature" commits have all their generated-file churn surgically lifted into a single chore(gen): regenerate artifacts tip. The prep commits at the bottom acted as scope fences (squash-gen advances scope-start past any labeled mig:/gen:/chore(gen): ancestor).

# Subject Files Lines Notes
prep1 chore(gen): mark .speakeasy/out.openapi.yaml as linguist-generated 1 +2/-1 scope fence
prep2 chore(gen): take ownership of client/sdk/.gitattributes via .genignore 2 +1/-2 scope fence (becomes scope-start)
b1 chore(dashboard): clarify OAuth mode docstring 1 +6/-4 unchanged (had no gen content)
b2 feat(usersessions): add roastUserSession endpoint 3 +72 was 31 files / +2,803
b3 feat(usersessions): count active sessions per issuer 1 +11 was 2 / +35
b4 fix(elements): clarify defaultGetSession relay path 1 +2 unchanged (was always hand-only)
b5 chore(gen): regenerate artifacts 24 +1,924 new commit, all consolidated gen output

squash-gen output for reference:

==> scope: 4 commit(s) from 3f6eb7d to e84ca06
==> tracking 2168 generated path(s)
  keep: 2cb5dbc53 <- 1fce49efc chore(dashboard): clarify OAuth mode docstring
  keep: 159b0fea2 <- 245776ccc feat(usersessions): add roastUserSession endpoint
  keep: 5d17198bc <- e788743f5 feat(usersessions): count active sessions per issuer
  keep: 1388a65ac <- e84ca06d3 fix(elements): clarify defaultGetSession relay path
==> rewrote 4 commit(s), dropped 0
==> regenerating artifacts
==> chore(gen): regenerate artifacts

What to look at

b2 is the showcase commit: same feat(usersessions): add roastUserSession endpoint as demo/before's a2, same author/date/body — but now containing only the 3 files of actual hand-written change (server/design/usersessions/design.go, server/internal/usersessions/sessionhandlers.go, go.sum). The 28 generated files that were buried in the original now sit in b5 chore(gen): regenerate artifacts where they belong.

Reviewers of demo/before's a2 had to mentally subtract 2,800 lines of generated noise to find the ~60 lines of actual code change. Reviewers of b2 see exactly the hand-written diff.

🤖 Generated with Claude Code

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

⚠️ No Changeset found

Latest commit: d4d7f4c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gram-docs-redirect Ready Ready Preview, Comment May 23, 2026 12:58am

Request Review

@qstearns qstearns changed the base branch from demo/base to main May 23, 2026 00:47
@qstearns qstearns changed the base branch from main to demo/base May 23, 2026 00:47
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