Skip to content

[jsweep] Clean action_setup_otlp.cjs and add comprehensive tests - #26564

Closed
github-actions[bot] wants to merge 4 commits into
mainfrom
jsweep/action-setup-otlp-3218b76dc32526b4
Closed

github-actions[bot] wants to merge 4 commits into
mainfrom
jsweep/action-setup-otlp-3218b76dc32526b4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Cleaned action_setup_otlp.cjs (Node.js context) and added a comprehensive test file with 32 tests.

Changes to action_setup_otlp.cjs

Context: Node.js (runs directly via node action_setup_otlp.cjs from setup.sh and actions/setup/index.js)

  • Moved require('./send_otlp_span.cjs') to module level — consistent with action_conclusion_otlp.cjs pattern
  • Removed path.join(__dirname, ...) for the require — unnecessary in CommonJS; "./send_otlp_span.cjs" resolves correctly
  • Removed the path module import — no longer needed
  • Switched to sendOtlpSpan.method() access pattern instead of destructuring at call site — this enables vitest module-patch mocking (same pattern as action_conclusion_otlp.cjs)

The dynamic require() inside run() was unusual and prevented standard mock patterns. The refactor makes the code consistent with the sibling file and testable.

New Test File: action_setup_otlp.test.cjs

32 tests covering all code paths:

Group Tests
OTLP endpoint absent logs skip message, still calls sendJobSetupSpan
OTLP endpoint present calls span, logs endpoint URL, logs sent message
INPUT_TRACE_ID handling reuse trace, new trace, pass to span fn, lowercase normalization, hyphen form
INPUT_JOB_NAME handling env var propagation
SETUP_START_MS parsing valid ms, missing, empty string
GITHUB_OUTPUT writing valid trace → writes, invalid → skips, no env → skips
GITHUB_ENV writing trace ID, span ID, job start ms, invalid IDs → skip
Error handling errors from sendJobSetupSpan propagate

Tests use real temp files for GITHUB_OUTPUT/GITHUB_ENV (realistic, no fs mocking needed) and module-level patching for sendJobSetupSpan.

Validation

  • ✅ Formatting: npm run format:cjs ✓
  • ✅ Linting: npm run lint:cjs ✓
  • ✅ Type checking: npm run typecheck ✓
  • ✅ Tests: npm run test:js -- action_setup_otlp → 32/32 passed ✓

Generated by jsweep - JavaScript Unbloater · ● 3.4M · ◷

  • expires on Apr 18, 2026, 4:48 AM UTC

- Move require('./send_otlp_span.cjs') to module level (consistent with
  action_conclusion_otlp.cjs)
- Remove path.join(__dirname, ...) for require (unnecessary in CJS)
- Use sendOtlpSpan.method() pattern instead of destructuring at call site,
  enabling vitest module-patch mocking
- Add comprehensive test file with 32 tests covering:
  - OTLP endpoint present/absent behavior
  - INPUT_TRACE_ID handling (including lowercase normalization, hyphen form)
  - INPUT_JOB_NAME propagation
  - SETUP_START_MS parsing
  - GITHUB_OUTPUT writing (valid/invalid trace IDs)
  - GITHUB_ENV writing (trace ID, span ID, job start ms)
  - Error propagation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review April 16, 2026 05:10
Copilot AI review requested due to automatic review settings April 16, 2026 05:10
@github-actions github-actions Bot mentioned this pull request Apr 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the setup-side OTLP span sender to be more testable/consistent with the conclusion span implementation, and adds a dedicated test suite for action_setup_otlp.cjs.

Changes:

  • Move send_otlp_span.cjs import to module scope and switch to sendOtlpSpan.method() access to enable module-patching mocks.
  • Remove the dynamic require()/path usage inside run().
  • Add a new action_setup_otlp.test.cjs file with broad coverage of env/input/output behavior.
Show a summary per file
File Description
actions/setup/js/action_setup_otlp.cjs Simplifies/standardizes OTLP helper loading and call sites to support mocking and consistency.
actions/setup/js/action_setup_otlp.test.cjs Adds a focused test suite validating logging, env/input handling, and GITHUB_OUTPUT/GITHUB_ENV writes.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (1)

actions/setup/js/action_setup_otlp.test.cjs:195

  • This test doesn't assert any behavior from run(): it sets process.env.INPUT_JOB_NAME and then expects it to still be set afterwards, which would pass even if run() did nothing. If the goal is to validate input normalization, consider setting only the hyphen form (INPUT_JOB-NAME) and asserting that run() populates process.env.INPUT_JOB_NAME (or otherwise asserting an observable effect of job-name handling).
  describe("INPUT_JOB_NAME handling", () => {
    it("should set INPUT_JOB_NAME env var when provided", async () => {
      process.env.INPUT_JOB_NAME = "agent";

      await run();

      expect(process.env.INPUT_JOB_NAME).toBe("agent");
    });
  });
  • Files reviewed: 2/2 changed files
  • Comments generated: 2

Comment on lines 68 to 72
}

const { traceId, spanId } = await sendJobSetupSpan({ startMs, traceId: inputTraceId || undefined });
const { traceId, spanId } = await sendOtlpSpan.sendJobSetupSpan({ startMs, traceId: inputTraceId || undefined });

console.log(`[otlp] resolved trace-id=${traceId}`);

Copilot AI Apr 16, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JSDoc for run() says errors are "silently swallowed", but await sendOtlpSpan.sendJobSetupSpan(...) (and the subsequent file writes) will reject/throw when run() is imported and called. Either update the comment to clarify that callers (e.g. actions/setup/index.js) swallow errors, or wrap the body of run() in a try/catch if run() itself is intended to be non-fatal.

See below for a potential fix:

  try {
    const endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;

    const startMs = parseInt(process.env.SETUP_START_MS || "0", 10);

    // Explicitly read INPUT_TRACE_ID and pass it as options.traceId so the
    // activation job's trace ID is used even when process.env propagation
    // through GitHub Actions expression evaluation is unreliable.
    const inputTraceId = getActionInput("TRACE_ID").toLowerCase();
    if (inputTraceId) {
      console.log(`[otlp] INPUT_TRACE_ID=${inputTraceId} (will reuse activation trace)`);
    } else {
      console.log("[otlp] INPUT_TRACE_ID not set, a new trace ID will be generated");
    }

    // Normalize to the canonical underscore form so sendJobSetupSpan (which
    // reads process.env.INPUT_JOB_NAME) always finds the value.
    const inputJobName = getActionInput("JOB_NAME");
    if (inputJobName) {
      process.env.INPUT_JOB_NAME = inputJobName;
    }

    if (!endpoint) {
      console.log("[otlp] OTEL_EXPORTER_OTLP_ENDPOINT not set, skipping setup span");
    } else {
      console.log(`[otlp] sending setup span to ${endpoint}`);
    }

    const { traceId, spanId } = await sendOtlpSpan.sendJobSetupSpan({ startMs, traceId: inputTraceId || undefined });

    console.log(`[otlp] resolved trace-id=${traceId}`);

    if (endpoint) {
      console.log(`[otlp] setup span sent (traceId=${traceId}, spanId=${spanId})`);
    }

    // Always expose trace ID as a step output for cross-job correlation, even
    // when OTLP is not configured.  This ensures needs.*.outputs.setup-trace-id
    // is populated for downstream jobs regardless of observability configuration.
    if (sendOtlpSpan.isValidTraceId(traceId) && process.env.GITHUB_OUTPUT) {
      appendFileSync(process.env.GITHUB_OUTPUT, `trace-id=${traceId}\n`);
      console.log(`[otlp] trace-id=${traceId} written to GITHUB_OUTPUT`);
    }

    // Always propagate trace/span context to subsequent steps in this job so
    // that the conclusion span can find the same trace ID.
    if (process.env.GITHUB_ENV) {
      if (sendOtlpSpan.isValidTraceId(traceId)) {
        appendFileSync(process.env.GITHUB_ENV, `GITHUB_AW_OTEL_TRACE_ID=${traceId}\n`);
        console.log(`[otlp] GITHUB_AW_OTEL_TRACE_ID written to GITHUB_ENV`);
      }
      if (sendOtlpSpan.isValidSpanId(spanId)) {
        appendFileSync(process.env.GITHUB_ENV, `GITHUB_AW_OTEL_PARENT_SPAN_ID=${spanId}\n`);
        console.log(`[otlp] GITHUB_AW_OTEL_PARENT_SPAN_ID written to GITHUB_ENV`);
      }
      // Propagate setup-end timestamp so the conclusion span can measure actual
      // job execution duration (setup-end → conclusion-start).
      const setupEndMs = Math.floor(nowMs());
      appendFileSync(process.env.GITHUB_ENV, `GITHUB_AW_OTEL_JOB_START_MS=${setupEndMs}\n`);
      console.log(`[otlp] GITHUB_AW_OTEL_JOB_START_MS written to GITHUB_ENV`);
    }
  } catch (_) {}

Copilot uses AI. Check for mistakes.
Comment on lines +82 to +85
// Clean up temp files
if (existsSync(githubOutputPath)) unlinkSync(githubOutputPath);
if (existsSync(githubEnvPath)) unlinkSync(githubEnvPath);
});

Copilot AI Apr 16, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdtempSync(...) creates a unique temp directory per test, but the afterEach only unlinks the two files and never removes tempDir. This will leave a growing number of empty directories under the OS temp folder across the test suite run. Consider removing the directory in afterEach (e.g. rmSync(tempDir, { recursive: true, force: true })).

This issue also appears on line 187 of the same file.

Copilot uses AI. Check for mistakes.
@github-actions

Copy link
Copy Markdown
Contributor Author

🧪 Test Quality Sentinel Report

Test Quality Score: 52/100

🔶 Needs improvement — significant low-value tests detected

Metric Value
New/modified tests analyzed 32
✅ Design tests (behavioral contracts) 16 (50%)
⚠️ Implementation tests (low value) 16 (50%)
Tests with error/edge cases 13 (41%)
Duplicate test clusters 0
Test inflation detected YES — 330 lines added to test file vs 5 to production (66:1 ratio)
🚨 Coding-guideline violations 0

i️ Test inflation context: The production file was refactored (5 additions, 7 deletions = net -2 lines), and the test file is entirely new. This PR's purpose is adding tests for previously-uncovered code, so the high ratio is expected, not a sign of padding. The 10-point inflation penalty is applied per rubric, but reviewers should weigh this accordingly.


Test Classification Details

View all 32 test classifications
Test Classification Issues
should export run as a function ⚠️ Implementation Smoke test — no behavioral invariant
should log that the setup span is being skipped ⚠️ Implementation Log-only assertion
should still call sendJobSetupSpan (no endpoint) ✅ Design Behavioral: trace ID always resolved
should not log the 'setup span sent' message ⚠️ Implementation Log-only assertion
should call sendJobSetupSpan once (with endpoint) ✅ Design Behavioral: exactly one span per run
should log the endpoint URL when sending ⚠️ Implementation Log-only assertion
should log the setup span sent message with traceId and spanId ⚠️ Implementation Log-only assertion
should log the resolved trace-id ⚠️ Implementation Log-only assertion
should log that trace will be reused when INPUT_TRACE_ID is set ⚠️ Implementation Log-only assertion
should log that a new trace ID will be generated when INPUT_TRACE_ID is not set ⚠️ Implementation Log-only assertion
should pass INPUT_TRACE_ID to sendJobSetupSpan ⚠️ Implementation Mock arg only; file output already covers this
should normalize INPUT_TRACE_ID to lowercase ✅ Design Behavioral: normalization contract
should pass traceId as undefined when INPUT_TRACE_ID is not set ⚠️ Implementation Mock arg only
should accept INPUT_TRACE-ID (hyphen form) ✅ Design Behavioral: env var variant
should set INPUT_JOB_NAME env var when provided ⚠️ Implementation Trivial — only checks env var still exists
should pass startMs from SETUP_START_MS to sendJobSetupSpan ⚠️ Implementation Mock arg only; no output assertion
should default startMs to 0 when SETUP_START_MS is not set ✅ Design Behavioral: default/edge case
should default startMs to 0 when SETUP_START_MS is empty string ✅ Design Behavioral: empty string edge case
should write trace-id to GITHUB_OUTPUT when traceId is valid ✅ Design Behavioral: primary output
should log that trace-id was written to GITHUB_OUTPUT ⚠️ Implementation Log-only; file content already asserted above
should not write to GITHUB_OUTPUT when traceId is invalid ✅ Design Behavioral: validation guard
should not write to GITHUB_OUTPUT when GITHUB_OUTPUT is not set ✅ Design Behavioral: graceful skip
should write GITHUB_AW_OTEL_TRACE_ID to GITHUB_ENV when traceId is valid ✅ Design Behavioral: primary output
should write GITHUB_AW_OTEL_PARENT_SPAN_ID to GITHUB_ENV when spanId is valid ✅ Design Behavioral: primary output
should always write GITHUB_AW_OTEL_JOB_START_MS to GITHUB_ENV ✅ Design Behavioral: always-set invariant
should not write GITHUB_AW_OTEL_TRACE_ID when traceId is invalid ✅ Design Behavioral: validation guard
should not write GITHUB_AW_OTEL_PARENT_SPAN_ID when spanId is invalid ✅ Design Behavioral: validation guard
should not write to GITHUB_ENV when GITHUB_ENV is not set ✅ Design Behavioral: graceful skip
should log GITHUB_AW_OTEL_TRACE_ID written message ⚠️ Implementation Log-only; file content already asserted above
should log GITHUB_AW_OTEL_PARENT_SPAN_ID written message ⚠️ Implementation Log-only; file content already asserted above
should log GITHUB_AW_OTEL_JOB_START_MS written message ⚠️ Implementation Log-only; file content already asserted above
should propagate errors from sendJobSetupSpan ✅ Design Behavioral: error propagation

Flagged Tests — Requires Review

⚠️ Log-only assertion cluster (8 tests in action_setup_otlp.test.cjs)

Tests affected: should log the endpoint URL when sending, should log the setup span sent message with traceId and spanId, should log the resolved trace-id, should log that trace will be reused when INPUT_TRACE_ID is set, should log that a new trace ID will be generated when INPUT_TRACE_ID is not set, should log that trace-id was written to GITHUB_OUTPUT, should log GITHUB_AW_OTEL_TRACE_ID written message, should log GITHUB_AW_OTEL_PARENT_SPAN_ID written message, should log GITHUB_AW_OTEL_JOB_START_MS written message.

Classification: Implementation tests
Issue: Each test calls run() and only asserts that console.log was called with a specific string. No assertion on the module's actual outputs (GITHUB_OUTPUT file contents, GITHUB_ENV file contents). If a developer silently removes or renames a log line, these tests fail; if they ship a completely broken OTLP span but keep the log messages, these tests pass.
What design invariant do these enforce? Only that specific log strings are emitted — not that the module's outputs are correct.
Suggested improvement: For log messages that accompany a state change (e.g., "[otlp] GITHUB_AW_OTEL_TRACE_ID written to GITHUB_ENV"), merge the log assertion into the existing behavioral test that already reads the file. This reduces test count while keeping the signal: one test asserts both the file content AND the accompanying log. Standalone log-only tests add count without adding safety.


⚠️ should pass INPUT_TRACE_ID to sendJobSetupSpan + should pass traceId as undefined when INPUT_TRACE_ID is not set + should pass startMs from SETUP_START_MS to sendJobSetupSpan

Classification: Implementation tests (mock argument assertions)
Issue: These tests assert on mockSendJobSetupSpan's call arguments rather than on observable outputs. The real behavioral coverage for these inputs already exists in the GITHUB_OUTPUT/GITHUB_ENV tests (e.g., should write trace-id to GITHUB_OUTPUT when traceId is valid effectively proves traceId was passed and processed correctly).
What would break if deleted? Only if the internal wiring between process.env.INPUT_TRACE_ID and sendJobSetupSpan were broken in a way that doesn't affect file outputs — a very narrow failure mode.
Suggested improvement: Consolidate with the file-output assertions. A test like should write INPUT_TRACE_ID as trace-id to GITHUB_OUTPUT would cover both the forwarding and the output in one assertion.


⚠️ should set INPUT_JOB_NAME env var when provided

Classification: Implementation test (trivial)
Issue: Sets process.env.INPUT_JOB_NAME = "agent" before the test, then asserts expect(process.env.INPUT_JOB_NAME).toBe("agent") after. Nothing in run() deletes this env var, so the assertion is trivially true — it would pass even if the relevant code were completely removed from run().
Suggested improvement: Replace with a test that verifies JOB_NAME actually affects the OTLP span. For example, after calling run() with INPUT_JOB_NAME=agent, assert that mockSendJobSetupSpan was called with an object containing the job name — or verify whatever downstream observable effect inputJobName produces (e.g., the span name in the GITHUB_ENV or output).


Language Support

Tests analyzed:

  • 🟨 JavaScript (*.test.cjs): 32 tests (vitest) — actions/setup/js/action_setup_otlp.test.cjs
  • 🐹 Go (*_test.go): 0 tests changed

Verdict

❌ Check failed. 50% of new tests are classified as low-value implementation tests (threshold: 30%). The test suite has excellent coverage of the module's primary behavioral contracts (GITHUB_OUTPUT/GITHUB_ENV writes, validation guards, error handling, and edge cases) but is diluted by redundant log-only assertions and mock-argument checks that duplicate the behavioral signal already present in more valuable tests. Reducing or consolidating the implementation tests would raise the score above the threshold without losing safety.


📖 Understanding Test Classifications

Design Tests (High Value) verify what the system does:

  • Assert on observable outputs, return values, or state changes
  • Cover error paths and boundary conditions
  • Would catch a behavioral regression if deleted
  • Remain valid even after internal refactoring

Implementation Tests (Low Value) verify how the system does it:

  • Assert on internal function calls (mocking internals) or exact log strings
  • Only test the happy path with typical inputs
  • Break during legitimate refactoring even when behavior is correct
  • Give false assurance: they pass even when the system is wrong

Goal: Shift toward tests that describe the system's behavioral contract — the promises it makes to its users and collaborators.


References: §24493292975

🧪 Test quality analysis by Test Quality Sentinel · ● 615.3K · ◷

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Test Quality Sentinel: 52/100. 50% of new tests are classified as low-value implementation tests, exceeding the 30% threshold. The primary issues are 8+ log-only assertion tests and 3 mock-argument-only tests that duplicate behavioral signal already covered by the file-output assertions. Please review the flagged tests in the comment above and consolidate implementation tests into the existing behavioral tests.

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot Review all comments

Copilot AI and others added 3 commits April 16, 2026 05:26
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/2d488966-60ba-4aa4-9b81-346dda9afbeb

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This reverts commit e81880d.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/2d488966-60ba-4aa4-9b81-346dda9afbeb

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

@copilot Review all comments

Reviewed all comments and applied the actionable fixes in commit aac11b2: updated the run() JSDoc to match actual error behavior and added temp directory cleanup in action_setup_otlp.test.cjs (rmSync(..., { recursive: true, force: true })). No UI changes were made, so no screenshot is applicable.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh /usr/bin/gh api graphql -f query=query($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { hasDiscussionsEnabled } } -f owner=github -f name=gh-aw edcfg ache/go/1.25.8/x--show-toplevel git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /usr/bin/git 3225-37489/test-git aqNl/Sak5XWYSYfQrev-parse res.lock.yml git (http block)
  • https://api.github.com/orgs/test-owner/actions/secrets
    • Triggering command: /usr/bin/gh gh api /orgs/test-owner/actions/secrets --jq .secrets[].name -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/actions/ai-inference/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/actions/ai-inference/git/ref/tags/v1 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/gh g_.a GO111MODULE 64/pkg/tool/linu--show-toplevel gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts /usr/bin/git .artifacts[].namgit ik_mNb6yT ache/go/1.25.8/x--show-toplevel git (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v3
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v3 --jq [.object.sha, .object.type] | @tsv --show-toplevel /tmp/go-build1098706667/b070/_testmain.go /usr/bin/git 01 02/work 64/bin/go git -C /tmp/gh-aw-test-runs/20260416-053225-37489/test-3326853038/custom/workflows remote /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -json GO111MODULE x_amd64/link /opt/hostedtoolcache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/actions/checkout/git/ref/tags/v5
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv 9/001/test-complex-frontmatter-with-tools.md 2XU_VxRq0 ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE 0675585/b015/ GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linurev-parse env report.md GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE fips140cache ache/go/1.25.8/x--show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git g_.a GO111MODULE 64/pkg/tool/linu--show-toplevel git rev-�� it/ref/tags/v4 64/pkg/tool/linux_amd64/vet sv L5Pf2dzjr ortcfg ache/go/1.25.8/x--show-toplevel git (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/checkout/git/ref/tags/v5 --jq [.object.sha, .object.type] | @tsv --show-toplevel /opt/hostedtoolcache/go/1.25.8/x-importcfg /usr/bin/git licyMinIntegritygit -trimpath /opt/hostedtoolc--show-toplevel git rev-�� --show-toplevel /opt/hostedtoolcache/go/1.25.8/x-extld=gcc /usr/bin/git -bool -buildtags r,url,status,con--show-toplevel git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v8
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq [.object.sha, .object.type] | @tsv --show-toplevel ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile /usr/bin/git 0675585/b096/_pkgit om/goccy/go-yamlcommit ache/go/1.25.8/x-m git rev-�� --show-toplevel ache/go/1.25.8/x64/pkg/tool/linuremote.origin.url /usr/bin/git rdian.md gimq/JO2tKXBdToMrev-parse ache/go/1.25.8/x--show-toplevel git (http block)
  • https://api.github.com/repos/actions/github-script/git/ref/tags/v9
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -goversion go1.25.8 -c=4 -nolocalimports -importcfg /tmp/go-build1120675585/b257/importcfg antg-4klVCIU env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v9 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go env to pkg/actionpingo1.25.8 GO111MODULE x_amd64/asm GOINSECURE GOMOD GOMODCACHE x_amd64/asm (http block)
  • https://api.github.com/repos/actions/setup-go/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-go/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv = get &amp;&amp; echo &#34;******&#34;; }; f get = get &amp;&amp; echo &#34;******&#34;; }; f get /usr/bin/git rity3463859951/0git GO111MODULE x_amd64/vet git conf�� user.name Test User /usr/bin/git -json GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
  • https://api.github.com/repos/actions/setup-node/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/setup-node/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv v1.0.0 x_amd64/compile /usr/bin/git ay_c3086575000/0git GO111MODULE x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /usr/bin/git -json GO111MODULE 64/pkg/tool/linu--show-toplevel git (http block)
  • https://api.github.com/repos/actions/upload-artifact/git/ref/tags/v4
    • Triggering command: /usr/bin/gh gh api /repos/actions/upload-artifact/git/ref/tags/v4 --jq [.object.sha, .object.type] | @tsv t0 -buildtags (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v0.1.2
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v0.1.2 --jq [.object.sha, .object.type] | @tsv add origin /usr/bin/git repo1165479521/0git GO111MODULE x_amd64/vet git rev-�� --show-toplevel x_amd64/vet /opt/hostedtoolcache/node/24.14.1/x64/bin/node -json GO111MODULE 64/pkg/tool/linu--show-toplevel node (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv sistency_GoAndJavaScript810180109/001/test-complex-frontmatter-with-tools.md -trimpath ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -p github.com/githurev-parse -lang=go1.25 ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile -1 8706667/b449/_pkg_.a -goversion 8706667/b449=&gt; -c=4 b/gh-aw/pkg/timerev-parse -importcfg git (http block)
  • https://api.github.com/repos/github/gh-aw-actions/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw-actions/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv -test.paniconexit0 -test.v=true /usr/bin/gh -test.timeout=10git -test.run=^Test -test.short=true--show-toplevel gh work�� ons-test3075394867 --json ow-with-reaction.lock.yml ions.md 806883311/001&#39; 64/bin/go git (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/1/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/1/artifacts --jq .artifacts[].name 0/message/catalog.go 64/pkg/tool/linux_amd64/compile GOINSECURE o8601 abis 64/pkg/tool/linux_amd64/compile env 2370010626 go x_amd64/vet GOINSECURE chema/v6/kind GOMODCACHE x_amd64/vet (http block)
    • Triggering command: /usr/bin/gh gh run download 1 --dir test-logs/run-1 GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12345/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12345/artifacts --jq .artifacts[].name GO111MODULE ache/go/1.25.8/x-nolocalimports GOINSECURE GOMOD abis ieAM-Lz/1rKZ6KO_c5WKOia6VGY3 env -json sYAOo28ie ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 12345 --dir test-logs/run-12345 4LOc7tzcC 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a fG0BeREzZ 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/12346/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/12346/artifacts --jq .artifacts[].name ik_mNb6yT ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env ortcfg bt7zDc9ZF ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 12346 --dir test-logs/run-12346 OkGlq_83D 64/pkg/tool/linux_amd64/compile GOINSECURE 5519 GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a mMLh2czeP 64/pkg/tool/linux_amd64/link GOINSECURE onpins GOMODCACHE 64/pkg/tool/linux_amd64/link (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/2/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/2/artifacts --jq .artifacts[].name 0/internal/format/format.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 2370010626 tVIFB3NxN ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE util GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 2 --dir test-logs/run-2 GO111MODULE ache/go/1.25.8/x64/bin/go GOINSECURE (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/3/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/3/artifacts --jq .artifacts[].name til.go 64/pkg/tool/linux_amd64/compile GOINSECURE tants GOMODCACHE 64/pkg/tool/linux_amd64/compile env 2370010626 GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm (http block)
    • Triggering command: /usr/bin/gh gh run download 3 --dir test-logs/run-3 h1Ee82J5b ache/go/1.25.8/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env -h gh-aw.wasm | cut -f1))&#34; GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linushow (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/4/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/4/artifacts --jq .artifacts[].name GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD abis 64/pkg/tool/linux_amd64/compile env 2370010626 NG8R67gve 64/pkg/tool/linux_amd64/vet GOINSECURE (http block)
    • Triggering command: /usr/bin/gh gh run download 4 --dir test-logs/run-4 GO111MODULE ache/go/1.25.8/x-importcfg GOINSECURE _other.o 64/src/crypto/in--show-toplevel go env $(go env GOROOT)/lib/wasm/wasm_exec.js (or misc/wasm/ for Go &lt;1.24)&#34; GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-importcfg (http block)
  • https://api.github.com/repos/github/gh-aw/actions/runs/5/artifacts
    • Triggering command: /usr/bin/gh gh api --paginate repos/{owner}/{repo}/actions/runs/5/artifacts --jq .artifacts[].name 0/feature/plural/common.go 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env 2370010626 GO111MODULE 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run download 5 --dir test-logs/run-5 OhJqGnTLC 64/bin/go GOINSECURE l/format GOMODCACHE go env 2068218259/.github/workflows GO111MODULE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm (http block)
  • https://api.github.com/repos/github/gh-aw/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path 806883311/001&#39; 806883311/001&#39; 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE g/sig_other.s (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 100 GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh run list --json databaseId,number,url,status,conclusion,workflowName,createdAt,startedAt,updatedAt,event,headBranch,headSha,displayTitle --workflow nonexistent-workflow-12345 --limit 6 GOMOD GOMODCACHE b9/84WW5uab3fmHHQe4ZCzo/KHFyOK8CpHuPwq4-6Pvn env rity2011579958/001 xpQFH7LFx ntdrain.test GOINSECURE ack GOMODCACHE ntdrain.test (http block)
  • https://api.github.com/repos/github/gh-aw/contents/.github%2Fworkflows%2Faudit-workflows.md
    • Triggering command: /opt/hostedtoolcache/node/24.14.1/x64/bin/node /opt/hostedtoolcache/node/24.14.1/x64/bin/node --experimental-import-meta-resolve --require /home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/vitest/suppress-warnings.cjs --conditions node --conditions development /home/REDACTED/work/gh-aw/gh-aw/actions/setup/js/node_modules/vitest/dist/workers/forks.js origin/auth-cleamerge-base git git rev-�� origin/shallow-fetch-fail git k/gh-aw/gh-aw/actions/setup/node_modules/.bin/git user.email test@example.comcat-file k/gh-aw/gh-aw/ac-e git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.4
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.4 --jq [.object.sha, .object.type] | @tsv --show-toplevel 64/pkg/tool/linux_amd64/vet /usr/bin/git 1963396172/001 .cfg 64/pkg/tool/linu--show-toplevel git rev-�� --show-toplevel 64/pkg/tool/linux_amd64/compile /usr/bin/git g_.a GO111MODULE ache/go/1.25.8/x/tmp/gh-aw/aw-feature-branch.patch git (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.0.0 --jq [.object.sha, .object.type] | @tsv g_.a LZuHOSZyr 64/pkg/tool/linux_amd64/compile GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/compile env g_.a yi2fVdpoL ache/go/1.25.8/x64/pkg/tool/linux_amd64/asm GOINSECURE tants GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linutest-branch (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v1.2.3
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v1.2.3 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/asm GOINSECURE GOMOD GOMODCACHE x_amd64/asm env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v2.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json ii/equal_fold.go x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v2.0.0 --jq [.object.sha, .object.type] | @tsv sm-opt -Oz (size-test.timeout=10m0s GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json oken.go x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/github/gh-aw/git/ref/tags/v3.0.0
    • Triggering command: /usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v3.0.0 --jq [.object.sha, .object.type] | @tsv -json GO111MODULE x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile env -json o x_amd64/compile GOINSECURE GOMOD GOMODCACHE x_amd64/compile (http block)
  • https://api.github.com/repos/nonexistent/action/git/ref/tags/v999.999.999
    • Triggering command: /usr/bin/gh gh api /repos/nonexistent/action/git/ref/tags/v999.999.999 --jq [.object.sha, .object.type] | @tsv g_.a JtV1iahb4 64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linuremote.origin.url env ortcfg gmGb0FnMM ache/go/1.25.8/x64/pkg/tool/linux_amd64/compile GOINSECURE %H %ct %D (http block)
  • https://api.github.com/repos/nonexistent/repo/actions/runs/12345
    • Triggering command: /usr/bin/gh gh run view 12345 --repo nonexistent/repo --json status,conclusion GOINSECURE GOMOD GOMODCACHE 64/pkg/tool/linux_amd64/vet env ortcfg Q8gElMZ6A ache/go/1.25.8/x64/pkg/tool/linu-nilfunc GOINSECURE GOMOD GOMODCACHE ache/go/1.25.8/x64/pkg/tool/linu-trimpath (http block)
  • https://api.github.com/repos/owner/repo/actions/workflows
    • Triggering command: /usr/bin/gh gh workflow list --json name,state,path --repo owner/repo 64/bin/go GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/owner/repo/contents/file.md
    • Triggering command: /tmp/go-build1098706667/b400/cli.test /tmp/go-build1098706667/b400/cli.test -test.testlogfile=/tmp/go-build1098706667/b400/testlog.txt -test.paniconexit0 -test.v=true -test.parallel=4 -test.timeout=10m0s -test.run=^Test -test.short=true -d ache/go/1.25.8/x-o 64/bin/go go env -json GO111MODULE 64/bin/go ynced successfuliptables GOMOD GOMODCACHE go (http block)
  • https://api.github.com/repos/test-owner/test-repo/actions/secrets
    • Triggering command: /usr/bin/gh gh api /repos/test-owner/test-repo/actions/secrets --jq .secrets[].name 06883311/001&#39; 06883311/001&#39; -nolocalimports -importcfg /tmp/go-build1098706667/b400/importcfg -pack /tmp/go-build1098706667/b400/_testmain.go env -json GO111MODULE 64/bin/go GOINSECURE GOMOD GOMODCACHE go (http block)
  • invalid.example.invalid
    • Triggering command: /usr/lib/git-core/git-remote-https /usr/lib/git-core/git-remote-https origin https://invalid.example.invalid/nonexistent-repo.git git conf�� user.name lure odules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/git 3 git git git bran�� -M main ache/uv/0.11.7/x86_64/git user.name Test User de_modules/.bin/agent-change.txt git (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@pelikhan pelikhan closed this Apr 16, 2026
Copilot AI requested a review from pelikhan April 16, 2026 05:44
Copilot stopped work on behalf of pelikhan due to an error April 16, 2026 05:44
@pelikhan
pelikhan deleted the jsweep/action-setup-otlp-3218b76dc32526b4 branch August 18, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants