Investigate and harden PureLock coverage safe-output pathing for PR #55077 - #55094
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Investigate and fix PureLock coverage safe output failure from PR #55077
Investigate and harden PureLock coverage safe-output pathing for PR #55077
Aug 23, 2026
Copilot created this pull request from a session on behalf of
pelikhan
August 23, 2026 14:21
View session
pelikhan
marked this pull request as ready for review
August 23, 2026 14:27
Contributor
There was a problem hiding this comment.
Pull request overview
Moves PureLock coverage output to a writable temporary path and updates its safe-output reference.
Changes:
- Writes Cobertura output under
/tmp/gh-aw/purelock. - Refreshes compiled workflow metadata.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/purelock.md |
Updates coverage generation and upload path. |
.github/workflows/purelock.lock.yml |
Updates the generated body hash. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
| Only after verifying `cobertura.xml` exists and is non-empty, call `upload_code_coverage` with | ||
| `file: "cobertura.xml"`, `language: "Go"`, and `label: "purelock/generated-tests"`. | ||
| Only after verifying `/tmp/gh-aw/purelock/cobertura.xml` exists and is non-empty, call `upload_code_coverage` with | ||
| `file: "/tmp/gh-aw/purelock/cobertura.xml"`, `language: "Go"`, and `label: "purelock/generated-tests"`. |
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
The
update-code-coverage(upload_code_coverage) safe output in the PureLock flow failed because coverage output was written to a runner temp location that was read-only in this execution context. This change updates PureLock’s coverage artifact handoff to use a writable path and an explicit absolute file reference.Root cause identified
$RUNNER_TEMP/gh-aw/safeoutputs/upload-code-coverage/, which was not writable in the failing runtime.Workflow instruction update
.github/workflows/purelock.mdto generatecobertura.xmlunder/tmp/gh-aw/purelock/.file: "/tmp/gh-aw/purelock/cobertura.xml".Compiled workflow alignment
.github/workflows/purelock.lock.ymlso generated workflow behavior matches the updated markdown source.