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

feat: persist job counter across restarts #198

Merged
merged 9 commits into from
May 3, 2023
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented May 2, 2023

  • zinniad: persist "jobs completed" across restarts
  • refactor: code cleanup in reporters

Resolves #148

The implementation is a bit hacky. We will need to refactor it to enable support for more than one module (see #144). Right now, I am optimising to deliver Zinnia in Station ASAP.

It's probably best to review the changes commit by commit.

bajtos added 2 commits May 2, 2023 16:51
Remove repetitive code to ignore print errors and move it into a shared
helper fn.

Signed-off-by: Miroslav Bajtoš <[email protected]>
@bajtos bajtos requested a review from juliangruber May 2, 2023 15:08
daemon/main.rs Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
daemon/main.rs Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
@bajtos bajtos requested a review from juliangruber May 3, 2023 07:05
daemon/state.rs Outdated Show resolved Hide resolved
daemon/state.rs Outdated Show resolved Hide resolved
bajtos added 2 commits May 3, 2023 15:23
Signed-off-by: Miroslav Bajtoš <[email protected]>
@bajtos bajtos requested a review from juliangruber May 3, 2023 13:27
@bajtos bajtos enabled auto-merge (squash) May 3, 2023 13:34
@bajtos bajtos merged commit 6622306 into main May 3, 2023
@bajtos bajtos deleted the feat-persist-job-counters branch May 3, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ done
Development

Successfully merging this pull request may close these issues.

zinniad: persist job counter across restarts
2 participants