Skip to content

Fix CI#965

Merged
Morriar merged 1 commit into
mainfrom
at-fix-ci-config
Jun 3, 2022
Merged

Fix CI#965
Morriar merged 1 commit into
mainfrom
at-fix-ci-config

Conversation

@Morriar
Copy link
Copy Markdown
Contributor

@Morriar Morriar commented Jun 3, 2022

Motivation

Temporary fix until rubyconfig/config#319 is merged and released.

Fixes intermittent CI failures such as https://github.com/Shopify/tapioca/runs/6730332048?check_suite_focus=true#step:6:35.

Implementation

Making sure rails is required before requiring config.

Depending on the order files are loaded we'll require a sub-part of Rails which will define the constant Rails and make loading config crash.

Tests

Green CI.

@Morriar Morriar added the chore label Jun 3, 2022
@Morriar Morriar requested a review from a team June 3, 2022 18:18
@Morriar Morriar self-assigned this Jun 3, 2022
Copy link
Copy Markdown
Contributor

@egiurleo egiurleo left a comment

Choose a reason for hiding this comment

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

🙏🏻 Thank you!

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar force-pushed the at-fix-ci-config branch from f1c7626 to 368bc3f Compare June 3, 2022 19:16
@Morriar Morriar merged commit ce75791 into main Jun 3, 2022
@Morriar Morriar deleted the at-fix-ci-config branch June 3, 2022 19:53
@Morriar Morriar mentioned this pull request Jun 6, 2022
@shopify-shipit shopify-shipit Bot temporarily deployed to production July 7, 2022 17:53 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants