Skip to content

chore(user-agent): restore subtree annotation - #13864

Merged
loks0n merged 1 commit into
mainfrom
fix/user-agent-subtree-annotation
Sep 23, 2026
Merged

loks0n merged 1 commit into
mainfrom
fix/user-agent-subtree-annotation

Conversation

@loks0n

@loks0n loks0n commented Sep 23, 2026

Copy link
Copy Markdown
Member

#13862 was squash-merged. The squash message kept the upstream and PR commits but not the git subtree add merge commit, so the git-subtree-* annotation was lost. Without it, split_package builds a new history with no parent, and the mirror rejects it (Split run):

! [rejected]  c232556b… -> main (non-fast-forward)
error: failed to push: user-agent

This PR is one empty commit that carries the annotation again:

  • git-subtree-mainline: 96c3ca6c64 — the squash's parent on main
  • git-subtree-split: 0396bd6187 — the mirror head it was imported from

Checked locally on top of main: bin/monorepo split user-agent --dry-run gives fb88bd8c, whose parent is 0396bd6 (a fast-forward on the mirror) and whose tree matches packages/user-agent.

Squash is fine for this PR. It's a single commit, and the repo's squash settings (COMMIT_OR_PR_TITLE / COMMIT_MESSAGES) keep its body. After merge, Split should push to utopia-php/user-agent main.

🤖 Generated with Claude Code

#13862 was squash-merged, which dropped the annotation from the
`git subtree add` merge commit and left the split unable to continue
the mirror's history (non-fast-forward on utopia-php/user-agent).
Restore it: the mainline is the squash's parent, the split is the
mirror head it was imported from.

git-subtree-dir: packages/user-agent
git-subtree-mainline: 96c3ca6
git-subtree-split: 0396bd6

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@loks0n loks0n self-assigned this Sep 23, 2026
@loks0n
loks0n merged commit 96c1946 into main Sep 23, 2026
48 checks passed
@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → fix/user-agent-subtree-annotation (after).

Metric Before After Change
🚀 Requests/sec 181.64 188.87 ⚪ +4%
⏱️ Latency P50 96.07 ms 91.28 ms ⚪ -5%
⏱️ Latency P95 223.46 ms 213.49 ms ⚪ -4.5%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 91.28 213.49 11,970 188.87 -9.97
Account 181.76 324.81 630 10.44 -24.84
TablesDB 88.39 164.74 6,510 105.07 -11.11
Storage 82.74 175.92 3,150 52.4 -19.18
Functions 131.88 259.37 1,680 28.5 -0.85

Top API waits (after)

API request Max wait (ms)
account.name.update 515.42
functions.create 389.55
functions.variables.update 367.32
tablesdb.rows.update 366.46
tablesdb.rows.delete 360.18

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