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(scripts): skip failure report for ruby #3303

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/DI-2494

Changes included:

le ruby release succeed but the ruby release action then lookup on the registry to find the version and somehow fails (but it worked!)

since the GA release approach and we need wait release to succeed in order to spread new versions to the docs, we can skip ruby for now

@shortcuts shortcuts self-assigned this Jul 2, 2024
@shortcuts shortcuts requested a review from a team as a code owner July 2, 2024 13:18
@shortcuts shortcuts requested review from morganleroi and millotp July 2, 2024 13:18
Copy link

github-actions bot commented Jul 2, 2024

No code generated

If you believe code should've been generated, please, report the issue.

Copy link

github-actions bot commented Jul 2, 2024

if (!success) {

// Ruby action is flaky for now but the release succeed
if (!success && ciRun.language !== 'ruby') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think the fix should be in clients/algoliasearch-client-ruby/.github/workflows/release.yml directly, with a small continue-on-error: true, that way if something else goes wrong we can still see it

Copy link
Member Author

Choose a reason for hiding this comment

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

wouldn't it behave exactly like this? the difference here is that on the Ruby repo, it will still fail

Copy link
Collaborator

Choose a reason for hiding this comment

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

yeah but its wrong on the ruby repo, the release is working, it should also be green there

Copy link
Member Author

@shortcuts shortcuts Jul 2, 2024

Choose a reason for hiding this comment

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

yes but it doesn't depend on us, the action really fails :/ IMO we should find an other GHA but I don't have the time right now and don't want to block the docs

Copy link
Collaborator

Choose a reason for hiding this comment

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

the action doesn't fail since its released, its just the wait after that fails.
When a users looks at the ruby repo to see what is released it should be green IMO

Copy link
Member Author

Choose a reason for hiding this comment

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

XD just realized it's a single simple file we can patch it maybe https://github.com/rubygems/release-gem/blob/v1/action.yml, would've been faster than this conversation

Copy link
Member Author

Choose a reason for hiding this comment

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

await-release:
description: "Whether to poll for the release to be available on RubyGems.org"
required: false
default: "true"

Copy link
Collaborator

Choose a reason for hiding this comment

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

ahah nice they know its flaky

Copy link
Member Author

Choose a reason for hiding this comment

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

do we shake hands now? a879bd0

Copy link
Member Author

Choose a reason for hiding this comment

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

🤝

millotp
millotp previously approved these changes Jul 2, 2024
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

🤝

@shortcuts
Copy link
Member Author

🤝 nice

@shortcuts shortcuts enabled auto-merge (squash) July 2, 2024 14:13
@shortcuts shortcuts disabled auto-merge July 2, 2024 14:13
@shortcuts shortcuts enabled auto-merge (squash) July 2, 2024 14:13
@shortcuts shortcuts merged commit 766f801 into main Jul 2, 2024
11 checks passed
@shortcuts shortcuts deleted the chore/skip-failure-report-for-ruby branch July 2, 2024 14:23
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Jul 2, 2024
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.

2 participants