-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement Progress Reporting #8
Labels
enhancement
New feature or request
Milestone
Comments
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted TBC
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted
Merged
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted
rgaudin
added a commit
that referenced
this issue
Dec 2, 2022
This is a working prototype that can be used to create working images from valid config files. Fixes: - Specify the card/project configuration format & workflow #4 - Implement Basic program structure #7 - Implement image file manipulation #10 Starts without completing: - Implement Progress Reporting #8: text UI (cli) is done and usable. Machine-readable JSON file is not but can be implemented via the logger and StepMachine. - Implement Downloader #9: a basic requests-based downloader is present. Needs more work to support transfer issues and being interupted
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
image-creator
being a machine-tool to be used by other systems as well as it being task-oriented and sensible to exofailures (downloads), it should be able to report its status (where it is in the state machine), what it's doing and overall progress in a machine-readable format.As a crucial SPOF, it should also allow post-mortem investigations.
Progress report and History, although regularly mixed for simplicity, respond to different needs and constraint:
Options for it includes stdout/stderr output, output to file or socket, file or TCP socket to read or query status.
Let's keep in mind that it will mostly be used from within a container (I suppose).
At this moment, my proposal would be:
stdout
is very easy to integrate and work-with. Kind of how it's always being used, so history can easily be read/fetched/archived.Progress would be dynamic, using CR character so that it doesn't pollute history (not visible in docker logs).
Using a specified file for machine-readable progress has several advantages:
/dev/shm
for instance) so you're not hitting IOsIt's important that long-lasting tasks report both to the history and periodically on the progress to avoid the common ambiguity of the last running task: is it still running or is the process stalled?
The text was updated successfully, but these errors were encountered: