Skip to content

Change default EngineState to online #7417

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

Merged
merged 4 commits into from
May 16, 2025

Conversation

pawanjay176
Copy link
Member

Issue Addressed

Resolves #7414

Proposed Changes

The health endpoint returns a 503 if the engine state is offline. The default state for the engine is Offline. So until the first request to the EL is made and the state is updated, the health endpoint will keep returning 503s.

This PR changes the default state to Online to avoid that. I don't think this causes any issues because in case the EL is actually offline, the first fcu will set the state to offline.

Pending testing on kurtosis.

@pawanjay176
Copy link
Member Author

@barnabasbusa can you test if this PR fixes your issue?

Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Agree this seems like a safe change to make!

@michaelsproul michaelsproul added the waiting-on-author The reviewer has suggested changes and awaits thier implementation. label May 8, 2025
@michaelsproul
Copy link
Member

@pawanjay176 Looks like some tests need updating

@barnabasbusa
Copy link

This PR fixed the bug for me. LGTM

Screenshot 2025-05-08 at 09 55 15

cl-2 with patched image
cl-3 with latest unstable image

Copy link

mergify bot commented May 15, 2025

Some required checks have failed. Could you please take a look @pawanjay176? 🙏

Copy link

mergify bot commented May 16, 2025

Some required checks have failed. Could you please take a look @pawanjay176? 🙏

@pawanjay176 pawanjay176 added ready-for-merge This PR is ready to merge. and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels May 16, 2025
@mergify mergify bot added the waiting-on-author The reviewer has suggested changes and awaits thier implementation. label May 16, 2025
mergify bot added a commit that referenced this pull request May 16, 2025
@mergify mergify bot merged commit 23ad833 into sigp:unstable May 16, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge. waiting-on-author The reviewer has suggested changes and awaits thier implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants