You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link WebSocket holds: an older holds file without marks breaks status reads when the ref key is unreadable #8607
From the fresh final review of #8593 at 966f0ee (approved with nits; this cannot happen while the link WebSocket switch is off, because no holds file exists).
In src/link/ws-activity-holds.ts, the path taken when the activity ref key cannot be read keeps a stored hold without copying marks into an array, while the normal path does (marks: [...(hold.marks ?? [])]). A holds file whose entry has no marks field is accepted by isLinkHolds, so with an unreadable or unwritable activity-ref-key the functions summary(), hasMarks() and finished() read .marks.length of undefined. The ?children=1 and ?transport=1 status reads then throw. The relay's own hasMarks call is caught, so relays keep working.
Smallest fix: map the entry in that path the way the normal path does, { ...hold, pendingKeys: [...hold.pendingKeys], marks: [...(hold.marks ?? [])], seq: ++holdSeq }, and add a test with an older holds file and an unreadable key.
#8508 - feat(link): show Child version, install kind and catalog freshness; ocx link check [merged]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Activity
coderabbitai commentedon Nov 12, 2026
🔗 Related PRs
#8508 - feat(link): show Child version, install kind and catalog freshness; ocx link check [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
fix(link): normalize stored holds kept while the activity reference k…