Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Find a way to resume or re-run pending builds #52

Closed
KrauseFx opened this issue Jan 25, 2018 · 3 comments
Closed

Find a way to resume or re-run pending builds #52

KrauseFx opened this issue Jan 25, 2018 · 3 comments

Comments

@KrauseFx
Copy link
Member

KrauseFx commented Jan 25, 2018

Right now, when a build runs, and the CI server either gets killed or restarted, a Build will stay stuck in pending for the rest of time of the universe. We gotta build something to see if the worker is actually still running, and if not, mark the build as failed.

e.g. https://github.com/KrauseFx/ci-config/commit/6167cdac97f96fc34d1277683652539701cbc638#diff-2d77cf50a00bf53694d062b016527aa0R3

@KrauseFx KrauseFx created this issue from a note in fastlane CI (To Do) Jan 25, 2018
@taquitos taquitos moved this from Features to To Do in fastlane CI Jan 29, 2018
This was referenced Jan 29, 2018
@Sherlouk
Copy link
Contributor

I wonder if this is relevant to this but another idea I had was the potential of, when retrying a build, if it could skip actions that have already happened successfully and somehow reuse the artifacts?

As we know Xcode tests have a tendency to randomly fail, but if I've already successfully built the app (using build-for-testing) then I shouldn't have to redo all of that to just retry the test action?

(Hope I explained that well enough!)

@taquitos
Copy link
Collaborator

I think that makes sense, but we have to be super judicious about what artifacts are reusable. Having a list of things that are safe to reuse might be the best way to go about this.

@KrauseFx
Copy link
Member Author

Yeah, agreed here, it's very tricky to do it right, better to have a clean build and know for sure that things are working 👍

@KrauseFx KrauseFx moved this from Non-Milestoned to Milestone-Based in fastlane CI Feb 14, 2018
@armcburney armcburney self-assigned this Feb 21, 2018
@armcburney armcburney moved this from Milestone-Based to In progress in fastlane CI Feb 26, 2018
@armcburney armcburney moved this from In progress to Done in fastlane CI Feb 26, 2018
@armcburney armcburney moved this from Done to In progress in fastlane CI Feb 26, 2018
armcburney added a commit that referenced this issue Feb 26, 2018
#52 - re-run pending builds on server initialization.
@armcburney armcburney moved this from In progress to Done in fastlane CI Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
fastlane CI
  
Done
Development

No branches or pull requests

4 participants