Skip to content

Create issue on upstream CI failure#1473

Merged
erogluorhan merged 4 commits intoUXARRAY:mainfrom
anissa111:failureissue
Mar 27, 2026
Merged

Create issue on upstream CI failure#1473
erogluorhan merged 4 commits intoUXARRAY:mainfrom
anissa111:failureissue

Conversation

@anissa111
Copy link
Copy Markdown
Member

Overview

This PR implements issue creation on upstream CI failure and updates the upstream testing python version from 3.12 to 3.13.

  • based on this PR from geocat-comp: CI Update (upstream failure auto issue creation + --last-failed) NCAR/geocat-comp#830, which was in turn based on something xarray is doing.
  • workflow will check if there is already an issue with the specified issue title/tag that is open in the repository and update that one if it exists.
  • in order for the whole workflow to not report "success" if the automatic issue creation succeeds regardless of the test jobs' success, added a report-failure job at the end that will run and always fail if the testing job fails
  • (after testing on my fork) added check to make sure issue creation will only happen for runs from UXARRAY/uxarray main.

See this working on my fork (workflow run, created + updated issue):
image

Closes #1472

PR Checklist

General

  • An issue is linked created and linked
  • Add appropriate labels
  • [N/A] Filled out Overview and Expected Usage (if applicable) sections

@anissa111 anissa111 added the CI Continuous Integration label Mar 27, 2026
Copy link
Copy Markdown
Member

@erogluorhan erogluorhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for introducing it here @anissa111 ; it looks great to me!

@erogluorhan erogluorhan merged commit 8c7aae7 into UXARRAY:main Mar 27, 2026
14 checks passed
@anissa111 anissa111 deleted the failureissue branch March 27, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatic issue creation on upstream testing failure

2 participants