: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(tasks): raise the hogland golden box memory to 20 GiB (#104373)
Tom Owerse5b5f7618a68
diff --git a/.github/workflows/cd-tasks-golden-snapshot.yml b/.github/workflows/cd-tasks-golden-snapshot.ymlindex 426ec23d79b3..a954985550d6 100644--- a/.github/workflows/cd-tasks-golden-snapshot.yml+++ b/.github/workflows/cd-tasks-golden-snapshot.yml@@ -603,7 +603,7 @@ jobs:# sampler + the rendered-skills tarball + install-skills.sh +# setup-golden.sh) in over the box's SSH, runs setup-golden.sh, then# snapshots and points the candidate alias at it. Golden shape is the- # task sandbox shape: 4 CPU / 16 GiB / 64 GiB.+ # task sandbox shape: 4 CPU / 20 GiB / 64 GiB.- name: Bake candidate snapshot (box primitives)if: env.skip != 'true'env:@@ -613,7 +613,7 @@ jobs:SKILLS_TARBALL: ${{ env.SKILLS_TARBALL }}AGENT_VERSION: ${{ steps.agent-version.outputs.version }}BOX_CPUS: '4'- BOX_MEM_MIB: '16384'+ BOX_MEM_MIB: '20480'BOX_DISK_GIB: '64'run: |set -euo pipefaildiff --git a/products/tasks/backend/logic/services/hogland_sandbox.py b/products/tasks/backend/logic/services/hogland_sandbox.pyindex a192c6817ed6..97985172f2be 100644--- a/products/tasks/backend/logic/services/hogland_sandbox.py+++ b/products/tasks/backend/logic/services/hogland_sandbox.py@@ -73,7 +73,7 @@ TEMPLATE_TO_SNAPSHOT_ALIAS: dict[SandboxTemplate, str] = {# restore must inherit-or-match it, so per-task overrides are ignored and the provisioned# box is always this size. Keep in sync with the shape the CI golden bake boots at.HOGLAND_GOLDEN_CPU_CORES = 4.0-HOGLAND_GOLDEN_MEMORY_GB = 16.0+HOGLAND_GOLDEN_MEMORY_GB = 20.0HOGLAND_GOLDEN_DISK_GB = 64.0# Hogland rejects a create whose tags carry a `key=value` entry longer than this. Thediff --git a/products/tasks/backend/sandbox/images/hogland/bake-golden.sh b/products/tasks/backend/sandbox/images/hogland/bake-golden.shindex 8cd8dacd6b23..5f29ecdb571b 100755--- a/products/tasks/backend/sandbox/images/hogland/bake-golden.sh+++ b/products/tasks/backend/sandbox/images/hogland/bake-golden.sh@@ -27,7 +27,7 @@# SKILLS_TARBALL — path to the runner-rendered skills tarball (.tar.gz)# Optional env:# AGENT_VERSION — @posthog/agent version to install in-box (default: latest)-# BOX_CPUS / BOX_MEM_MIB / BOX_DISK_GIB — seed box shape (default 4 / 16384 / 64)+# BOX_CPUS / BOX_MEM_MIB / BOX_DISK_GIB — seed box shape (default 4 / 20480 / 64)## On success prints a single parseable line to stdout:# BAKED_SNAPSHOT_ID=<id>@@ -40,7 +40,7 @@ set -euo pipefail: "${SKILLS_TARBALL:?SKILLS_TARBALL is required (path to rendered-skills tarball)}"AGENT_VERSION="${AGENT_VERSION:-latest}"BOX_CPUS="${BOX_CPUS:-4}"-BOX_MEM_MIB="${BOX_MEM_MIB:-16384}"+BOX_MEM_MIB="${BOX_MEM_MIB:-20480}"BOX_DISK_GIB="${BOX_DISK_GIB:-64}"log() { printf '[tasks-bake] %s\n' "$*" >&2; }