Skip to content

Lcra/update last run status #957

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 23, 2025

Conversation

jreynard-code
Copy link
Member

@jreynard-code jreynard-code commented May 23, 2025

PROD-14360 Add LastRunInfo on Runner with last run Id for the runner + the last run status

Leopold-Cramer and others added 3 commits May 23, 2025 14:55
Replaced `LastRunInfo` and related fields with a leaner status tracking implementation. Removed unused methods, references, and redundant logic from services and tests to improve code clarity and maintainability. Updated dependencies and enums to reflect these changes.
Updated and simplified runner service methods by removing redundant checks and throwing exceptions. Adjusted tests to align with renamed methods for improved clarity and consistency. Enhanced runner instance handling with an optional status update parameter.
Expose `getRunStatus` for broader usage and improve error handling by introducing explicit checks for runner status updates. Update tests and add the `NotStarted` state to ensure accurate status transitions in different runner scenarios.
Copy link
Contributor

@Leopold-Cramer Leopold-Cramer left a comment

Choose a reason for hiding this comment

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

LGTM, just need to remove the changes in build.gradle.kts

@jreynard-code jreynard-code merged commit 14053f3 into main May 23, 2025
39 checks passed
@jreynard-code jreynard-code deleted the LCRA/update_last_run_status_PROD-14360 branch May 23, 2025 15:30
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