Skip to content

docs(releases): record what the 2.5.0 release ran into - #14448

Merged
ChiragAgg5k merged 1 commit into
mainfrom
docs/releases-2.5-lessons
Oct 13, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
docs/releases-2.5-lessons

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Records in docs/releases.md what the 2.5.0 release ran into, so the next release doesn't hit it again. One of them is fixed in bin/release instead.

bin/release push

  • For a minor, X.Y.x is pushed at main, so GitHub refuses the X.Y.x → main PR ("No commits between main and 2.5.x") and push exited with an error after opening the prep PR. It now prints that the merge-back PR opens after the prep PR merges, and exits cleanly.

docs/releases.md

bin/release check 2.5.0 --ref=origin/main still passes, and Pint passes on bin/release.

Related: #14424

@luxor-code-review

luxor-code-review Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 2 nitpicks below.

🧹 Nitpicks (2) — 🟢 2 low
  • 🟢 Cheatsheet still says push opens the minor merge-back PR (releases.md:52) — The bin/release push cheatsheet at docs/releases.md:52 still promises "open the prep PR and the X.Y.x → main PR", but the new guard in bin/release now skips the merge-back PR for a minor whose X.Y.x has no commits beyond main (bin/release:180-181), printing a reminder instead.
  • 🟢 Merge-back check reads a stale origin/{branch} ref (release:178) — The new ahead-count at bin/release:178 runs git rev-list --count origin/main..origin/{branch}, but push fetches only origin main (bin/release:164).

This PR tightens the release script so a minor release whose X.Y.x branch has nothing to merge back no longer gets an empty PR, and updates the docs to describe the new ordering of the minor merge-back step.

Files Change
bin/release Counts commits on origin/main..origin/{branch} during push and skips the X.Y.x to main PR (printing a reminder instead) when the branch is not ahead of main.
docs/releases.md Rewrites release-branch step 3 so the minor merge-back PR is opened after the prep PR merges, and only when the branch has commits.

Reviewed commit: e0614f7

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 13, 2026
@ghost

ghost commented Oct 13, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Updates the release guide with the 2.5.0 lessons and adjusts bin/release push to defer the merge-back PR when a minor branch has no commits beyond main. The guide also adds checks for self-hosted release notes, Cloud signature changes, console tags, and upgrade setup.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 2
File Change
bin/release Checks whether the release branch has commits beyond main before opening the merge-back PR.
docs/releases.md Documents the release branch timing and operational lessons from 2.5.0.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Fetch the newly pushed minor branch before counting commits Verifier: The premise about Git push is incorrect. With origin's wildcard fetch refspec (+refs/heads/:refs/remotes/origin/, also present in this checkout), a successful push updates the corresponding local remote-tracking ref. Thus the push at line 169 creates origin/X.Y.x even though its source is a commit SHA, and line 178 can resolve it. Also, prepare performs a full origin fetch at line 80, not only a main fetch. No narrow fetch configuration that would prevent the push from updating this tracking ref is established by the release workflow.

Reviewed e0614f7 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k
ChiragAgg5k merged commit 88fa3d9 into main Oct 13, 2026
20 checks passed
@github-actions

Copy link
Copy Markdown

Security rules

No new WARNING or ERROR findings from security rules.

19 existing findings tracked in .semgrep/baseline.json
  • php.appwrite.guest-write-without-abuse-limit (12)
  • php.appwrite.secret-compare-timing (5)
  • php.appwrite.weak-secret-env-default (2)

Posted by Checks / Rules. Re-runs update this comment in place. Rule details and baseline: .semgrep/README.md.

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → docs/releases-2.5-lessons (after).

Metric Before After Change
🚀 Requests/sec 187.75 192.22 ⚪ +2.4%
⏱️ Latency P50 91.41 ms 89.69 ms ⚪ -1.9%
⏱️ Latency P95 216.48 ms 208.94 ms ⚪ -3.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 89.69 208.94 12,141 192.22 -7.54
Account 179.3 334.36 639 10.59 +30.02
TablesDB 86.89 158.05 6,603 107.22 +2.2
Storage 82.03 171.08 3,195 53.42 -11.48
Functions 129.99 259.25 1,704 29.14 -76.37

Top API waits (after)

API request Max wait (ms)
account.name.update 630.37
functions.variables.create 407.78
account.prefs.update 395.95
functions.delete 391.26
functions.variables.update 388.63

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