Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(cli): unbreak master's markdown check and format the release changelog (#93329)

Julian Bez10952fa8ccbd
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 8a940f585537..80fcecc23555 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -261,6 +261,27 @@ jobs:
echo "new-version=$new_version" >> "$GITHUB_OUTPUT"
echo "Prepared posthog-cli v$new_version"
+ # This job commits straight to master, so nothing stands between what Sampo
+ # writes and master's own markdown gates. Sampo indents a multi-paragraph
+ # changeset under its changelog bullet and leaves that indent on the blank
+ # lines between the paragraphs, which the format check rejects.
+ - name: Install pnpm dependencies
+ if: steps.prepare-release.outputs.new-version != ''
+ uses: ./.github/actions/pnpm-install
+ with:
+ install-command: pnpm install --frozen-lockfile --filter=@posthog/root
+
+ # Same two passes as `hogli format:markdown`, called directly because hogli
+ # needs a Python venv this job does not set up. The last command re-runs the
+ # gate, so an unfixable violation stops the release instead of reddening
+ # master for every open PR.
+ - name: Format the changelog
+ if: steps.prepare-release.outputs.new-version != ''
+ run: |
+ pnpm exec markdownlint-cli2 --config .config/.markdownlint-cli2.jsonc --fix cli/CHANGELOG.md
+ pnpm exec oxfmt cli/CHANGELOG.md
+ pnpm exec markdownlint-cli2 --config .config/.markdownlint-cli2.jsonc cli/CHANGELOG.md
+
- name: Check release tag
if: steps.prepare-release.outputs.new-version != ''
env:
diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md
index f2e48b5dc726..71bb105cb0be 100644
--- a/cli/CHANGELOG.md
+++ b/cli/CHANGELOG.md
@@ -5,7 +5,7 @@
### Minor changes
- [8a28e07ea71](https://github.com/PostHog/posthog/commit/8a28e07ea71c516128bd88889238333950e00aef) Deprecate `--release-mode` on `proguard upload` and `--no-release-bind` on `dsym upload`. Both flags are hidden no-ops now: each command uploads its symbol sets bound to the release it creates, which is what it did before the flags existed. A supplied flag prints a deprecation warning instead of changing the upload, so a released gradle plugin or upload-symbols.sh that still passes one keeps working. `proguard upload` no longer reads `POSTHOG_RELEASE_MODE`; the variable keeps steering `sourcemap inject`, `sourcemap process`, `sourcemap upload`, `hermes inject`, `hermes clone` and `hermes upload`.
-
+
Event mode pays off when two releases ship a byte-identical artifact. A proguard map id is a hash of the mapping, and a dSYM symbol set is keyed on the Mach-O `LC_UUID`, so an ordinary release that changes code already gets its own symbol set. The dSYM path also lost release attribution for embedded targets, because one upload covers every target's dSYM but creates one release. — Thanks @ablaszkiewicz!
## 0.16.2 — 2026-09-01