Recompile daily-doc-updater lock file - #15
Merged
amjithtitus09 merged 1 commit intoJul 31, 2026
Conversation
Regenerate .github/workflows/daily-doc-updater.lock.yml with gh aw compile (v0.81.6) so its frontmatter_hash matches the current daily-doc-updater.md frontmatter, resolving the ERR_CONFIG "Lock file is outdated" CI failure. The prior commit hand-edited the .md frontmatter (and lock) to add GH_TOKEN to the pre-activation check step without recompiling, leaving a stale frontmatter_hash. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Open
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.
Problem
CI fails with:
Root cause
PR #11 ("Fix pre_activation: add GH_TOKEN to gh CLI step") hand-edited both the source
daily-doc-updater.mdfrontmatter (addingGH_TOKEN: ${{ github.token }}to the pre-activationcheckstep) and the compiled lock file, but never rangh aw compile. As a result the lock'sfrontmatter_hashstayed stale (6730cf…) while the current.mdfrontmatter hashes toa9a44b…, which is exactly what the strict compile check flags.Fix
Regenerated the lock file with GitHub Agentic Workflows:
gh awextension to v0.81.6 — the same version that produced the committed lock (gh extension install github/gh-aw --pin v0.81.6). The locally-installed v0.80.9 would have downgraded the compiler/engine versions and produced a large spurious diff.gh aw compileat the repo root.Result — only
.github/workflows/daily-doc-updater.lock.ymlchanges (6 insertions / 4 deletions):frontmatter_hashupdated6730cf…→a9a44b…so it matches the current.mdfrontmatter.env: GH_TOKENblock is emitted in the compiler-canonical position.compiler_versionstaysv0.81.6, copilot engine stays1.0.65.Verification
Re-running
gh aw compileafter the change produces zero lock diff, confirming thefrontmatter_hashnow matches and CI'sERR_CONFIGcheck will pass.Notes
.mdfile was not modified.gh aw compilealso emits.github/aw/actions-lock.jsonand.github/workflows/agentics-maintenance.yml, which are not (and never have been) tracked in this repo. They are intentionally excluded from this PR to keep it scoped to the lock fix and avoid introducing a new scheduled maintenance workflow.