trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

Vouch request: Srinivasan8888 — CLI/telemetry fixes (#4801, #4425, #4733, #4214, #4627)

Open Srinivasan8888 opened this issue 3 months ago • 1 comments

Why do you want to contribute?

I'd like to work on CLI and telemetry correctness bugs in the tracker. I've read through the issues and have fixes prepared for these, in priority order:

  • #4801 — the CLI declares esbuild ^0.23.0, so an npm overrides pin to 0.25.0 is accepted silently. 0.25.0 has an out-of-bounds source-index regression (fixed in 0.25.1) that emits sourcemaps whose mappings reference dropped sources entries, and the worker's global source-map-support then throws No element indexed by N inside recordSpanException. Fix: detect the resolved esbuild version at build time and fail (or warn) on known-bad ranges.
  • #4425 — the --env-file help text and the cli-dev-commands / cli-deploy-commands / cli-preview-archive docs all say the file does not reach tasks, but DevSupervisor.#getEnvVars() passes it through via resolveLocalEnvVars. Docs + help string correction.
  • #4733 — MCP get_run_details accepts maxTraceLines: 0 and returns nextCursor: "0", so following the cursor re-requests the same page and pagination cannot advance.
  • #4214 — Kubernetes injects TRIGGER_WORKER_INSTANCE_NAME into the run-controller container via the downward API, but the task worker is fork()ed with an explicit replaced env, so the node name never reaches the run process and OTLP spans arrive with no host.
  • #4627 — docs/idempotency.mdx lists "avoiding double-charging customers" as a use case, but every example only shows keys protecting childTask.trigger(); a payment call made directly inside run() gets no protection. Docs clarification.

I'd rather not open PRs before being vouched, since they'd be auto-closed — happy to start with whichever of these is most useful to you.

Prior contributions or relevant experience

Recent merged open-source work, all in ML/serving infrastructure:

  • https://github.com/MakazhanAlpamys/Soup/pull/576 — LISA fine-tuning: added lisa_train_embeddings to freeze the always-on group. A maintainer benchmarked it and measured ~64% lower peak VRAM and ~70% smaller optimizer state.
  • https://github.com/MakazhanAlpamys/Soup/pull/582 — added the SmolLM3-3B SFT recipe, with catalog and pinned-milestone test updates.
  • https://github.com/MakazhanAlpamys/Soup/pull/574 — corrected a misleading MCP execution-tool refusal message.
  • https://github.com/MakazhanAlpamys/Soup/pull/581 — SGLang backend was hand-rolling prompt formatting and hardcoding finish_reason; now applies the model's chat template and reports the real stop reason, matching the vLLM path. (Approved, awaiting a maintainer validation run.)

Also open at https://github.com/bentoml/BentoML/pull/5708 and /5709, and a dozen PRs against evo-hq/evo (CLI asset registry, budget tracking, crash recovery).

Profile: https://github.com/Srinivasan8888

Srinivasan8888 avatar Aug 31 '26 06:08 Srinivasan8888

We have a new Vouch policy, please see the discussion here: https://github.com/triggerdotdev/trigger.dev/discussions/5010

matt-aitken avatar Oct 07 '26 15:10 matt-aitken