ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
import { resolveOTelConfig } from '../../common/otelConfig';
import type { TraceContext } from '../../common/otelService';
import { NodeOTelService } from '../otelServiceImpl';
/**
* Tests for trace context propagation, specifically verifying that
* subagent invoke_agent spans can be linked as children of the parent
* agent's trace via storeTraceContext / getStoredTraceContext / parentTraceContext.
*/
describe('Trace Context Propagation', () => {
let service: NodeOTelService;
beforeAll(
config
env
extensionVersion
sessionId
service config
i i i
service _initialized
r r
service
ctx TraceContext traceId spanId
service ctx
retrieved service
retrievedctx
service
ctx TraceContext traceId spanId
service ctx
service
service
service
capturedCtx TraceContext
service attributes
capturedCtx service
capturedCtx
capturedCtxtraceId
capturedCtxspanId
parentCtx TraceContext
service attributes
parentCtx service
parentCtx
childCtx TraceContext
service
attributes
parentTraceContext parentCtx
childCtx service
childCtxtraceIdparentCtxtraceId
childCtxspanIdnotparentCtxspanId
trace1
trace2
service attributes
trace1 servicetraceId
service attributes
trace2 servicetraceId
trace1nottrace2
parentTraceId
subagentTraceId
service attributes
ctx service
parentTraceId ctxtraceId
service ctx
restoredCtx service
restoredCtx
service
attributes
parentTraceContext restoredCtx
subagentTraceId servicetraceId
subagentTraceIdparentTraceId
service