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

fix: broken unpublish workflow #2365

Closed
wants to merge 2 commits into from
Closed

Conversation

Dhaiwat10
Copy link
Member

@Dhaiwat10 Dhaiwat10 commented May 21, 2024

The workflow responsible for unpublishing old versions/tags from npm was broken.

This PR fixes that.

Successful run on this branch: https://github.com/FuelLabs/fuels-ts/actions/runs/9179019639/job/25240208986

@Dhaiwat10 Dhaiwat10 added the bug Issue is a bug label May 21, 2024
@Dhaiwat10 Dhaiwat10 self-assigned this May 21, 2024
@Dhaiwat10 Dhaiwat10 marked this pull request as ready for review May 21, 2024 17:47
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
79.73%(+0%) 70.64%(+0%) 76.81%(+0%) 79.81%(+0%)
Changed Files:

Coverage values did not change👌.

@@ -15,7 +15,7 @@ concurrency:
jobs:
clean-npm-versions:
name: Unpublish versions next and pr
runs-on: buildjet-4vcpu-ubuntu-2204
Copy link
Member

Choose a reason for hiding this comment

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

@danielbate what was the impetus for running on this specific hardware?

Copy link
Contributor

Choose a reason for hiding this comment

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

I believe it was lifted from the frontend codebases (e.g. fuel-connectors)

Copy link
Member

Choose a reason for hiding this comment

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

This hardware should be superior and have higher availability.

Why are we rolling this config back?

@petertonysmith94
Copy link
Contributor

This job didn't actually succeed.

I think it'll be worth refactoring release-unpublish.js and adding tests around this functionality. To ensure it's working correctly, given potentially destructive nature of it.

@Dhaiwat10 Dhaiwat10 marked this pull request as draft May 22, 2024 03:22
@Dhaiwat10
Copy link
Member Author

Marking as a draft until we are sure about the script itself

@petertonysmith94
Copy link
Contributor

Closing in favour of issue #2377

@arboleya arboleya deleted the dp/fix-unpublish-workflow branch June 9, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants