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(ci): remove drift-prone timings from workflow comments (#79092)

Raúl Negrón-Oterod013a5c3e4e8
diff --git a/.agents/skills/writing-code-comments/SKILL.md b/.agents/skills/writing-code-comments/SKILL.md
index 80ad0e8eb884..a4ecb236bcb8 100644
--- a/.agents/skills/writing-code-comments/SKILL.md
+++ b/.agents/skills/writing-code-comments/SKILL.md
@@ -3,7 +3,7 @@ name: writing-code-comments
description: >
Gates whether a code comment should exist and forces the ones that stay to explain why, not what.
Use ALWAYS before writing or editing a comment in any language (Python, TypeScript, Go, Rust, SQL), and when reviewing a diff that adds comments.
- Removes the comment types that clutter the codebase: narration that restates the code, change-history and chat-context notes ("previously did X", "per PR #123", "AI:"), commented-out code, and redundant docstrings.
+ Removes the comment types that clutter the codebase: narration that restates the code, change-history and chat-context notes ("previously did X", "per PR #123", "AI:"), perishable measurements and current-state stamps ("~20 min build", "currently", "today"), commented-out code, and redundant docstrings.
Keeps the ones that earn their place: a non-obvious why, a warning about a non-local consequence, a pointer to context a future reader can't reconstruct.
Not for user-facing copy (see `/writing-user-facing-copy`) or commit messages.
---
@@ -45,6 +45,23 @@ Never record how the code got here. That belongs in the commit message and PR de
- ❌ `# AI: generated this helper` / `// agent: refactored`
- ❌ `# TODO(2024-01): remove after migration` left in long after the migration
+### Perishable measurements and current-state stamps
+
+Measured timings, counts, and rates rot silently: nothing forces them to update, and a rotted number misleads the next person sizing a timeout or shard count. The same goes for "currently" / "today" hedges, because the sentence states the same fact without them. State the durable relationship the number stood for.
+
+- ❌ `# skip the ~20 min build` when the durable fact is that the build is expensive
+- ❌ `# ci-backend runs ~28m, so 60m ≈ one red result` instead of "sized past a full run of the slowest workflow"
+- ❌ `# no story currently opts into webkit snapshots` where dropping "currently" states the same fact
+- ❌ `# ~20 minutes in June, past 25 by July` because trend narration is change history
+
+Numbers that stay:
+
+- A dated snapshot: `# as of August 2024, Homebrew ships 4.13.2` (the date makes staleness visible)
+- A restated adjacent code literal: `# runs that took >5 min (300 seconds)` beside the `300` (it updates with the code)
+- A platform constant: `# GitHub's comment size limit (~64KB)`
+- A target or budget: `# Target: ~15 min per shard` (policy, not measurement)
+- Cited evidence: `# 30% peak memory observed on 16-core runs (#46853)` (the link dates it)
+
### Commented-out code
Delete it; the version history has it if it's needed again. Commented-out code is ambiguous to the next reader, who can't tell whether it's a note, a rollback plan, or an accident.
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index 3683f2ca0301..8f4edf43922e 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -820,7 +820,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Start Docker early (before dependency installs) so containers can pull
# images and initialize while we install deps. This matches the pattern
- # used by core-tests/django which achieves ~1s wait times.
+ # used by core-tests/django and makes the later wait step negligible.
- name: Clean up data directories
run: |
[ -d "data" ] && docker run --rm -v "$(pwd)/data:/data" alpine sh -c "rm -rf /data/seaweedfs /data/minio" || true
@@ -1169,7 +1169,7 @@ jobs:
|| { echo "::group::compose launch log"; cat "${RUNNER_TEMP:-/tmp}/compose-launch.log" 2>/dev/null || true; echo "::endgroup::"; exit 1; }
- name: Prime posthog DB from cached schema
# Turns "Run migrations up to master" below into a no-op instead
- # of ~10 minutes of full migrations.
+ # of a full migration run.
if: github.event_name != 'push'
run: |
if [ ! -f schema.sql.gz ]; then
@@ -1728,7 +1728,7 @@ jobs:
- name: Install the working version of hogql-parser
if: ${{ needs.changes.outputs.backend == 'true' && steps.hogql-parser-diff.outputs.changed == 'true' }}
shell: bash
- # This is not cached currently, as it's important to build the current HEAD version of hogql-parser if it has
+ # This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
sudo apt-get install unzip cmake curl uuid pkg-config
diff --git a/.github/workflows/ci-alerts-devex.yml b/.github/workflows/ci-alerts-devex.yml
index df39352eabdf..d9981d436ad3 100644
--- a/.github/workflows/ci-alerts-devex.yml
+++ b/.github/workflows/ci-alerts-devex.yml
@@ -36,7 +36,8 @@ env:
SLACK_CHANNEL: 'C0AS64N6DJL' # #alerts-devex
WORKFLOW_FAILURE_STREAK_THRESHOLD: '5'
# Wall-clock arm: a workflow red at least this long blocks even before a full failure
- # streak. ci-backend runs ~28m, so 60m ≈ one red result that stayed red — not a transient flake.
+ # streak. Sized past a full run of the slowest workflow (ci-backend), so it means a
+ # result that stayed red rather than a transient flake.
WORKFLOW_FAILURE_MINUTES_THRESHOLD: '60'
# The wall-clock arm only opens an incident if master saw a push within this window, so a
# quiet weekend doesn't page. Keep it well above the typical gap between master pushes.
@@ -65,7 +66,7 @@ jobs:
.github/scripts/ci-alerts-devex.js
sparse-checkout-cone-mode: false
- # Ticks list runs for every gating workflow (a dozen calls, ~166 worst case)
+ # Ticks list runs for every gating workflow (dozens of calls at worst)
# exactly when master push volume peaks, so read through the posthog-tests App
# bucket (it has actions:read; ci-backend-update-test-timing lists runs with
# it) instead of the shared per-repo GITHUB_TOKEN. A failed mint falls back
diff --git a/.github/workflows/ci-backend-update-test-timing.yml b/.github/workflows/ci-backend-update-test-timing.yml
index 60c33fb2863a..e4ce9c0e813d 100644
--- a/.github/workflows/ci-backend-update-test-timing.yml
+++ b/.github/workflows/ci-backend-update-test-timing.yml
@@ -14,8 +14,8 @@ on:
schedule:
# Every 6 hours: merge the latest CI timing artifacts and refresh the Actions cache
# that ci-backend / ci-dagster restore for sharding. Frequent refresh keeps splits
- # balanced even after large batches of new tests land mid-day. Cheap (~90s on
- # depot-ubuntu-24.04, no test execution).
+ # balanced even after large batches of new tests land mid-day. Cheap: it merges
+ # artifacts without executing any tests.
- cron: '0 3,9,15,21 * * *'
# Monthly (1st): same merge, but this run also commits the .test_durations fallback
# via PR. The committed file is only the cold-start / cache-miss floor, so it doesn't
@@ -70,7 +70,7 @@ jobs:
fi
# Find recent successful ci-backend.yml runs with timing artifacts.
- # Most runs skip tests due to path filtering (~20 sec), so filter by duration first
+ # Most runs skip tests due to path filtering and finish in seconds, so filter by duration first
# Runs that actually execute tests take 15+ minutes
# Only consider runs from the past 14 days to ensure artifacts haven't expired
echo "Searching for Backend CI runs with timing artifacts..."
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index 77b019529326..435d0714e6bf 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -805,7 +805,7 @@ jobs:
# Start Docker early (before dependency installs) so containers can pull
# images and initialize while we install deps. This matches the pattern
- # used by core-tests/django which achieves ~1s wait times.
+ # used by core-tests/django and makes the later wait step negligible.
- name: Clean up data directories
run: |
[ -d "data" ] && docker run --rm -v "$(pwd)/data:/data" alpine sh -c "rm -rf /data/seaweedfs /data/minio" || true
@@ -923,7 +923,7 @@ jobs:
- name: Register Temporal search attributes
# Some product groups (data_warehouse, batch_exports) connect to a live Temporal
# via sync_connect() in their tests, so keep a readiness gate before tests run.
- # By this point Temporal has warmed up in the background, so the wait is ~1-2s.
+ # By this point Temporal has warmed up in the background, so the wait is negligible.
# data_warehouse tests use custom search attributes (PostHogTeamId, PostHogOrgId,
# PostHogDagId) when calling schedule_materialization() → sync_saved_query_workflow(),
# so they must be registered before tests run.
@@ -1466,7 +1466,7 @@ jobs:
- name: Prime posthog DB from cached schema
# Turns "Run migrations up to master" below into a no-op instead
- # of ~10 minutes of full migrations.
+ # of a full migration run.
if: github.event_name != 'push'
run: |
if [ ! -f schema.sql.gz ]; then
@@ -2291,7 +2291,7 @@ jobs:
# runs on drafts and sets MODE to "skip"/"selected"; an empty MODE on a
# draft means it was cancelled or failed (typically ready_for_review
# superseding it mid-flight). Without this, the draft builds the full
- # matrix and holds the per-branch concurrency slot for ~30 min, so the
+ # matrix and holds the per-branch concurrency slot for the whole run, so the
# ready-for-review run — the actual merge gate — queues behind it instead
# of starting. Skip here and defer to that ready run. The run-ci-backend
# label intentionally forces the full matrix on a draft, so honor it.
@@ -2737,7 +2737,7 @@ jobs:
- name: Install the working version of hogql-parser
if: ${{ needs.changes.outputs.backend == 'true' && steps.hogql-parser-diff.outputs.changed == 'true' }}
shell: bash
- # This is not cached currently, as it's important to build the current HEAD version of hogql-parser if it has
+ # This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
sudo apt-get install unzip cmake curl uuid pkg-config
@@ -3459,7 +3459,7 @@ jobs:
# Per-test failure rollup: only when a test job actually failed, download that
# shard's JUnit so "Check dependency results" can list the failing tests. Skipped
- # on green runs (the common case) to avoid pulling ~50 artifacts for nothing.
+ # on green runs (the common case) to avoid pulling every shard artifact for nothing.
# continue-on-error so a flaky fetch can't fail this required gate.
- name: Download shard JUnit results
if: always() && (needs.django.result != 'success' || needs.turbo-tests.result != 'success')
diff --git a/.github/workflows/ci-clickhouse-multinode-migrations.yml b/.github/workflows/ci-clickhouse-multinode-migrations.yml
index 8902eff2e28a..e2fe6232bf0d 100644
--- a/.github/workflows/ci-clickhouse-multinode-migrations.yml
+++ b/.github/workflows/ci-clickhouse-multinode-migrations.yml
@@ -32,10 +32,10 @@ jobs:
multinode-migration-smoke:
name: Run ClickHouse migrations against per-cluster topology
runs-on: ubuntu-24.04
- # The common path primes Postgres from the master schema artifact (~2 min for
- # the Postgres phase). The fallback applies every Django migration from
- # scratch and grows with the migration count (~27 minutes in August 2026), so
- # the timeout is sized for the fallback. Raise it if migrate keeps creeping up.
+ # The common path primes Postgres from the master schema artifact. The
+ # fallback applies every Django migration from scratch and grows with the
+ # migration count, so the timeout is sized for the fallback. Raise it if
+ # migrate keeps creeping up.
timeout-minutes: 40
env:
DEBUG: '1'
diff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.yml
index 3debf6db8da1..dd204bc4b4d9 100644
--- a/.github/workflows/ci-dagster.yml
+++ b/.github/workflows/ci-dagster.yml
@@ -210,8 +210,7 @@ jobs:
OLDEST_SUPPORTED: ${{ steps.read-versions.outputs.oldest_supported }}
run: |
# :NOTE: Keep shard count in sync with observed run times.
- # Target: ~15 min per shard. Current: 3 shards for ~30 min total.
- # Consult #team-devex before changing.
+ # Target: ~15 min per shard. Consult #team-devex before changing.
shards=3
# Parse the oldest_supported from the JSON array format
image=$(echo "$OLDEST_SUPPORTED" | jq -r '.[0]')
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.yml
index 96535978fd72..dffae89b8777 100644
--- a/.github/workflows/ci-e2e-playwright.yml
+++ b/.github/workflows/ci-e2e-playwright.yml
@@ -7,7 +7,7 @@ name: E2E CI Playwright
on:
pull_request:
# Draft PRs skip E2E entirely — the broad path filter below matches nearly
- # every code PR, and a full ~25-minute stack boot per draft push is the
+ # every code PR, and a full stack boot per draft push is the
# remaining big per-PR cost. The ready-for-review full run is the merge
# gate; use workflow_dispatch to force a run on a draft.
types: [opened, synchronize, reopened, ready_for_review]
@@ -170,7 +170,7 @@ jobs:
- '!ee/**/conftest.py'
# Visual Review auto-commits a snapshot baseline after human review and CI
- # approval. Re-running the ~25-min E2E stack for that bot push is pure waste;
+ # approval. Re-running the full E2E stack for that bot push is pure waste;
# the `playwright_tests` aggregator treats the resulting skip as success. Key
# off the push delta (this push's commits), not the whole-PR diff the filter reports,
# so it fires even when the PR also carries real code changes.
@@ -267,7 +267,7 @@ jobs:
- name: Compute schema cache keys
id: schema-key
# Both PRs and master pushes restore the schema dump ci-backend saves on
- # master push, skipping the ~10-min replay of the full migration history —
+ # master push, skipping the replay of the full migration history —
# the migrate step in the heavy job still layers on anything newer. On a PR
# the migration-set key is the merge-base's; on a master push it's HEAD's.
# ci-backend already validates the full history on every master push (it's
@@ -518,7 +518,7 @@ jobs:
# GITHUB_TOKEN in .git/config where that code could read it — the report step
# below receives the token explicitly via its GITHUB_TOKEN env instead.
persist-credentials: false
- # Fail fast (seconds, before the ~10-min stack boot) when the spec-selection
+ # Fail fast (seconds, before the stack boot) when the spec-selection
# map has drifted: a target pointing at a renamed/deleted spec, or a new spec
# no map entry reaches. Without this gate the selector silently falls open to
# permanent full runs and the selection savings evaporate unnoticed. The
@@ -640,7 +640,7 @@ jobs:
- name: Install the working version of hogql-parser
if: needs.changes.outputs.shouldRun == 'true' && steps.hogql-parser-diff.outputs.changed == 'true'
shell: bash
- # This is not cached currently, as it's important to build the current HEAD version of hogql-parser if it has
+ # This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
sudo apt-get install unzip cmake curl uuid pkg-config
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml
index 44aade675885..dc4844003dbf 100644
--- a/.github/workflows/ci-frontend.yml
+++ b/.github/workflows/ci-frontend.yml
@@ -631,8 +631,8 @@ jobs:
# Fork PRs keep the pre-existing OOM flake; internal PRs and master get the fix.
runs-on: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && 'depot-ubuntu-24.04-8' || 'ubuntu-latest' }}
# Kea typegen invalidates on changes to any logic plus everything that depends on it.
- # For changes to shared core (TaxonomicFilter, Insight, etc.) the dependent set is large
- # and the cache miss costs ~5min on top of the master baseline (~10min). 15 is too tight.
+ # For changes to shared core (TaxonomicFilter, Insight, etc.) the dependent set is
+ # large, so the budget must fit a cache miss on top of the baseline build.
timeout-minutes: 20
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -701,8 +701,8 @@ jobs:
runs-on: ubuntu-latest
# Draft PRs run the selective mode as a single unsharded job over every
# test reachable from the changed files. A PR touching a scene component
- # can pull in ~700 suites, which does not fit in 15 minutes. 20 covers it;
- # the ready-for-review fanout shards well below either limit.
+ # can pull in much of the suite, so the budget must fit a near-full
+ # unsharded run; the ready-for-review fanout shards well below it.
timeout-minutes: 20
needs: [changes, select-jest-tests]
# A status function is required because select-jest-tests is skipped on ready
@@ -754,9 +754,8 @@ jobs:
env:
NODE_OPTIONS: --max-old-space-size=16384
SHARD_INDEX: ${{ matrix.chunk }}
- # Keep shard runtime well under timeout-minutes: the EE suite at 2
- # shards ran 13-15 min on the 2-worker config and regularly died at
- # the 15-min timeout, failing the whole run.
+ # Keep shard runtime well under timeout-minutes: at 2 shards the EE
+ # suite regularly hit the job timeout and failed the whole run.
SHARD_COUNT: 4
MODE: ${{ needs.select-jest-tests.outputs.mode }}
CHANGED_FILES: ${{ needs.select-jest-tests.outputs.changed_files }}
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index 4b2179bd3193..f27cdb73e36d 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -425,7 +425,7 @@ jobs:
- name: Build Rust flags service
working-directory: rust
env:
- # Debug builds compile much faster than release (~4 min vs ~9 min).
+ # Debug builds compile much faster than release.
# We disable debug assertions because the codebase contains
# debug_assert! checks that intentionally panic on data invariant
# violations, which would crash the service mid-test-run.
diff --git a/.github/workflows/ci-rust-flags-integration.yml b/.github/workflows/ci-rust-flags-integration.yml
index bbd9c84ce467..dad99c459041 100644
--- a/.github/workflows/ci-rust-flags-integration.yml
+++ b/.github/workflows/ci-rust-flags-integration.yml
@@ -135,7 +135,7 @@ jobs:
- name: Build Rust services
working-directory: rust
env:
- # Debug builds compile much faster than release (~4 min vs ~9 min).
+ # Debug builds compile much faster than release.
# We disable debug assertions because the codebase contains
# debug_assert! checks that intentionally panic on data invariant
# violations, which would crash the service mid-test-run.
diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.yml
index 69fbf1ca51b6..c08c6c999a2f 100644
--- a/.github/workflows/ci-storybook.yml
+++ b/.github/workflows/ci-storybook.yml
@@ -160,7 +160,7 @@ jobs:
filters: ${{ runner.temp }}/frontend-exclude.yml
# Build the visual-regression matrix.
- # On PRs, only run chromium shards — no story currently opts into webkit snapshots
+ # On PRs, only run chromium shards — no story opts into webkit snapshots
# (see common/storybook/.storybook/test-runner.ts), so webkit shards consume CI
# minutes without producing snapshot diffs. WebKit render-error coverage is
# preserved on master pushes.
@@ -249,8 +249,8 @@ jobs:
key: pnpm-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
# Vite's dependency optimization cache (node_modules/.vite) is the most
- # expensive part of the build — without it, Vite re-bundles 15k+ modules
- # from scratch (~14 min on degraded runners vs <1 min with cache). The
+ # expensive part of the build — without it, Vite re-bundles every module
+ # from scratch, which dwarfs the rest of the build. The
# pnpm lockfile hash ensures the cache is invalidated when deps change.
- name: Restore Vite build cache
uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
diff --git a/.github/workflows/container-images-ci.yml b/.github/workflows/container-images-ci.yml
index dc23349d3d5d..dc614d61ff0d 100644
--- a/.github/workflows/container-images-ci.yml
+++ b/.github/workflows/container-images-ci.yml
@@ -21,7 +21,7 @@ jobs:
contents: read
pull-requests: read
outputs:
- # The image is only consumed by ci-hobby.yml. Skip the ~20 min build
+ # The image is only consumed by ci-hobby.yml. Skip the long image build
# when ci-hobby would also skip, plus on changes to inputs that can
# only break inside the Docker build (workflow self-edits, frontend
# lockfile bumps that ci-hobby's filter ignores).
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
index 2f450cc71438..3198340b04ff 100644
--- a/.github/workflows/desktop-release.yml
+++ b/.github/workflows/desktop-release.yml
@@ -608,7 +608,7 @@ jobs:
mask-aws-account-id: true
unset-current-credentials: true
- # No Linux auto-updater consumes latest-linux*.yml today (updates are
+ # No Linux auto-updater consumes latest-linux*.yml (updates are
# macOS and Windows only), so the manifests can ship with the binaries
# instead of waiting for the finalize flip.
- name: Upload artifacts to the S3 update feed
diff --git a/.github/workflows/desktop-update-e2e.yml b/.github/workflows/desktop-update-e2e.yml
index 84addace861f..3b9e779b56d5 100644
--- a/.github/workflows/desktop-update-e2e.yml
+++ b/.github/workflows/desktop-update-e2e.yml
@@ -13,7 +13,7 @@ name: Desktop Update E2E (macOS)
# the background poll downloads and re-stages it; the restart must land on
# 3.0.0. Proves replacing a staged Squirrel.Mac update is safe.
# 3. Forge -> electron-builder: a real Electron Forge build (v0.55.132, the last
-# Forge release, what users run today) updating via the genuine built-in
+# Forge release) updating via the genuine built-in
# Squirrel.Mac client to the electron-builder build we ship now.
on:
@@ -153,7 +153,7 @@ jobs:
'
# Forge -> electron-builder leg. The old Forge app is a fixed pinned build
- # (cb0ca68db), byte-identical on every run, so cache it and skip the ~11 min
+ # (cb0ca68db), byte-identical on every run, so cache it and skip the
# rebuild that dominates this job. The key tracks the build script, which
# pins the ref; bump the script to force a rebuild. Built after the baseline
# leg so a flake in the (riskier) old-build step can never mask the baseline.
@@ -165,8 +165,8 @@ jobs:
key: forge-app-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('products/desktop/apps/code/scripts/dev-update/build-old-forge.sh') }}
# Reuse the cached app only if its signature still verifies, otherwise rebuild.
- # This makes a missing or tar-corrupted restore degrade to today's behaviour
- # (a full build) instead of a confusing swap failure in the Forge leg.
+ # This makes a missing or tar-corrupted restore degrade to a full build
+ # instead of a confusing swap failure in the Forge leg.
- name: Build old Forge app if not cached
working-directory: products/desktop/apps/code
env:
diff --git a/.github/workflows/hogbox-preview-env.yml b/.github/workflows/hogbox-preview-env.yml
index 8eb832fc436b..c03f536fc6e8 100644
--- a/.github/workflows/hogbox-preview-env.yml
+++ b/.github/workflows/hogbox-preview-env.yml
@@ -38,8 +38,8 @@
# see the permissions note below) and `deploy` (trusted, brings the box up)
# run IN PARALLEL. deploy no longer waits on the dist: it restores + mounts +
# migrates immediately, and only blocks on build-frontend right at the end,
-# to swap the finished dist in before it posts "ready". Cuts wall-clock from
-# ~9.5 min (serial) to ~6 (the FE build hides under the longer bring-up).
+# to swap the finished dist in before it posts "ready". Cuts wall-clock:
+# the FE build hides under the longer bring-up.
# - teardown on PR close + the daily stale-sweep: pr-closed.yml (box + pen) +
# hogbox-preview-cleanup.yml's cron. The GitHub Deployment/environment
# (preview-pr-<n>) is reaped by pr-cleanup.yml's existing deployment cleanup.
@@ -282,7 +282,7 @@ jobs:
# the other forever). The group therefore lives on `deploy`/`teardown` ONLY.
# ACCEPTED COST: a superseded push cancels the newer run's deploy (via the
# group), but this run's build-frontend is NOT cancelable, so it may run to
- # completion wasted (~3.5 min of runner time). No correctness impact — its
+ # completion wasted (runner time only). No correctness impact — its
# artifact is namespaced to its own run_id, so a stale build can't leak into
# the winning run's swap.
# Hard-fails on purpose: it runs PR code, and deploy reads its conclusion to tell
@@ -341,7 +341,7 @@ jobs:
# change the frontend. So for FE-touching PRs, build the PR's
# frontend here (the canonical Dockerfile build) and hand the dist to
# the tool, which lays it in + re-runs collectstatic in-box. Non-FE
- # PRs skip all of this and keep the ~1-min preview.
+ # PRs skip all of this and keep the fast preview.
- name: Detect frontend changes
id: fe
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
@@ -405,8 +405,8 @@ jobs:
# healthy does deploy block on build-frontend (the "Wait for the PR frontend"
# step polls this run's jobs), then swap the finished dist in BEFORE posting
# "ready" — a reviewer must never open a green link and get :master's
- # frontend for their frontend PR. The FE build (~3m27s) hides entirely under
- # the longer bring-up (~6m), so the pipeline is bring-up-bound, not their sum.
+ # frontend for their frontend PR. The FE build hides entirely under the
+ # longer bring-up, so the pipeline is bring-up-bound, not their sum.
#
# FAIL-OPEN, so infra failures leave this job green: success()/failure() are
# meaningless here, the `outcome` step is the verdict. The fork guard is exempt —
diff --git a/.github/workflows/monitor-github-rate-limit.yml b/.github/workflows/monitor-github-rate-limit.yml
index f9769556f7b8..fc606f98d5a3 100644
--- a/.github/workflows/monitor-github-rate-limit.yml
+++ b/.github/workflows/monitor-github-rate-limit.yml
@@ -115,7 +115,7 @@ jobs:
# Same pattern for the other high-volume App buckets: posthog-tests (CI
# alerter, migration-risk checks, test-timing), posthog-paths-filter (the
- # changes jobs across ~22 workflows), and the telemetry app (job-duration
+ # changes jobs across the workflow fleet), and the telemetry app (job-duration
# emitters). Each is its own 15k/hr bucket, so each gets its own series.
- name: Mint posthog-tests token
id: tests-token
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index d3d7880e9318..0e9ff1fe7adc 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -363,7 +363,7 @@ jobs:
# Build and packages all the platform-specific things
build-local-artifacts:
name: build-local-artifacts (${{ join(matrix.targets, ', ') }})
- # Let the initial task tell us to not run (currently very blunt)
+ # Let the initial task tell us to not run (very blunt)
needs:
- release
- plan-release
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b73a1af4a196..d659757a3f75 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -89,7 +89,7 @@ jobs:
# Build and packages all the platform-specific things
build-local-artifacts:
name: build-local-artifacts (${{ join(matrix.targets, ', ') }})
- # Let the initial task tell us to not run (currently very blunt)
+ # Let the initial task tell us to not run (very blunt)
needs:
- plan
if: ${{ fromJson(needs.plan.outputs.val).ci.github.artifacts_matrix.include != null && fromJson(needs.plan.outputs.val).ci.github.pr_run_mode == 'upload' && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository) }}