| 1 | usage: valley pending [--all] [--repo <name>] [--checks] [--drafts] [--branches] [--json] [-v] [--known-signers <file>] [--integrator-name <name>] |
| 2 | |
| 3 | pending [--all] [--repo <name>] [--checks] [--drafts] [--branches] |
| 4 | [--json] [-v] [--known-signers <file>] [--integrator-name <name>] |
| 5 | list what waits on you and what is moving. one line |
| 6 | on main's state comes first for each project whose |
| 7 | policy declares follow checks: clear, clearing or |
| 8 | muddy. beside those lines, when your key holds the |
| 9 | host's telemetry observe grant, one host entry is |
| 10 | printed for each host automation whose state is |
| 11 | failed, stale or unavailable, with the collector's |
| 12 | reason, each failing unit when several fail, and |
| 13 | the valley telemetry read command for its logs; |
| 14 | healthy sources, no observe grant, and no collector |
| 15 | print nothing. needs you holds the ready changes |
| 16 | that wait on an approval, one numbered row each in |
| 17 | landing order: |
| 18 | oldest ready first, as the check worker builds them, |
| 19 | then by project and change id. a row gives the |
| 20 | handle and active version, its checks as passed out of |
| 21 | required (or how many are pending, or ✗ the pending |
| 22 | checks whose newest build by the host's check worker |
| 23 | failed, and when), and how long it has been ready, |
| 24 | with its title under it. a stack of |
| 25 | such changes is one row, its top's, saying `stack of |
| 26 | N`: approving the top lands every layer. moving holds |
| 27 | the ready changes that need no approval now, one line |
| 28 | each: ◐ approved, waiting on checks and the |
| 29 | integrator; ✗ a check failed, named; ✗ or ◇ a restack |
| 30 | holds it. under a row, conflicts with <handle> names |
| 31 | the project's other ready changes it conflicts with: |
| 32 | both heads merged on main's tip, as the integrator |
| 33 | merges one once the other lands. layers of one stack |
| 34 | are never compared. a pair with a head not on main's |
| 35 | tip awaits a restack, and at most 64 merges run; one |
| 36 | line under the sections counts the pairs not |
| 37 | compared, and why. each answer is kept in the client |
| 38 | cache, so a warm listing runs no merge. older |
| 39 | versions are never listed. a last line |
| 40 | counts the drafts and the branches no change is on. |
| 41 | lines fit the terminal, or 80 columns off one; titles |
| 42 | are cut short with …, names never. names are bold and |
| 43 | glyphs coloured on a terminal unless NO_COLOR is set. |
| 44 | --all every project the serving host |
| 45 | publishes, as one listing: each line |
| 46 | names its project, and the rows of |
| 47 | every project share one landing order |
| 48 | (see valley help changes) |
| 49 | --repo NAME that one project |
| 50 | --checks add to each row the checks the policy |
| 51 | requires of it, by cost, as checks |
| 52 | derives them, and its full check state, |
| 53 | naming the checks that failed, the |
| 54 | pending checks that failed in the |
| 55 | worker's build, and what they cost the |
| 56 | host's check worker to build, with a |
| 57 | see: line that reads the worker's |
| 58 | report of a failure. that report is |
| 59 | diagnostic: a check's state comes from |
| 60 | notes alone. with --drafts, give each |
| 61 | draft's block the same lines, its name |
| 62 | line saying its checks as a row does. |
| 63 | name the conflicted paths of each |
| 64 | change a row conflicts with. |
| 65 | with --json, give each pending change, |
| 66 | and with --drafts each draft, its |
| 67 | checks object |
| 68 | --drafts list the drafts in full, in place of |
| 69 | their count |
| 70 | --branches list the branches no change is on in |
| 71 | full, in place of their count. each |
| 72 | draft and branch is a block: its name |
| 73 | with its head's age and author, its |
| 74 | title, then the commits and the diff |
| 75 | it adds to the nearest listed entry |
| 76 | its head contains, or to main. a stack |
| 77 | is its top, then every entry the top |
| 78 | contains, at one indentation; an entry |
| 79 | not on the one listed after it says |
| 80 | `on <base>` |
| 81 | --json print valley-pending/v1: the |
| 82 | valley-changes/v1 shape, with the |
| 83 | host's unhealthy telemetry sources in |
| 84 | host_sources, the pending changes in |
| 85 | changes, each marked approved or not, |
| 86 | with its conflicts and |
| 87 | conflicts_unknown, and the drafts in |
| 88 | drafts |
| 89 | -v follow each row with its block, its |
| 90 | stack drawn in full, with what its |
| 91 | head includes, `uncertain` when it may |
| 92 | have landed without its evidence |
| 93 | stored, its conflicts' paths as |
| 94 | --checks names them, and its full |
| 95 | check state; and |
| 96 | warn on stderr when a plan graph is |
| 97 | missing or unreadable |
| 98 | --known-signers FILE, --integrator-name NAME |
| 99 | what a transfer statement is verified |
| 100 | with (see changes below) |
| 101 | for each project with a ready change, or a draft |
| 102 | --drafts --checks lists, reading the checks reads the |
| 103 | policy once and runs attest verify for each note. |