Normalize non-release agentic_commands.yml compiler metadata to dev#31829
Merged
Conversation
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
Copilot
AI
changed the title
Use dev compiler metadata for non-release centralized workflows
Normalize non-release May 13, 2026
agentic_commands.yml compiler metadata to dev
Copilot created this pull request from a session on behalf of
pelikhan
May 13, 2026 00:31
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes non-deterministic compiler_version metadata in the generated centralized slash-command workflow by normalizing non-release builds to emit compiler_version: "dev" while preserving real versions for release builds.
Changes:
- Update centralized slash-command workflow metadata generation to use
"dev"for non-release builds and the actual version for release builds. - Regenerate
.github/workflows/agentic_commands.ymlso the checked-in header reflects the normalized non-release behavior. - Add/adjust tests to cover both non-release (
"dev") and release ("<version>") compiler metadata paths.
Show a summary per file
| File | Description |
|---|---|
| pkg/workflow/central_slash_command_workflow.go | Normalize compiler_version to "dev" for non-release builds when emitting gh-aw-commands header metadata. |
| pkg/workflow/central_slash_command_workflow_test.go | Update existing test expectations and add coverage for release vs non-release compiler metadata. |
| .github/workflows/agentic_commands.yml | Regenerate workflow header metadata to use "compiler_version":"dev" for non-release output stability. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 3/3 changed files
- Comments generated: 1
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug Fix
What was the bug?
agentic_commands.ymlembedded the current non-release build SHA in itscompiler_versionheader metadata. That made locally/regenerated workflow output vary by build and caused unnecessary merge conflicts.How did you fix it?
Centralized workflow metadata
compiler_version: "dev"for non-release builds.Output stability
.github/workflows/agentic_commands.ymlso the checked-in header now matches the normalized non-release behavior.Coverage
compiler_version: "dev"compiler_version: "<release version>"Example