Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
a143a78
fix(signals): skip settlement on finalized signal spend instead of ra…
dmarticus Nov 16, 2026
637e018
feat(workflows): cleaner broadcast email header in the redesigned UI
dmarchuk Nov 18, 2026
8efbd0a
fix(signals): let a person's agents work under their report claim
dmarticus Nov 18, 2026
dd5cad8
chore: update OpenAPI generated types
dmarticus Nov 18, 2026
971da21
chore(cli): add a hog changeset
tests-posthog[bot] Nov 18, 2026
073b9f1
fix(signals): require the creator to authenticate a task's claim fall…
dmarticus Nov 18, 2026
e05486b
fix(signals): carry the request principal on task attribution for cla…
dmarticus Nov 19, 2026
eea7858
feat(workflows): add optional email fields from links next to the fie…
dmarchuk Nov 19, 2026
d9650e5
feat(workflows): lay out email header fields one per row with add and…
dmarchuk Nov 19, 2026
c554fd7
fix(workflows): leave sender setup to the broadcast banner when no se…
dmarchuk Nov 19, 2026
3831716
feat(workflows): tighten the email header so it takes about as much r…
dmarchuk Nov 19, 2026
e5aa1dc
fix(mcp-hint): remove posthog desktop from agent badge rotation
rafaeelaudibert Nov 19, 2026
0c883c2
fix(workflows): center the Liquid variable button inside single-line …
dmarchuk Nov 19, 2026
56714f0
chore(flags): remove the flag_evaluations person_id repair job
haacked Nov 19, 2026
aca9712
fix(workflows): keep the old email header field height and the sender…
dmarchuk Nov 19, 2026
702459e
chore(flags): remove the unused on_shard_host helper
haacked Nov 19, 2026
fb6dcab
feat(workflows): import resend contacts as people
dmarchuk Nov 19, 2026
f3b5bc7
fix(workflows): make a contacts import include the opt-out steps
dmarchuk Nov 19, 2026
174ee4d
fix(workflows): carry opt-outs for long contact lists in parts
dmarchuk Nov 19, 2026
659e0a7
fix(workflows): index opt-out lookups by lowercase address
dmarchuk Nov 19, 2026
21f7844
fix(workflows): keep matched spellings when a contact list fails partway
dmarchuk Nov 19, 2026
d160584
fix(workflows): escape every path character in a resend contact id
dmarchuk Nov 19, 2026
67314b4
chore(workflows): leave the lowercase address index to its own pr
dmarchuk Nov 19, 2026
be49c39
fix(workflows): give contact scans enough time to finish the largest …
dmarchuk Nov 19, 2026
5302ff5
feat(workflows): add provider import run settings column
dmarchuk Nov 19, 2026
91abe3c
chore(visual): update storybook baselines
posthog[bot] Nov 19, 2026
4bd3282
chore(deps): update posthog-node to 6.0.4 in the desktop app
eli-r-ph Nov 18, 2026
7f693cb
chore(ci): check each pnpm SDK's catalog and lock entries in one loop
eli-r-ph Nov 19, 2026
7959c8b
Merge remote-tracking branch 'origin/master' into dmarchuk/broadcast-…
dmarchuk Nov 19, 2026
0591cc3
Merging 91abe3c08daa0598aa4410d2c06aa30cd3242126 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
f6403c3
Merging e05486bf82332c4d0096c51f78bc7f8220ad5b3d into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
4a27bda
Merging f6403c343ccce8d25c993c0672e822b3951f3cf9 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
fd10c7b
Merging 702459e44e5c4b77e23eb64f4ad1d5f83f68b97a into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
89c5c8b
Merging 5302ff530c412c20d610360a23a13fc4c5b2a27c into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
989521b
Merging be49c3961606adf35f53db4f420d98c9472350c6 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
84a2b3b
Merging 989521b27d5dea785ca06c87b52632470b64296f into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
1af1101
Merging a143a78902927e81486a6f86bfcd37e3a1ea7556 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
e0aa02e
Merging 7f693cbf30739f75be22863e8e222a51e6764a36 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
f2c0b01
Merging e0aa02e91c9efef2f2fb7b11f0f06d452d365551 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
35e7c8e
Merging 7959c8bd68cca7a1ae686d46e97a749b018c44e9 into trunk-temp/pr-1…
trunk-io[bot] Nov 19, 2026
7b490ca
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 19, 2026
554dbd7
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 19, 2026
a0890b8
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 19, 2026
4cfe930
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
0c38587
Merge branch 'bench/base-594616e' into tm
tembo[bot] Nov 20, 2026
ae71773
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
Nov 20, 2026
c54d9f6
Merge remote-tracking branch 'origin/bench/base-594616e' into trunk-m…
tembo[bot] Nov 20, 2026
3abf8ad
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
322ab33
bench: retrigger
tembo[bot] Nov 20, 2026
61fa29c
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
2cfddaf
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
17425c1
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
7e2cf2c
Merge branch 'bench/base-594616e' into trunk-merge/bench-139159
tembo[bot] Nov 20, 2026
fe419b4
bench: incremental image build probe (touch one TS and one Python file)
tembo[bot] Nov 20, 2026
9fcaa89
bench: drop incremental build probe
tembo[bot] Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ The legacy entries move to v1 soon after that release. Update this list and the

## On capture v1

| Sender | Code | Sends to |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| Django, on behalf of a customer team | `capture_internal`, `capture_batch_internal` in [`posthog/api/capture.py`](../../../../posthog/api/capture.py) | `/i/v1/analytics/events` (`CAPTURE_V1_INTERNAL_ENDPOINT`) |
| Django, `$ai_*` events for a customer team | `capture_ai_internal` in the same file, for example [`team_capture.py`](../../../../posthog/temporal/ai_observability/team_capture.py) | `/i/v1/ai/events` on capture-ai (`CAPTURE_V1_AI_INTERNAL_ENDPOINT`) |
| Node push subscription person updates | [`push-capture.ts`](../../../../nodejs/src/messaging/push-subscriptions/push-capture.ts) | `/i/v1/analytics/events` |
| Batch imports | [`batch-import-worker/src/emit/capture.rs`](../../../../rust/batch-import-worker/src/emit/capture.rs) | `/i/v1/analytics/events` |
| Rust services' own telemetry | posthog-rs with the `capture-v1` feature (`posthog-rs` in [`rust/Cargo.toml`](../../../../rust/Cargo.toml)) | `/i/v1/*` |
| Node services' own telemetry | `posthog-node` 6.x in [`nodejs/package.json`](../../../../nodejs/package.json) and [`services/mcp/package.json`](../../../../services/mcp/package.json) | `/i/v1/analytics/events` |
| Hobby installer | `posthog-go` v2 in [`bin/hobby-installer/go.mod`](../../../../bin/hobby-installer/go.mod) | `/i/v1/analytics/events` |
| Sender | Code | Sends to |
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| Django, on behalf of a customer team | `capture_internal`, `capture_batch_internal` in [`posthog/api/capture.py`](../../../../posthog/api/capture.py) | `/i/v1/analytics/events` (`CAPTURE_V1_INTERNAL_ENDPOINT`) |
| Django, `$ai_*` events for a customer team | `capture_ai_internal` in the same file, for example [`team_capture.py`](../../../../posthog/temporal/ai_observability/team_capture.py) | `/i/v1/ai/events` on capture-ai (`CAPTURE_V1_AI_INTERNAL_ENDPOINT`) |
| Node push subscription person updates | [`push-capture.ts`](../../../../nodejs/src/messaging/push-subscriptions/push-capture.ts) | `/i/v1/analytics/events` |
| Batch imports | [`batch-import-worker/src/emit/capture.rs`](../../../../rust/batch-import-worker/src/emit/capture.rs) | `/i/v1/analytics/events` |
| Rust services' own telemetry | posthog-rs with the `capture-v1` feature (`posthog-rs` in [`rust/Cargo.toml`](../../../../rust/Cargo.toml)) | `/i/v1/*` |
| Node services' and the desktop app's own telemetry | `posthog-node` 6.x in [`nodejs/package.json`](../../../../nodejs/package.json), [`services/mcp/package.json`](../../../../services/mcp/package.json) and [`products/desktop/apps/code/package.json`](../../../../products/desktop/apps/code/package.json) | `/i/v1/analytics/events` |
| Hobby installer | `posthog-go` v2 in [`bin/hobby-installer/go.mod`](../../../../bin/hobby-installer/go.mod) | `/i/v1/analytics/events` |

To find the Django call sites, search for `capture_internal(`, `capture_batch_internal(` and `capture_ai_internal(`.

Expand All @@ -25,7 +25,6 @@ The Django functions and `push-capture.ts` set the batch-level `capture_internal
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------- |
| Node internal capture, used by CDP `posthog.capture()` in Hog functions | `InternalCaptureService` in [`internal-capture.ts`](../../../../nodejs/src/common/services/internal-capture.ts), `CAPTURE_INTERNAL_URL` in [`config.ts`](../../../../nodejs/src/common/config.ts) | `/capture` |
| Django and `ee/` team 2 telemetry | `posthoganalytics` (posthog-python 7.x) in [`pyproject.toml`](../../../../pyproject.toml), held below 8 by `constraint-dependencies` | Legacy |
| Desktop app's own telemetry | `posthog-node` 5.x in [`products/desktop/apps/code/package.json`](../../../../products/desktop/apps/code/package.json) | Legacy |
| PostHog CLI | `posthog-rs` 0.30 without the `capture-v1` feature in [`cli/Cargo.toml`](../../../../cli/Cargo.toml) | Legacy |
| CI and repo tooling telemetry | [`.github/actions/paths-filter/src/shadow.ts`](../../../../.github/actions/paths-filter/src/shadow.ts) and its `.depot` copy, [`.github/scripts/capture_depot_running_time.py`](../../../../.github/scripts/capture_depot_running_time.py), [`.github/workflows/trunk-impacted-targets.yml`](../../../../.github/workflows/trunk-impacted-targets.yml) | `/capture`, `/batch`, `/i/v0/e` |
| Hog CLI telemetry | [`hog/src/core/telemetry.ts`](../../../../hog/src/core/telemetry.ts) | `/batch` |
Expand Down
23 changes: 8 additions & 15 deletions .github/scripts/check_sdk_majors.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
("products/desktop/", "products/desktop/pnpm-workspace.yaml", "products/desktop/pnpm-lock.yaml"),
("", "pnpm-workspace.yaml", "pnpm-lock.yaml"),
)
# The desktop app is its own pnpm workspace with its own release, so it moves to posthog-node 6 in a separate migration PR.
NPM_EXPECTED_MAJOR_OVERRIDES = {("products/desktop/", "posthog-node"): 5}

# Wrapper packages that depend on an SDK. A routine wrapper release can raise its peer
# range to the next SDK major, which is the same breaking change through a side door.
Expand Down Expand Up @@ -184,12 +182,6 @@ def npm_workspace_for(manifest: str) -> tuple[str, str]:
raise AssertionError("unreachable: the root workspace matches every path")


def npm_expected_major(path: str, package: str) -> int:
"""The major `package` is held to in the pnpm workspace that owns `path`."""
prefix = next(prefix for prefix, _workspace_file, _lock in NPM_WORKSPACES if path.startswith(prefix))
return NPM_EXPECTED_MAJOR_OVERRIDES.get((prefix, package), EXPECTED_MAJORS[package])


def npm_manifests(root: Path) -> list[tuple[str, str, str, str]]:
"""Every (manifest, section, package, spec) under root that names an npm SDK."""
found = []
Expand Down Expand Up @@ -261,25 +253,26 @@ def check_node(root: Path) -> list[str]:
problems = []
for manifest, section, package, spec in npm_manifests(root):
workspace_file, _lock = npm_workspace_for(manifest)
expected = npm_expected_major(manifest, package)
expected = EXPECTED_MAJORS[package]
if spec == "catalog:":
spec = pnpm_catalog(root / workspace_file).get(package, "")
if not npm_pinned_to(spec, expected):
problems.append(
f"{manifest} [{section}]: {package} declares {spec!r}, which is not pinned to major {expected}. {MIGRATION_HINT}"
)
for prefix, workspace_file, lock in NPM_WORKSPACES:
for _prefix, workspace_file, lock in NPM_WORKSPACES:
catalog = pnpm_catalog(root / workspace_file)
lock_text = (root / lock).read_text(encoding="utf-8")
for package in NPM_SDKS:
expected = npm_expected_major(prefix, package)
if package in catalog and not npm_pinned_to(catalog[package], expected):
if package in catalog and not npm_pinned_to(catalog[package], EXPECTED_MAJORS[package]):
problems.append(
f"{workspace_file} catalog: {package} is {catalog[package]!r}, expected major {expected}"
f"{workspace_file} catalog: {package} is {catalog[package]!r}, expected major {EXPECTED_MAJORS[package]}"
)
resolved = pnpm_lock_majors(lock_text, package)
if resolved and resolved != {expected}:
problems.append(f"{lock} resolves {package} to majors {sorted(resolved)}, expected {{{expected}}}")
if resolved and resolved != {EXPECTED_MAJORS[package]}:
problems.append(
f"{lock} resolves {package} to majors {sorted(resolved)}, expected {{{EXPECTED_MAJORS[package]}}}"
)
for lock, package, peer in NODE_WRAPPER_PEERS:
lock_text = (root / lock).read_text(encoding="utf-8")
ranges = pnpm_lock_peer_ranges(lock_text, package, peer)
Expand Down
12 changes: 6 additions & 6 deletions .github/scripts/test_check_sdk_majors.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,26 +242,26 @@ def lock(version: str, wrappers: str = "") -> str:
@pytest.mark.parametrize(
"root_version,desktop_version,problems",
[
("6.0.4", "5.74.0", []),
("6.0.4", "6.0.4", []),
(
"5.74.0",
"5.74.0",
"6.0.4",
[
"nodejs/package.json [dependencies]: posthog-node declares '5.74.0', which is not pinned to major 6",
"pnpm-lock.yaml resolves posthog-node to majors [5], expected {6}",
],
),
(
"6.0.4",
"6.0.4",
"5.74.0",
[
"products/desktop/apps/code/package.json [dependencies]: posthog-node declares '6.0.4', which is not pinned to major 5",
"products/desktop/pnpm-lock.yaml resolves posthog-node to majors [6], expected {5}",
"products/desktop/apps/code/package.json [dependencies]: posthog-node declares '5.74.0', which is not pinned to major 6",
"products/desktop/pnpm-lock.yaml resolves posthog-node to majors [5], expected {6}",
],
),
],
)
def test_check_node_holds_each_pnpm_workspace_to_its_own_major(
def test_check_node_holds_every_pnpm_workspace_to_the_expected_major(
tmp_path: Path, root_version: str, desktop_version: str, problems: list[str]
) -> None:
_write_node_root(tmp_path, root_version, desktop_version)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import { EmailSenderRow } from './EmailSenderRow'
import { EMAIL_TYPE_SUPPORTED_FIELDS, EmailTemplaterLogicProps, emailTemplaterLogic } from './emailTemplaterLogic'
import { LiquidSupportedText } from './LiquidSupportedText'
import { OptionalHeaderFieldRow } from './OptionalHeaderFieldRow'
import { QuillEmailHeaderFields } from './QuillEmailHeaderFields'
import { SandboxSenderChoiceContext } from './SandboxSenderChoiceContext'
import {
SANDBOX_SENDER_VALUE,
Expand Down Expand Up @@ -619,7 +620,9 @@ function NativeEmailTemplaterForm({
formKey="emailTemplate"
>
<div className={fieldsHidden ? 'h-0 overflow-hidden' : ''}>
{compactHeader ? (
{compactHeader && logicProps.quillHeader && mode === 'preview' ? (
<QuillEmailHeaderFields />
) : compactHeader ? (
<>
{showSenderRow && <EmailSenderRow />}
{workflowHeader && <EmailRecipientFields />}
Expand All @@ -630,6 +633,7 @@ function NativeEmailTemplaterForm({
value={value}
onChange={onChange}
globals={logicProps.variables}
placeholder="Add a subject line"
/>
)}
</LemonField>
Expand Down
Loading
Loading