fix(workflows): add missing setup-uv id in code complexity lock workflow

Open Beginner friendly
#997 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
github-actions
Domain
ci-cd

Research direction

Open .github/workflows/gh-aw-code-complexity-detector.lock.yml and inspect the Setup uv step alongside the UV_PATH reference. Add the missing step identifier, then validate that steps.setup-uv.outputs.uv-path resolves correctly in the workflow.

Written by the indexing model from the issue text.

Description

agentic-workflows

Summary

  • add the missing id: setup-uv to the Setup uv step in .github/workflows/gh-aw-code-complexity-detector.lock.yml
  • keep the existing UV_PATH: $\{\{ steps.setup-uv.outputs.uv-path }} reference, which now resolves correctly

Why

Issue #996 identified that this workflow referenced steps.setup-uv.outputs.uv-path without defining the setup-uv step id, causing validation/runtime wiring failures for uv exposure.

Closes #996.


What is this? | From workflow: Trigger Bug Hunter

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.


[!NOTE]
This was originally intended as a pull request, but the git push operation failed.

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

To create a pull request with the changes:

# Download the artifact from the workflow run
gh run download 24775880387 -n agent -D /tmp/agent-24775880387

# Fetch the bundle into a local branch
git fetch /tmp/agent-24775880387/aw-fix-996-setup-uv-id.bundle refs/heads/fix-996-setup-uv-id:refs/heads/fix-996-setup-uv-id-acc50efeceb4212d
git checkout fix-996-setup-uv-id-acc50efeceb4212d

# Push the branch to origin
git push origin fix-996-setup-uv-id-acc50efeceb4212d

# Create the pull request
gh pr create --title 'fix(workflows): add missing setup-uv id in code complexity lock workflow' --base main --head fix-996-setup-uv-id-acc50efeceb4212d --repo elastic/ai-github-actions
Dominant language
Python
Stars
11
Forks
16
Avg merge
11h 16m
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/ai-github-actions

All issues in elastic/ai-github-actions

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.