Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest tag is vnull and shouldn't be #651

Closed
StevenMaude opened this issue Jul 28, 2022 · 2 comments · Fixed by #702
Closed

Latest tag is vnull and shouldn't be #651

StevenMaude opened this issue Jul 28, 2022 · 2 comments · Fixed by #702
Assignees

Comments

@StevenMaude
Copy link
Contributor

There was a recent change to how we retrieve the previous tag: 90e0aa7.

Somehow this has ended up as null. This means we have:

It's possible that there was a temporary outage to GitHub's API, perhaps.

If that was the cause, and there's no way to make this more robust, then we should probably fail at that step if we can't resolve a valid tag.

StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 10, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 10, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 10, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 10, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
@StevenMaude
Copy link
Contributor Author

It might be that there's only a release if public_docs.json updates, perhaps?

StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 10, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 11, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 11, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 11, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 16, 2022
This is a bad version number due to
opensafely-core/ehrql#651

It's necessary to get a newer version that supports loading data from
a directory of CSVs.
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 16, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 16, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 16, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 17, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 17, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
StevenMaude added a commit to opensafely/documentation that referenced this issue Aug 17, 2022
To get new CSV support and CLI features as introduced in
opensafely-core/ehrql#672

This is a bad version number due to
opensafely-core/ehrql#651
@rebkwok
Copy link
Contributor

rebkwok commented Sep 6, 2022

The issue actually seems to be in the tagging action:
https://github.com/opensafely-core/databuilder/runs/7469012936?check_suite_focus=true#step:3:113

It's setting the previous_tag to the last tag, which is a docs-metadata-xxx one, and as a result it doesn't parse a previous version, and gets null instead. I had thought that the tag_prefix: v setting meant that it would parse only tags starting withthe prefix, but apparently it just means it'll label them with it.

There is an issue in the action repo about confusion with other tags which seems related, although not identical to ours. (Issue was opened in March 2021 and hasn't had any response from the repo owner though.)

The docs tag and release isn't essential now. Previously we were using it to upload the public.json file as a release asset which the docs repo workflow would have access to. However, now we're pulling the docs repo in the databuilder workflow in order to check if the docs have been updated and a new docs PR is needed. We could manually tag the latest commit that should be tagged with a v0.x.x tag, and get rid of the release part of the docs workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants