Skip to content

Commit cbd06f6

Browse files
committed
test(langgraph): correct stale attribution comment in bridge spec
1 parent c6cf899 commit cbd06f6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

libs/langgraph/src/lib/internals/stream-manager.bridge.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2847,8 +2847,10 @@ describe('createStreamManagerBridge', () => {
28472847
messageMetadata: { checkpoint_ns: 'tools:aa5c61a1-e3ee-ea36|model' },
28482848
} satisfies StreamEvent]);
28492849

2850-
// Attribution only arrives later, via a values event carrying the child's
2851-
// first human message, which the description ladder matches on.
2850+
// The messages event above already attributed the namespace positionally
2851+
// (ensureToolStreamAttribution, #847), so this values event finds the
2852+
// mapping in place — the description ladder is short-circuited here. See
2853+
// subagent-tracker.spec.ts for direct ladder coverage.
28522854
transport.emit([{
28532855
type: 'values|tools:aa5c61a1-e3ee-ea36' as StreamEvent['type'],
28542856
namespace: ['tools:aa5c61a1-e3ee-ea36'],

0 commit comments

Comments
 (0)