Skip to content

Recompile workflow lock files to sync with markdown sources#169

Merged
pelikhan merged 2 commits intomainfrom
copilot/recompile-workflows-lock-files
Jan 11, 2026
Merged

Recompile workflow lock files to sync with markdown sources#169
pelikhan merged 2 commits intomainfrom
copilot/recompile-workflows-lock-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 11, 2026

Workflow lock files (.lock.yml) were out of sync with their source markdown files, causing GitHub Actions to run stale configurations.

Changes

Recompiled all 7 agentic workflow files using gh aw compile --validate --verbose:

  • go-logger.lock.yml: Added documentation clarifying debug loggers write to both stderr (colored, with time diffs) and file logger (text-only)
  • agentics-maintenance.yml: Replaced remote gh-aw installation with local build:
    • Added sparse checkout for .github directory
    • Build gh-aw from source with make build
    • Execute as ./gh-aw instead of gh aw

All workflows now reflect their current markdown definitions.

Original prompt

This section details on the original issue you should resolve

<issue_title>[aw] agentic workflows out of sync</issue_title>
<issue_description>## Problem

The workflow lock files (.lock.yml) are out of sync with their source markdown files (.md). This means the workflows that run in GitHub Actions are not using the latest configuration.

What needs to be done

The workflows need to be recompiled to regenerate the lock files from the markdown sources.

Instructions

Recompile all workflows using one of the following methods:

Using gh aw CLI

gh aw compile --validate --verbose

Using gh-aw MCP Server

If you have the gh-aw MCP server configured, use the compile tool:

{
  "tool": "compile",
  "arguments": {
    "validate": true,
    "verbose": true
  }
}

This will:

  1. Build the latest version of gh-aw
  2. Compile all workflow markdown files to YAML lock files
  3. Ensure all workflows are up to date

After recompiling, commit the changes with a message like:

Recompile workflows to update lock files

Detected Changes

The following workflow lock files have changes:

View diff
diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml
index 1a7c618..c6e8a16 100644
--- a/.github/workflows/go-logger.lock.yml
+++ b/.github/workflows/go-logger.lock.yml
@@ -491,6 +491,12 @@ jobs:
           - For `internal/cmd/root.go` → `"cmd:root"`
           - For `internal/launcher/docker.go` → `"launcher:docker"`
           
+          **Note:** Debug loggers created with `logger.New()` write to both:
+          - **stderr** - Colorized output with time diffs (when `DEBUG` env var matches namespace)
+          - **file logger** - Text-only output (always logged when the logger is enabled)
+          
+          This dual output approach ensures all debug logs are captured to file for troubleshooting while providing real-time colored output during development.
+          
           ### Logger Usage Patterns
           
           **Good logging examples:**

References

  • Repository: githubnext/gh-aw-mcpg

Ahoy! This treasure was crafted by 🏴‍☠️ Agentics Maintenance

</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Updated go-logger.lock.yml with enhanced debug logging documentation
- Updated agentics-maintenance.yml with local build approach

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Recompile workflows to update lock files Recompile workflow lock files to sync with markdown sources Jan 11, 2026
Copilot AI requested a review from pelikhan January 11, 2026 20:46
@pelikhan pelikhan marked this pull request as ready for review January 11, 2026 20:57
@pelikhan pelikhan merged commit d3e466f into main Jan 11, 2026
@pelikhan pelikhan deleted the copilot/recompile-workflows-lock-files branch January 11, 2026 20:58
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.

[aw] agentic workflows out of sync

2 participants