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

upgrade Factorybot to ruby3.3 friendly version #23234

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Oct 15, 2024

Depends upon:

(reference to bad factory was failing a cross repo)

@kbrock kbrock added the ruby3.3 label Oct 15, 2024
@kbrock kbrock requested a review from Fryguy as a code owner October 15, 2024 14:03
@Fryguy
Copy link
Member

Fryguy commented Oct 15, 2024

@miq-bot cross-repo-test /all

@Fryguy Fryguy self-assigned this Oct 15, 2024
miq-bot pushed a commit to ManageIQ/manageiq-cross_repo-tests that referenced this pull request Oct 15, 2024
@kbrock
Copy link
Member Author

kbrock commented Oct 15, 2024

confused that this is red locally.
Test passed on my machine
and they passed in cross repo.

though cross repo failed with workflow/WorkflowInstance -- remember seeing that elsewhere or something.

kicking

@kbrock kbrock closed this Oct 15, 2024
@kbrock kbrock reopened this Oct 15, 2024
@kbrock
Copy link
Member Author

kbrock commented Oct 15, 2024

ok, looks like there is a sporadic build for Ems. Will keep my eye open for that.

@kbrock
Copy link
Member Author

kbrock commented Oct 15, 2024

kicking - workflows failed

Related to ManageIQ/manageiq-providers-workflows#118

These factories were added: ManageIQ#22316
But were removed: ManageIQ#22503

They were basically NO-OP factories, so removing is no big deal

For some reason, older versions of FactoryBot were ok with a bad reference (probably because the klass was overridden anyway)
But newer versions of FactoryBot complained
@kbrock
Copy link
Member Author

kbrock commented Oct 16, 2024

update:

  • removed invalid factories

@miq-bot
Copy link
Member

miq-bot commented Oct 16, 2024

Checked commits kbrock/manageiq@9f5f225~...a4ea62f with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@Fryguy Fryguy merged commit 60324ac into ManageIQ:master Oct 17, 2024
11 of 12 checks passed
@kbrock kbrock deleted the factorybot branch October 17, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants