Repository navigation
feat: list a machine's agents in the agents section - #66
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…ection # Conflicts: # CHANGELOG.md # Cargo.lock # Cargo.toml # README.md # design/architecture.md # design/sidebar.md # src/cli.rs # src/model/machines.rs # src/model/machines/seen.rs # src/model/machines/tests.rs
…ection # Conflicts: # CHANGELOG.md # Cargo.lock # Cargo.toml # design/architecture.md
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.
Upstream #663 (0.13.4): a linked machine's agents in the sidebar's agents section, from what
status/viewalready list for each machine.What it does
Session::section_agents): each project's own agents, then those of machines' projects paired with it, then those with no pair.model/tree.rs, keyedHere(pane)orThere(machine, ThereId)): two servers both count pane ids from 1, so a parent, a fold and a cycle only count within one server. Ids stayThereId. Local rows use the same walk, which also keeps a cycle's rows, where the old one lost them.sidebar/machine_agents.rs): the☁ vpstag; a down machine dimmed, the spinner still,<place> · <status> · seen 2 min ago; narrow rows drop+n, then the tag, then the status (fit_tags).boot, so a press before a restart and a release after it click nothing.collapse/expand --panethrough--remote), not optimistic, fixed at the press, with three checks in upstream's order (linked,boot, the pane listed) and their toasts. An ssh failure or refusal sayscould not collapse the agent on vps: <reason>with the address replaced by the name; 15 s without an answer kills it and says so (cli::run_on_within).✕, and a menu with only the fold, on a row with children.Not as the brief asked
The fold cannot be sent with
boot.collapse --pane 9 --boot xexits 2 on 0.13.19 (unexpected argument '--boot'): #677 gave the flag tocloseandrenameonly, and arequests --followline takes what the command line takes. Filed as usecornercase/cornercase-terminal#709.bootis compared here against the last line instead, which leaves the moment between that line and the command, for a click that only hides rows and can be undone. Upstream'svps restarted; nothing was changed therewaits on it. There is no muted line for it, since the menu holds only the fold and nothing is missing for a person;design/machines.mdsays so.Compact mode: this window has none, so there is no
Agents ›list to fill.Checked live
cornercase 0.13.19, Linux x86_64 under Xvfb with lavapipe, a fake
sshbetween two servers on one box,agents_sectionon in the bench's config, stacked and side by side, the pair at its narrowest:vps(one in another workspace) beside a pane here with the same id 9;down, never linked, adds no rows.there status --json;there collapseshowing here;+2 ☁ vpswith a pending child's mark.there status'sshownunmoved; the lit row moving up to a parent when folded.vpsheld: an ssh failure's toast, rows dimmed and counting, the menu at rest,vps unreachable: nothing was sent, the card, and back.sshmade slow: the spinner, the job in the bar,no answer in 15 s.there close --pane 9and over a restart there:that agent is no longer on vpsandvps restarted, each with: nothing was sent.Not checked
A real sshd and network, two linked machines and a tag dropping for lack of room (plain tests cover both), a working spinner on these rows (
status_of, shared with tab rows), a window itself on another server, macOS, Windows.