Skip to content

Conversation

@clouraLabs
Copy link

Summary

This PR fixes a duplicate workflow name issue in GitHub Actions where the run_unit_evals.yml workflow was incorrectly named run_agent_evals, causing potential confusion with the actual run_agent_evals.yml workflow.

Problem

The .github/workflows/run_unit_evals.yml file had its workflow name set to run_agent_evals instead of run_unit_evals. This occurred because both the run_agent_evals() and run_unit_evals() functions in tooling/xtask/src/tasks/workflows/run_agent_evals.rs were using the named::workflow() helper, which automatically derives the workflow name from the module name. Since both functions are in the same module, they both inherited the name run_agent_evals.

Solution

  • Modified tooling/xtask/src/tasks/workflows/run_agent_evals.rs to explicitly set the workflow name for run_unit_evals by using Workflow::default().name("run_unit_evals".to_string()) instead of named::workflow()
  • Regenerated workflow files using cargo xtask workflows
  • The workflow file now correctly identifies itself as run_unit_evals

Changes

  • .github/workflows/run_unit_evals.yml: Updated workflow name from run_agent_evals to run_unit_evals
  • tooling/xtask/src/tasks/workflows/run_agent_evals.rs: Explicitly set workflow name to prevent future confusion

Testing

  • Verified all workflow names are now unique across .github/workflows/ directory
  • Confirmed no compilation errors or warnings
  • Validated YAML structure is correct

This ensures GitHub Actions can properly distinguish between the two workflows and prevents potential CI/CD issues.

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @Huggyturd on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@clouraLabs
Copy link
Author

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @Huggyturd on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

The cla-bot has been summoned, and re-checked this pull request!

@maxdeviant maxdeviant changed the title fix: Correct workflow name for run_unit_evals ci: Correct workflow name for run_unit_evals Nov 6, 2025
@clouraLabs
Copy link
Author

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @Huggyturd on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

The cla-bot has been summoned, and re-checked this pull request!

The run_unit_evals.yml workflow was incorrectly named 'run_agent_evals'
due to both workflows being generated from the same module. This caused
duplicate workflow names in GitHub Actions.

Changes:
- Updated run_agent_evals.rs to explicitly set the workflow name for
  run_unit_evals to 'run_unit_evals'
- Regenerated workflows using 'cargo xtask workflows'
- The workflow file now correctly identifies itself as 'run_unit_evals'

This fixes potential CI/CD issues where GitHub Actions would be confused
by duplicate workflow names.
@clouraLabs clouraLabs force-pushed the fix-workflow-name-run-unit-evals branch from 39513e2 to 44c00b7 Compare November 6, 2025 02:14
@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @clouraLabs on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@clouraLabs
Copy link
Author

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @clouraLabs on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Nov 6, 2025

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants