Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 13, 2025

This PR adds the if: always() condition to the upload-artifact step in the AWS full test workflow to ensure that Seqera Platform debug logs are always uploaded, even when previous steps fail.

Problem

Currently, when the "Launch workflow via Seqera Platform" step fails in the AWS full test workflow, the subsequent artifact upload step is skipped. This makes debugging failures difficult because the Seqera Platform debug log files (seqera_platform_action_*.log and seqera_platform_action_*.json) are not available for inspection.

Solution

Added if: always() to the upload-artifact step (line 65 in .github/workflows/awsfulltest.yml). This ensures that the debug logs are uploaded regardless of whether the previous steps succeed or fail.

Changes

  • .github/workflows/awsfulltest.yml: Added if: always() condition to the upload-artifact step

This is a common best practice in GitHub Actions workflows to ensure troubleshooting information is always available when debugging workflow failures.

Fixes https://github.com/nf-core/denovotranscript/actions/runs/17119887222

Original prompt

https://github.com/nf-core/denovotranscript/actions/runs/17119887222

Can you add on: always() to https://github.com/nf-core/denovotranscript/actions/runs/17119887222/workflow#L64-L69?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: edmundmiller <20095261+edmundmiller@users.noreply.github.com>
Copilot AI changed the title [WIP] Add on: always() to workflow Add if: always() to upload-artifact step in awsfulltest workflow Oct 13, 2025
Copilot AI requested a review from edmundmiller October 13, 2025 15:48
@edmundmiller edmundmiller requested a review from ewels October 13, 2025 15:56
@edmundmiller edmundmiller marked this pull request as ready for review October 13, 2025 15:56
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.2.0.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

1 similar comment
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.2.0.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@edmundmiller edmundmiller merged commit 5777a7d into main Oct 13, 2025
24 of 26 checks passed
@edmundmiller edmundmiller deleted the copilot/add-on-always-to-workflow branch October 13, 2025 16:22
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.

3 participants