Repository navigation
feat(array): add 'spawn array logs --index N' (Refs #389) - #401
Merged
Merged
Conversation
Tail one job-array member's command or spored log, selected by its (possibly sparse) job-array index. Reuses the status path's SSH-key-or-SSM exec branch so it works on keyless (lagotto/cohort-launched) members over SSM; a missing index errors with a pointer to 'spawn array status'. Refs #389
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
First of two stacked PRs finishing the
spawn arraycommand group (#389). Addsspawn array logs <name> --index N— tail one job-array member's log by its (possibly sparse) job-array index.--which command(default,/var/log/spawn-command.log) or--which spored(/var/log/spored.log)--lines N(default 200),--regionstatus.goSSH-key-or-SSM exec branch, so it works on keyless (lagotto/cohort-launched) members over SSMspawn array statusWhy
PR #395 shipped
array status/collect/canceland deliberately deferredlogsandretry. This landslogs;retry(which needs a persisted launch record) follows in a stacked PR that willCloses #389.Testing
TestMemberByIndex,TestArrayLogPath(pure, no AWS)TestFlagConventions/TestTier0_CommandCoverageGatepass (no--json,arrayalready classified)docs-gen/array.mdregenerated (drift gate clean)Refs #389