Consolidate Artifacts into Single Artifact#267
Merged
Conversation
… artifact `outputs.artifact-[pattern|url]`
2f21f63 to
c2898e6
Compare
aidanheerdegen
approved these changes
Feb 10, 2026
Member
aidanheerdegen
left a comment
There was a problem hiding this comment.
Very satisfying amount of red highlights!
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.
Closes #266
Background
Currently we have multiple artifacts per
build-cijob:spack-files-ID, which contains thespack.lockandspack.yamlspack-logs-ID, which contains the spack install logs for each spec in the speclist, of the formlog_N.logfor each of theNspecsjob-outputs-ID, which contains a JSON file of all the inputs and outputs of the GitHub job for post-matrix processing, of the formjob-output-ID.jsonfor a given container IDAll of these can be consolidated into a single artifact, of the form:
output-ID, which contains thespack.yaml,spack.lock,spec_install_log_N.log(forNspecs) and thejob_outputs.jsonfileNote
Deprecating existing outputs in favour of a new one would usually be considered a
MAJORchange, but since no repositories useoutputsyet, we can call this aMINORone...The PR
outputs.*-artifact-[pattern|url]into a single artifactoutputs.artifact-[pattern|url]TODO
Testing
Tested in ACCESS-NRI/access-test-component#17, successful run is https://github.com/ACCESS-NRI/access-test-component/actions/runs/21850985369?pr=17. See the uploaded artifacts.