Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4d6fccd
feat(archive): flip then paged reclaim, one resumable path for every …
simple-agent-manager[bot] Nov 13, 2026
a0adb93
chore(tasks): archive the worker modularization task files (#2711)
simple-agent-manager[bot] Nov 13, 2026
527f16b
docs(www): journal post on splitting the API worker into packages (#2…
simple-agent-manager[bot] Nov 13, 2026
d65360d
feat(connector): profile accounts, pool usage, per-chat model, chat l…
simple-agent-manager[bot] Nov 13, 2026
6d79731
fix(deps): six backend upgrades and Go 1.26.11 security patch (#2658)
simple-agent-manager[bot] Nov 13, 2026
c12c7f6
feat(web): highlight comment quotes in chat and library, click to ope…
simple-agent-manager[bot] Nov 13, 2026
4d57e8a
www: rewrite integrations and enterprise pages for accuracy and the s…
simple-agent-manager[bot] Nov 13, 2026
c05d21b
fix(api): tear down nodes after their cloud credential rotates (#2715)
simple-agent-manager[bot] Nov 14, 2026
ba3ba01
Add portable deployment build-context bundles (#2605)
simple-agent-manager[bot] Nov 14, 2026
099c278
Usage ring by window, per-chat account choice, connector on the meta …
simple-agent-manager[bot] Nov 14, 2026
cf88e03
test(api): make tunnel settle-window checks deterministic (#2719)
simple-agent-manager[bot] Nov 14, 2026
ca9672f
fix(api): keep pools and node cleanup working across a credential re-…
simple-agent-manager[bot] Nov 14, 2026
8409636
test: make archive cursor lease and poison checks deterministic (#2720)
simple-agent-manager[bot] Nov 14, 2026
c60e30e
fix: enforce exact workload identity token lifetimes (#2723)
simple-agent-manager[bot] Nov 14, 2026
fb2cb3a
test: make Codex rate-limit window checks deterministic (#2726)
simple-agent-manager[bot] Nov 14, 2026
6ce953a
Fix archive timeout and quadratic projection lookups (#2724)
simple-agent-manager[bot] Nov 14, 2026
a7f8f66
Wait for container rollout completion before deployment success (#2722)
simple-agent-manager[bot] Nov 14, 2026
669293f
fix(api): cleanup cron finishes GCP teardown (two-phase provider dele…
simple-agent-manager[bot] Nov 14, 2026
a7d0523
fix(cost): archive only storage-pressured projects; skip system-owned…
simple-agent-manager[bot] Nov 14, 2026
3c59218
fix(deploy): finish rollouts despite stale application list versions …
simple-agent-manager[bot] Nov 14, 2026
1d234cf
fix(gcp): size the boot disk by vCPU so GCP nodes pack workspaces (#2…
simple-agent-manager[bot] Nov 14, 2026
bc5a6cc
refactor(api): move the ws-* proxy out of index.ts (L2, pure move) (#…
simple-agent-manager[bot] Nov 14, 2026
567d8c0
fix(placement): compute pool decides VM provider and location (#2731)
simple-agent-manager[bot] Nov 14, 2026
03230e5
refactor(api): split tts, ai-token-budget and agent-loop (L3, pure mo…
simple-agent-manager[bot] Nov 14, 2026
2523e6e
Merge origin/main (03230e52b) into the self-host branch (M1)
raphaeltm Nov 14, 2026
1c5453f
feat(project-data): attribute row usage to RPC operations (#2729)
simple-agent-manager[bot] Nov 14, 2026
164d3be
docs(www): journal post on highlighting comment quotes without touchi…
simple-agent-manager[bot] Nov 14, 2026
115157d
fix(deps): align apps/api isomorphic-git with main's 1.44.12 and repa…
raphaeltm Nov 14, 2026
3d995fb
task: M1 merge main into sam/selfhost-pass-2
raphaeltm Nov 14, 2026
e08088c
test(api): Connector proxy bindings run on a Cloudflare-shaped env; a…
raphaeltm Nov 14, 2026
c6dd795
docs(selfhost): teardown-gcp cites main's nodeProviderLabelsMatch
raphaeltm Nov 14, 2026
b0fd3a1
task: M1 progress (CI green, reviews passed)
raphaeltm Nov 14, 2026
76f6c87
Reduce project event writes and retention FK scans (#2734)
simple-agent-manager[bot] Nov 14, 2026
84d77aa
Bound CI coverage pools and make lifecycle ties deterministic (#2728)
simple-agent-manager[bot] Nov 14, 2026
20cdb99
Merge origin/main (84d77aa0f) into M1: #2728, #2729, #2734, #2735
raphaeltm Nov 14, 2026
f95a5e2
task: M1 second main merge recorded
raphaeltm Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,32 @@ Staging deployment is **manual** — it does NOT run automatically on PRs. You m
gh run watch <run-id>
```

For container-backed Instant verification, `wrangler deploy` success means the
rollout started, not that every instance serves the new image. The shared staging
and production workflow has a separate **Wait for container rollout completion**
step. It compares rollout identities before/after deploy, pins the single new
rollout and requires all its steps completed through 100% at the pinned target.
The application list can retain the previous version after completion; that
disagreement is diagnostic and does not veto the completed rollout.
Multiple new rollouts fail as ambiguous. An unchanged or metadata-only deployment
awaits any existing pending rollout; a first direct creation needs no rollout.
Application GET can report the old version during rollout, so version equality
alone cannot prove a no-op. API errors, unreadable status and timeout fail the
step. This closes the window where deploy reports success mid-rollout; it does
not prove every running instance's binary. The unexplained post-rollout version
transition remains tracked in idea01M7BQJ14BKVMPMKRA2GCSP8MJ. Keep gradual rollouts: even one 100% step has a mixed-image window while
instances are replaced. After workflow success, verify the new Instant node's
recorded `agent_version` matches the deployed `VM_AGENT_REQUIRED_VERSION` before
counting a VM-agent trial as evidence. The authenticated `/ready` callback logs
`instant_session.agent_version_mismatch` with nodeId, expectedVersion and
reportedVersion without rejecting readiness; `/health` only reports liveness.

Deploy-only GitHub Environment overrides (not Worker runtime settings):
`CONTAINER_ROLLOUT_TIMEOUT_MS` defaults to 1200000 (20 minutes), and
`CONTAINER_ROLLOUT_POLL_INTERVAL_MS` defaults to 10000. Both require positive
integer milliseconds. Timeout diagnostics include application, rollout and last
status. These settings do not change the rollout strategy.

If the deployment fails:

- Inspect the deployment logs: `gh run view <RUN_ID> --log-failed`
Expand Down
9 changes: 7 additions & 2 deletions .claude/skills/api-reference/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,18 @@ Connector connection/client inventories accept `cursor` and return `nextCursor`.

### External operational MCP tools

The full external registry (38 tools, 27 read-only) includes `sam_chat_interrupt`, `sam_chat_status`,
The full external registry (39 tools, 28 read-only) includes `sam_chat_interrupt`, `sam_chat_status`,
`sam_chat_delivery_get`, `sam_chat_interactions`, `sam_work_changes`,
`sam_chat_jobs_list`, and `sam_operation_get`; transcript reads `sam_chat_read` (whole messages by
default, `unit:"rows"` for stored rows) and `sam_chat_message_get`; `sam_team_status`; schedules
`sam_schedules_list|get|create|update|cancel` (one-off DO schedules + cron triggers); channels
`sam_channels_list`, `sam_channel_history`, `sam_channel_get`, `sam_channel_subscription_cancel`
(no app posting). Agent questions (attention markers) appear in `sam_chat_read.pendingAttention`,
(no app posting); account monitoring `sam_usage_get` (provider usage per quota pool, freshness,
`exhausted`/`nextResetAt`) with `sam_profiles_list.account` (`state`, `tier`, opaque `poolId`,
`accountName`; `services/profile-account-bindings.ts` over the shared selection in
`services/agent-credential-selection.ts`, no decryption); `sam_chat_start` takes a
one-chat `model`/`effort`; `sam_chats_list` rows carry `operational` task state and
`sam_tasks_list` rows `parentTaskId`/`executionStep`/`sessionId`. Agent questions (attention markers) appear in `sam_chat_read.pendingAttention`,
`sam_chat_interactions.attention` and the inbox. Operational session reads require
current session-writer authority; operation receipts are actor/project scoped.
Interrupt requires a requestKey and preserves the task/workspace. Reads never
Expand Down
15 changes: 9 additions & 6 deletions .claude/skills/env-reference/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,22 +381,22 @@ per-slice and per-run admission budgets, and the verified R2 manifest writes.
- `PROJECT_DATA_EVENT_LOG_CLEANUP_RECHECK_MS` — Delay before the next terminal event-log cleanup alarm batch when more candidates remain (default: `86400000`, daily)
- `PROJECT_DATA_ARCHIVE_SHARDING_ENABLED` — Production-disabled switch for exact archive read routing (default: disabled)
- `PROJECT_DATA_ARCHIVE_COMPACT_ENABLED` — Write new archives as compact SQLite + compressed R2; existing formats remain readable. Default: `false`.
- `PROJECT_DATA_ARCHIVE_DAILY_WRITE_BUDGET` — Installation-wide daily allowance of ESTIMATE UNITS (not billed rows) for compact migration attempts; 0 pauses admission. Also the source of the per-candidate selection ceiling, so lowering it automatically narrows which sessions a sweep selects (default: `250000`, shipped: `2400000`, tripled with the cadence on 2026-09-27). Migrations/day ceiling is `allowance / (1000 + factor x units-per-session)`; check it against the sweep cadence, because whichever is smaller is what actually runs. The GitHub `production` Environment pins this var, so change it there in lockstep.
- `PROJECT_DATA_ARCHIVE_DAILY_WRITE_BUDGET` — Installation-wide daily allowance of ESTIMATE UNITS (not billed rows) for compact migrations, reserved once per migration when it is journaled; 0 pauses admission of new migrations (in-flight ones continue; set `PROJECT_DATA_ARCHIVE_GLOBAL_SWEEP_ENABLED` false for a hard stop). Also the only source of the unscoped per-candidate selection ceiling, so lowering it automatically narrows which sessions a sweep selects (default: `250000`, shipped: `2400000`, tripled with the cadence on 2026-09-27). Migrations/day ceiling is `allowance / (1000 + factor x units-per-session)`; check it against the sweep cadence, because whichever is smaller is what actually runs. The GitHub `production` Environment pins this var, so change it there in lockstep.
- `PROJECT_DATA_ARCHIVE_WRITE_ESTIMATE_FACTOR` — Safety multiplier on the row inventory `estimateArchiveWrites` already counts (rows, archived tool payloads, grouped rows, 512-byte units of grouped FTS text, source deletion included) — not an independent amplification factor. Default: `32`, shipped: `2`. Production measurement 2026-09-14: ~65,001 estimated writes per migration from two budget samples an hour apart (~8,000 inventory units at the then-shipped factor 8), against 5,950-9,823 DO rows actually billed across four isolated ticks, so billed/unit spans 0.74-1.23 and 2 exceeds the worst case by ~63%. The previous 8 capped the sweep at 12 migrations/day when its hourly cadence allowed 24. Small sample; re-measure before retuning.
- `PROJECT_DATA_ARCHIVE_R2_TIMEOUT_MS` — R2 I/O deadline shared across each compact read/export/seal operation, or one chunk write, in milliseconds. Default: `10000`.
- `PROJECT_DATA_ARCHIVE_BUDGET_RECEIPT_RETENTION_MS` — Unused reservation receipt retention; minimum one UTC budget day. Default: `604800000` (7 days).
- `PROJECT_DATA_ARCHIVE_BUDGET_RECEIPT_CLEANUP_LIMIT` — Maximum expired receipts removed per unused release; zero disables cleanup. Default: `100`.
- `PROJECT_DATA_ARCHIVE_GLOBAL_SWEEP_ENABLED` — Separate production-disabled switch for the unscoped scheduled archive-sharding sweep; enabling exact routing alone does not run global migration (default: disabled)
- `PROJECT_DATA_ARCHIVE_GLOBAL_SWEEP_INTERVAL_MS` — Persisted cadence gate between unscoped scheduled archive-sharding sweeps; the Worker scheduled handler wakes every five minutes and claims the cadence row only when it is due. The code fallback is daily; the checked-in `wrangler.toml` ships 18 minutes, which lands a claim on the fourth five-minute tick (occasionally the fifth when the archive step starts over two minutes earlier than at the previous claim). Each claim can migrate zero or more sessions (usually one, because a real candidate outlasts the `PROJECT_DATA_ARCHIVE_WALL_TIME_MS` gate checked between candidates), subject to the per-sweep session and message budgets and the daily write budget, so cadence alone does not set the drain rate (default: `86400000`, shipped: `1080000`)
- `PROJECT_DATA_ARCHIVE_GLOBAL_SWEEP_INTERVAL_MS` — Persisted cadence gate between unscoped scheduled archive-sharding sweeps; the Worker scheduled handler wakes every five minutes and claims the cadence row only when it is due. The code fallback is daily; the checked-in `wrangler.toml` ships 18 minutes, which lands a claim on the fourth five-minute tick (occasionally the fifth when the archive step starts over two minutes earlier than at the previous claim). Each claim works until `PROJECT_DATA_ARCHIVE_WALL_TIME_MS` (checked between candidates and inside a migration, which pauses and resumes next claim) or the session slots run out, subject to the daily write budget, so cadence alone does not set the drain rate (default: `86400000`, shipped: `1080000`)
- `PROJECT_DATA_ARCHIVE_SHARD_COUNT` — Deterministic archive-shard fanout used when assigning terminal sessions to ProjectData archive Durable Objects (default: `128`)
- `PROJECT_DATA_ARCHIVE_SWEEP_PROJECTS` — Maximum projects selected by one archive-sharding cron pass (default: `1`)
- `PROJECT_DATA_ARCHIVE_SWEEP_SESSIONS` — Hard ceiling on sessions (in-flight plus new candidates) one archive-sharding pass may FENCE and process; a candidate the write budget refuses opens no fence and consumes no slot (default: `10`, shipped: `8`)
- `PROJECT_DATA_ARCHIVE_SWEEP_MESSAGE_BUDGET` — Cumulative `session_summaries.message_count` of NEW candidates one pass may journal, largest first. An upper bound only: the per-candidate ceiling is the smaller of this and the ceiling derived from `PROJECT_DATA_ARCHIVE_DAILY_WRITE_BUDGET` (default: `20000`, shipped: `10000`)
- `PROJECT_DATA_ARCHIVE_SWEEP_SESSIONS` — Hard ceiling on sessions (in-flight plus new candidates) one archive-sharding pass may FENCE and process; a candidate the write budget refuses opens no fence and consumes no slot (default: `10`, shipped: `50`)
- `PROJECT_DATA_ARCHIVE_SWEEP_MESSAGE_BUDGET` — Cumulative `session_summaries.message_count` the operator-scoped canary packs into one run, and its SQL ceiling for unnamed sessions. The unscoped sweep no longer uses it (since 2026-11-13 its only per-candidate ceiling is the one derived from `PROJECT_DATA_ARCHIVE_DAILY_WRITE_BUDGET`) (default: `20000`, shipped: `10000`)
- `PROJECT_DATA_ARCHIVE_SWEEP_UNIT_OVERHEAD_PERCENT` — Assumed percentage by which a session's write estimate exceeds its `message_count` (archived tool payloads, grouped rows, FTS units); reserved as headroom when deriving the selection ceiling from the daily allowance (default: `100`)
- `PROJECT_DATA_ARCHIVE_SWEEP_FALLTHROUGH_DEPTH` — Spare candidates read beyond the pass's session slots, so a candidate the daily write budget refuses can descend to a smaller one instead of ending the pass with nothing migrated (default: `4`)
- `PROJECT_DATA_ARCHIVE_BUDGET_STALL_ALERT_SWEEPS` — Consecutive sweeps that may migrate nothing because every candidate exceeded the whole daily allowance before the cadence row reports `partial` instead of `succeeded`; an exhausted daily pool is normal backpressure and is not counted (default: `3`)
- `PROJECT_DATA_ARCHIVE_SESSION_GRACE_MS` — Minimum terminal-session age before archive-sharding may consider a session (default: `604800000`)
- `PROJECT_DATA_ARCHIVE_PRECOPY_REFUSAL_RETRY_MS` — How long a session the root object refused at prepare (a pre-copy eligibility invariant such as `active_session_state`, recorded as a `frozen`/`precopy_refused` journal with the location returned to `root`) stays out of unscoped sweep selection; an operator canary that names the session bypasses it; values below `60000` fall back to the default so a stray value cannot disable the anti-thrash window (default: `604800000`)
- `PROJECT_DATA_ARCHIVE_PRECOPY_REFUSAL_RETRY_MS` — How long a session the root object refused at prepare (a pre-copy eligibility invariant such as `active_session_state`, recorded as a `frozen`/`precopy_refused` journal with the location returned to `root`) stays out of unscoped sweep selection; flip refusals that unwind a copied session leave the same marker; an operator canary that names the session bypasses it; values below `60000` fall back to the default so a stray value cannot disable the anti-thrash window (default: `86400000`)
- `PROJECT_DATA_ARCHIVE_FAILED_RETRY_DELAY_MS` — Minimum age of a `failed` archive journal before an unscoped sweep reclaims it, so `PROJECT_DATA_ARCHIVE_POISON_AFTER_ATTEMPTS` spans hours rather than consecutive cadence ticks; `0` disables the delay and a session-scoped canary bypasses it (default: `3600000`)
- `PROJECT_DATA_ARCHIVE_CHUNK_ROWS` — Maximum rows exported in one archive chunk (default: `500`)
- `PROJECT_DATA_ARCHIVE_CHUNK_BYTES` — Maximum bytes exported in one archive chunk, clamped below Cloudflare's 32MiB RPC ceiling (default: `16777216`)
Expand Down Expand Up @@ -536,7 +536,7 @@ by the read-only cron-liveness check.
- `GCP_WIF_POOL_ID`, `GCP_WIF_PROVIDER_ID`, `GCP_SERVICE_ACCOUNT_ID` — Default identifiers used by WIF setup.
- `GCP_SERVICE_ACCOUNT_JSON_MAX_BYTES` — Maximum UTF-8 service-account JSON upload/paste size (default: `65536`).
- `GCP_DEFAULT_ZONE` — Default Compute zone (default: `us-central1-a`).
- `GCP_IMAGE_FAMILY`, `GCP_IMAGE_PROJECT`, `GCP_DISK_SIZE_GB` — Compute VM image and disk defaults.
- `GCP_IMAGE_FAMILY`, `GCP_IMAGE_PROJECT` — Compute VM image defaults. Boot disk size is not an env var: it is the admin settings `gcpCatalog.bootDiskGbPerVcpu` (default 20) and `gcpCatalog.bootDiskMinGb` (default 50).
- `GCP_TOKEN_CACHE_TTL_SECONDS` — Maximum short-lived access-token cache TTL (default: `3300`; capped by the provider-returned expiry).
- `GCP_IDENTITY_TOKEN_EXPIRY_SECONDS` — WIF SAM identity-token lifetime (default: `600`).
- `GCP_OPERATION_POLL_TIMEOUT_MS` — GCP asynchronous operation timeout (default: `300000`).
Expand Down Expand Up @@ -774,6 +774,9 @@ configurable.

### Workspace Builds

- `BUILD_CONTEXT_MAX_ACTIVE_PER_WORKSPACE` — VM-agent/Instant process environment limit on concurrent context collection and upload per workspace (default `1`; nonpositive values fall back to the default). Excess probes receive 409 immediately; they are not queued or retried and normal node builds continue. At the 2 GiB default bundle limit this permits at most 2 GiB of compressed spool per workspace; increasing concurrency multiplies that bound.
- `BUILD_CONTEXT_CALLBACK_MAX_ATTEMPTS` / `BUILD_CONTEXT_CALLBACK_RETRY_DELAY` — VM-agent/Instant init and complete callbacks use bounded attempts (default `3`) with cancellable delay (`5s`). Retry transport failures, incomplete init JSON and HTTP 502/503/504; other errors including 409 remain failures. Each attempt uses `HTTP_CALLBACK_TIMEOUT` inside the overall publish context. Nonpositive retry settings fall back to defaults. Exact committed owner/attempt/key/size/SHA receipts are idempotent without timestamp/history changes; canceled/terminal jobs cannot be replayed.

- `DEPLOY_PUBLISH_HEARTBEAT_INTERVAL` — VM publish-job heartbeat interval (default `1m`), independent of slow Docker build/save/upload progress. Each callback is bounded by `HTTP_CALLBACK_TIMEOUT`; API stall recovery starts only after a heartbeat has been recorded. Keep the API stall setting above interval plus callback/network grace. The API default deadline is `30m`, above the VM `DEPLOY_BUILD_PUBLISH_TIMEOUT` default `20m`; operators increasing the VM timeout must also raise the API deadline.

- `WORKSPACE_BUILD_QUEUE_DEPTH` — Concurrent devcontainer build slots per workspace VM (default: `1`, supported range: `1` through `16`). Generated cloud-init passes this from the Worker env to newly provisioned VM Agent systemd services. Invalid values do not enable additional build slots and fall back to the default one-slot behavior.
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,11 @@ jobs:
run: pnpm build

- name: Run tests with coverage
run: pnpm test:coverage
# Bound both package scheduling and each Vitest pool. On the measured
# four-CPU runner this allows two pools of at most three workers.
run: |
node -e "console.log('Available test CPUs:', require('node:os').availableParallelism())"
pnpm test:coverage --concurrency=2 -- --maxWorkers=75%

build:
name: Build
Expand Down Expand Up @@ -900,6 +904,10 @@ jobs:
- name: Assert Go version
run: go version | grep -E '^go version go1\.26\.11 '

# The real Instant collect route resolves its canonical /workspaces mount.
- name: Prepare Instant workspace mountpoint
run: sudo install -d -o "$(id -u)" -g "$(id -g)" /workspaces

- name: Run VM Agent tests
working-directory: packages/vm-agent
run: go test -race ./...
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/deploy-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,17 @@ jobs:
PULUMI_STATE_BUCKET: ${{ vars.PULUMI_STATE_BUCKET }}
run: node scripts/deploy/workflow-resource-names.mjs deploy

- name: Snapshot container rollout identities
if: ${{ inputs.dry_run != true }}
run: pnpm tsx scripts/deploy/wait-container-rollout.ts snapshot "$RUNNER_TEMP/container-rollout-before.json"
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
API_WORKER_NAME: ${{ steps.deploy_resources.outputs.api_worker }}
DEPLOY_ENV: ${{ steps.deploy_resources.outputs.environment }}
CONTAINER_ROLLOUT_TIMEOUT_MS: ${{ vars.CONTAINER_ROLLOUT_TIMEOUT_MS }}
CONTAINER_ROLLOUT_POLL_INTERVAL_MS: ${{ vars.CONTAINER_ROLLOUT_POLL_INTERVAL_MS }}

# Opt-in only: legacy mutations below are disabled for the whole job when
# this path is selected. Production callers retain the false default.
- name: Setup Go for Shared Engine
Expand Down Expand Up @@ -1966,6 +1977,17 @@ jobs:
DEPLOY_ENV: ${{ steps.deploy_resources.outputs.environment }}
ARTIFACTS_BINDING_ENABLED: ${{ vars.ARTIFACTS_BINDING_ENABLED }}

# Wrangler starts gradual rollouts before returning; both deployment paths
# must wait for the exact targets to finish before reporting success.
- name: Wait for container rollout completion
if: ${{ inputs.dry_run != true }}
run: pnpm tsx scripts/deploy/wait-container-rollout.ts wait "$RUNNER_TEMP/container-rollout-before.json"
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CONTAINER_ROLLOUT_TIMEOUT_MS: ${{ vars.CONTAINER_ROLLOUT_TIMEOUT_MS }}
CONTAINER_ROLLOUT_POLL_INTERVAL_MS: ${{ vars.CONTAINER_ROLLOUT_POLL_INTERVAL_MS }}

- name: Build CLI
if: ${{ !inputs.use_shared_engine && (inputs.dry_run != true) }}
run: make -C packages/cli build-all version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installer-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ env:
# Must match the Go toolchain installations pin (installer-engine.ts preflight).
# Not named GO_VERSION: packages/vm-agent/Makefile embeds GO_VERSION in the
# binary, and an installation builds with the Makefile's own default.
GO_TOOLCHAIN_VERSION: '1.26.10'
GO_TOOLCHAIN_VERSION: '1.26.11'

jobs:
publish:
Expand Down
4 changes: 2 additions & 2 deletions apps/api/.claude/rules/24-no-duplicate-ui-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ queries per authenticated request.

### Required Steps When Adding UI Controls

1. **Identify the API field(s)** your new control will read/write (e.g., `defaultProvider`, `nodeIdleTimeoutMs`)
1. **Identify the API field(s)** your new control will read/write (e.g., `defaultVmSize`, `nodeIdleTimeoutMs`)
2. **Search for existing controls** that manage the same field:
```bash
grep -r "defaultProvider\|setDefaultProvider" apps/web/src/ --include='*.tsx'
grep -r "defaultVmSize\|setDefaultVmSize" apps/web/src/ --include='*.tsx'
```
3. **If a duplicate exists**, decide which location is canonical and remove the other
4. **If moving a control**, ensure all related state, handlers, and effects are also moved or cleaned up — no orphaned state variables
Expand Down
Loading
Loading