mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-03 16:10:21 +00:00
ci: forward a trace id from the agentic-workflow callers (#14872)
This commit is contained in:
@@ -98,13 +98,17 @@ jobs:
|
||||
ACTOR: ${{ steps.ctx.outputs.actor }}
|
||||
AUTO: ${{ steps.ctx.outputs.auto }}
|
||||
run: |
|
||||
# One trace id spans the OSS dispatch → the ENT engine run, so the whole flow is
|
||||
# one OpenObserve trace. The engine mints its own if this is empty.
|
||||
TRACE_ID=$(openssl rand -hex 16)
|
||||
gh workflow run docgen.yml --repo openobserve/o2-enterprise \
|
||||
-f source_repo=openobserve \
|
||||
-f pr_number="$PR" \
|
||||
-f dry_run="$DRY" \
|
||||
-f actor="$ACTOR" \
|
||||
-f auto="$AUTO"
|
||||
echo "Dispatched DocGen engine for openobserve PR #$PR (dry_run=$DRY, auto=$AUTO, by @$ACTOR)."
|
||||
-f auto="$AUTO" \
|
||||
-f o2_trace_id="$TRACE_ID"
|
||||
echo "Dispatched DocGen engine for openobserve PR #$PR (dry_run=$DRY, auto=$AUTO, by @$ACTOR, trace=$TRACE_ID)."
|
||||
|
||||
- name: Acknowledge on the source PR
|
||||
# success() => only ack if the dispatch actually succeeded (don't mislead the author if
|
||||
|
||||
@@ -124,14 +124,18 @@ jobs:
|
||||
ACTOR: ${{ steps.ctx.outputs.actor }}
|
||||
HINT: ${{ steps.ctx.outputs.hint }}
|
||||
run: |
|
||||
# One trace id spans the OSS dispatch → the ENT engine run, so the whole flow is
|
||||
# one OpenObserve trace. The engine mints its own if this is empty.
|
||||
TRACE_ID=$(openssl rand -hex 16)
|
||||
gh workflow run e2e-council.yml --repo openobserve/o2-enterprise \
|
||||
-f source_repo=openobserve \
|
||||
-f pr_number="$PR" \
|
||||
-f dry_run="$DRY" \
|
||||
-f force_overwrite="$FORCE" \
|
||||
-f feature_hint="$HINT" \
|
||||
-f actor="$ACTOR"
|
||||
echo "Dispatched E2E Council engine for openobserve PR #$PR (dry_run=$DRY, force=$FORCE, by @$ACTOR)."
|
||||
-f actor="$ACTOR" \
|
||||
-f o2_trace_id="$TRACE_ID"
|
||||
echo "Dispatched E2E Council engine for openobserve PR #$PR (dry_run=$DRY, force=$FORCE, by @$ACTOR, trace=$TRACE_ID)."
|
||||
|
||||
- name: Acknowledge on the source PR
|
||||
# success() => only ack if the dispatch actually succeeded (don't mislead the author if the
|
||||
|
||||
@@ -106,13 +106,17 @@ jobs:
|
||||
WRITE: ${{ steps.ctx.outputs.write }}
|
||||
ACTOR: ${{ steps.ctx.outputs.actor }}
|
||||
run: |
|
||||
# One trace id spans the OSS dispatch → the ENT engine run, so the whole flow is
|
||||
# one OpenObserve trace. The engine mints its own if this is empty.
|
||||
TRACE_ID=$(openssl rand -hex 16)
|
||||
gh workflow run test-assist.yml --repo openobserve/o2-enterprise \
|
||||
-f source_repo=openobserve \
|
||||
-f issue_number="$ISSUE" \
|
||||
-f fixture_mode="$FIXTURE" \
|
||||
-f write_mode="$WRITE" \
|
||||
-f actor="$ACTOR"
|
||||
echo "Dispatched Test-Assist engine for openobserve issue #$ISSUE (fixture=$FIXTURE, write=$WRITE, by @$ACTOR)."
|
||||
-f actor="$ACTOR" \
|
||||
-f o2_trace_id="$TRACE_ID"
|
||||
echo "Dispatched Test-Assist engine for openobserve issue #$ISSUE (fixture=$FIXTURE, write=$WRITE, by @$ACTOR, trace=$TRACE_ID)."
|
||||
|
||||
- name: Acknowledge on the source issue
|
||||
# success() => only ack if the dispatch actually succeeded (don't mislead the commenter if
|
||||
|
||||
Reference in New Issue
Block a user