Commit afdf586
committed
Fix: Handle run IDs without prefix in fromFriendlyId()
Bug: Tasks were queuing but not executing due to "Invalid friendly ID
format" error. The fromFriendlyId() function expected exactly 2 parts
when splitting on underscore, but run IDs from URLs had no prefix.
Solution: Check if parts.length === 1 and return the ID as-is if there's
no underscore, treating it as an already-parsed internal ID.
Impact: Tasks now process normally, no more execution errors.
Tested: Deployed in custom Docker images v4.0.4-patched-fixed and
verified task execution working correctly in production.1 parent b2cdc64 commit afdf586
File tree
2 files changed
+6
-1
lines changed- packages
- core/src/v3/isomorphic
- trigger-sdk
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
0 commit comments