Map TRIGGER_ACCESS_TOKEN from TRIGGER_ACCESS_TOKEN_PROD/_STAGING/_PREVIEW,
falling back to the shared TRIGGER_ACCESS_TOKEN until those secrets exist.
Bump trigger.dev CLI and @trigger.dev/* to 4.7.6, the first line where
promote accepts environment API keys (4.7.0) and a mismatched --env errors
instead of deploying to the key's environment (4.7.5).
@opentelemetry/sdk-trace-base and @opentelemetry/sdk-trace-node are deprecated
in favor of @opentelemetry/sdk-trace. Import the trace SDK from
@opentelemetry/sdk-trace 2.10.0, matching the installed core and resources
2.10.0 and staying on @opentelemetry/api 1.9.x so the global API stays shared
with the Trigger.dev runtime.
BatchSpanProcessor and SimpleSpanProcessor take an options object with the
exporter, and BasicTracerProvider is TracerProvider. Every batch option is set
explicitly, so the dropped OTEL_BSP_* environment fallbacks change nothing.
- Bump the qs (6.16.1) and fast-uri (3.1.9) override pins off the vulnerable releases.
- Drop the artillery devDependency; the load:workflow scripts run it through bunx.
- Move @xyflow/react to devDependencies in workflow-persistence (type-only import).
- Remove the minimatch and brace-expansion overrides: forcing minimatch 10 broke
CommonJS consumers like @electron/asar, and every major line now resolves to a
patched backport.
- Remove redundant socket.io, baseline-browser-mapping, drizzle-orm, and joi (artillery-only) overrides,
sharp from trustedDependencies (no lifecycle scripts), and the temporary electron
release-age exclude. The electron@latest canary bypasses the age gate explicitly.
- Declare buffer, process, chai, and tinyrainbow, which the sandbox bundle build
imports but only resolved through hoisting.
* fix(billing): withhold the free allowance from Gmail aliases of an existing account
* fix(billing): count only an earlier account as the Gmail inbox holder
* fix(billing): count only a verified earlier account as the Gmail inbox holder
* fix(billing): count any earlier account as the Gmail inbox holder, verified or not
* fix(ci): predict the promoted app digest instead of trusting a read right after the retag
* fix(ci): bound the promoted-tag wait by elapsed time and each ECR read by a timeout
* feat(library): 7 Best AI Assistants for Inbox Management and Reply Drafting in 2026
* Pi Babysit: address PR #9411 feedback
---------
Co-authored-by: Sim Pi Agent <pi@sim.ai>
* fix(ci): bound a stalled bun install and let the helm test probe wait for routing
* fix(ci): fit the install retry inside every caller and read a failed probe's log from its kept pod
* fix(audit): cap rollup writes process-wide and name the run on credential access entries
* fix(audit): record Vertex service-account credential access
* docs(search): add customer guides and sourced examples
* docs(search): fold drafting into the questions guide
* docs(search): consolidate example prompts into core guides
* docs(search): clarify automatic mode for members without builder access
* feat(audit): attribute workflow audits to their run and merge a run's repeated row audits
* fix(audit): scope rollups to the run that recorded them and bound flush concurrency
* test(workflows): expect run attribution on executor deployment actors
* fix(tailscale): omit a cleared auth key expiry, fix flow logs typo, and include the oldest uncovered IndexNow run
* chore(ci): reflow the IndexNow base comment
* fix(ci): fail the IndexNow step when the oldest run's parent cannot be resolved
* fix(credentials): send a conflicting OAuth reconnect back with a reason instead of a 500
* fix(credentials): keep the refused grant's tokens on the identity's existing rows
* fix(credentials): keep stored scope and resume connectors on a refused reconnect
* fix(isolated-vm): drain worker host deploys without failing in-flight executions
- Retire each remote worker connection at a max age (IVM_REMOTE_WORKER_MAX_AGE_MS,
default 2 min) so a host the load balancer deregistered stops getting new
executions and drains before its deregistration delay cuts the connections
- Re-dispatch an execution whose connection closed before it was sent; one that
may have reached the host is never re-run and fails with a clear error
- Cap raw bytes a host connection may send before authenticating (16 KiB)
- Return a cancelled call before reading the worker-target flag
* fix(isolated-vm): address review on host drain
- Keep counting a refused connection's bytes until its socket closes
- Skip a redispatch the caller cancelled in between
- Look up the owner's state after the admission waits
- Parse IVM_REMOTE_WORKER_MAX_AGE_MS strictly, falling back below 1s
- Hold the inspected execution open until the worker check finishes
* test(isolated-vm): report an execution that fails before it is held
* fix(deps): backport zod's leading collection size check so oversized bodies stop validating every element
* fix(deps): stop later checks from reading an oversized container's unparsed elements
The indexnow job resolved its diff base by listing each earlier main run's jobs at 100 per page, and GitHub's jobs API answers that page with HTTP 502 for every re-run workflow run. The first release scanned back to such a run and failed the step, so no submission ever recorded a success and every later run would fail the same way.
Look up the one `indexnow` check run per commit instead (small, and it counts every attempt), treat a lookup that errors as no success, and when no success is in view diff from the oldest run in view so URLs no submission ever covered are still sent.
* fix(mothership): hold callerless runs' sim_cli to read API scopes
An unattributed inbox message runs as the workspace owner with its tool
permission capped to read, but sim_cli has no catalog permission and its
commands authorize the delegated subject's live role, so the CLI could
create, run, and delete with the owner's authority.
A run with no caller of its own now executes the CLI inside a delegated
API-scope grant of api:read, enforced in requireOAuthOperationScope the
same way an OAuth token's scopes are, so every authorization path the
CLI reaches refuses api:write operations.
* fix(mothership): refuse callerless service writes and organization-scoped CLI writes
Mixed server tools reached through sim_cli services (settings, dashboards,
tests, search_sources, workspaces) write through internal operations that
declare no API scope, so the read grant never bound them. Each tool now
declares which validated arguments write, and the router holds those to
the current delegated grant.
The grant also applies to callerless organization-scoped runs.
* test(mothership): model attributed CLI runs with their secret actor
* fix(mcp): answer an unpublishable workflow input on tool updates as validation, and match bare-name alternatives titles
Updating a workflow MCP tool's parameter descriptions regenerated its schema without the validation translation the create and add paths use, so a reserved workflow input name returned an internal error instead of a validation failure naming the field. Both paths now share one helper.
The comparison library links scored a title naming a competitor's alternatives only through its mention aliases, which leave out a bare common-word name such as Make. The bare name now counts directly before "Alternatives", so a "Make Alternatives" title ranks first without reading "Make" elsewhere in a title as the competitor.
* test(library): type the comparison fixture's tags so the cast to ContentMeta type-checks
* fix(mothership): retry a job dispatch whose usage read failed instead of skipping the run
- a usage outage (`usage_unavailable`) is a failed dispatch attempt, retried and bounded like any other, not a spent limit
- a run skipped for billing records billing's own reason
- the job lane suite closes open connections before stopping its fake worker
* test(mothership): cover a job dispatch retried after a usage outage and ended at its last attempt
Production and staging keep building every affected commit, so a shared-package change that breaks the docs build still fails on staging before main. Other preview branches skip the build unless apps/docs changed since the branch's last successful deployment; a first deployment or a previous SHA outside the shallow clone builds.