Skip to content

Fix/medium level improvements#1

Open
deepshekhardas wants to merge 6 commits into
mainfrom
fix/medium-level-improvements
Open

Fix/medium level improvements#1
deepshekhardas wants to merge 6 commits into
mainfrom
fix/medium-level-improvements

Conversation

@deepshekhardas

Copy link
Copy Markdown
Owner

Closes #

✅ Checklist

  • I have followed every step in the contributing guide
  • The PR title follows the convention.
  • I ran and tested the code works

Testing

[Describe the steps you took to test this change]


Changelog

[Short description of what has changed]


Screenshots

[Screenshots]

💯

deepshekhardas added 6 commits February 14, 2026 07:14
triggerdotdev#2796)

When a user removes the machine configuration from a task and redeploys, task.machine becomes undefined. Prisma's create() silently skips undefined fields for Json columns rather than setting them to NULL. This change uses the nullish coalescing operator to explicitly pass null, ensuring the machineConfig column is cleared in the database.
…undWorkerTask create

Applied the fix pattern to ensure retryConfig, queueConfig, and payloadSchema are also explicitly cleared when removed from task definition, as suggested in PR feedback.
Efficiently select and map batch relation in AttemptForExecutionGetPayload and _executionFromAttempt to restore batch context during dequeue. Part of Legend Rank mission.
Refactor enhanceExecutionSnapshotWithWaitpoints to use an Index Map for O(N+M) complexity, replacing a quadratic nested loop. Improves performance for runs with large numbers of waitpoints. Part of Mythic Rank mission.
- Feat: Expose more trigger options in MCP trigger-task tool
- Refactor: Remove deprecated 'id' field from SCHEDULE_ATTEMPT message
- Test: Add ResourceMonitor unit tests for memory scaling
- Fix: Handle processKeepAlive in runTimelineMetrics to prevent stale fork metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant