doc: add note on use of flux queue drain#6819
Conversation
Problem: It is common to use `flux queue drain` to wait for all submitted jobs to finish in flux-batch(1) scripts. However, this may not be obvious to new flux users. Add a note about this in flux-queue(1) if users look for information on why this is used in flux batch scripts.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6819 +/- ##
==========================================
- Coverage 83.83% 83.83% -0.01%
==========================================
Files 536 536
Lines 89499 89499
==========================================
- Hits 75033 75032 -1
- Misses 14466 14467 +1 🚀 New features to boost your workflow:
|
|
I hesitate a little bit on this recommendation, since unlike |
My theory on adding this was that we sometimes have examples / tutorials that end with Would it be better if we caveat this note with something like |
|
If we're going to keep this, it should probably be folded in with the other system example that is there inline, rather than putting this one in a note box when that one isn't. And I would just caveat that its exit code is not influenced by job failures, see blah blah for an alternative that does that. |
garlick
left a comment
There was a problem hiding this comment.
I think this needs a bit more work - see my latest comment.
Problem: It is common to use
flux queue drainto wait for all submitted jobs to finish in flux-batch(1) scripts. However, this may not be obvious to new flux users.Add a note about this in flux-queue(1) if users look for information on why this is used in flux batch scripts.
just an idea based on an e-mail thread