Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions 5 .changeset/redact-resolve-waitpoint-log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@trigger.dev/core": patch
---

Redact the `resolveWaitpoint` runtime log so it only emits `id` and `type` instead of the full completed waitpoint. Previously the log printed the entire waitpoint (including `output`) to stdout in production runs, which could leak sensitive payloads. The value returned by `wait.forToken()` is unchanged.
2 changes: 1 addition & 1 deletion 2 packages/core/src/v3/runtime/sharedRuntimeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class SharedRuntimeManager implements RuntimeManager {

private resolveWaitpoint(waitpoint: CompletedWaitpoint, resolverId?: ResolverId | null): void {
// This is spammy, don't make this a debug log
this.log("resolveWaitpoint", waitpoint);
this.log("resolveWaitpoint", { id: waitpoint.id, type: waitpoint.type });

if (waitpoint.type === "BATCH") {
// We currently ignore these, they're not required to resume after a batch completes
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.