|
|
@@ -15,6 +15,10 @@ An inventory mode per unit decides what NetPulse expects from it (#1917). `auto`
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
+- An agent install keeps its output even when the script fails (#1894). The install script narrates everything it does on stderr, error messages included, and the SSH pool returned stdout only and an empty string whenever the command exited non-zero, so a successful install left no line in the journal and a failed one still arrived as "exit status 1" with the reason thrown away one layer below the handler that had just been fixed to keep it. Script runs now merge both streams and return what was captured whether they succeed or fail, uninstall writes to the journal as well, and the script says what it is doing on stdout, so a normal install leaves a trace in the journal and in the box on the page.
|
|
|
+
|
|
|
+- A slow install is no longer reported as a network failure (#1894). The browser gave the reinstall request ninety seconds while the handler waits for the script, which can take five minutes when the router has to download the binary, and then forty seconds more for the first push, so the page gave up on an operation that was still running and painted the bare word "network" in red, keeping it until a manual reload even after the agent was up and reporting. The limit now sits above the server's worst case, a timeout is told apart from an unreachable server, and both are translated instead of shown as a code.
|
|
|
+
|
|
|
- A release reuses the agent binaries again when the agent did not change (#1916). The step that downloads the previous release runs inside a temporary directory, and `gh` resolves the repository through git, so every attempt died with "not a git repository", printed a warning and fell back to compiling five architectures that were already built. The download now names the repository explicitly, so the previous assets are really reused and the embedded agent stays bit for bit the published one. Reusing also writes the version stamp of #1914, which the compile path produces but this one did not, otherwise the guard that reads the stamp would disable agent self-upgrade on every release that reused the binaries.
|
|
|
|
|
|
- The networks card added in #1889 never rendered on a live server (#1918). The API was sending the field all along, but `getRouterDetail` rebuilt the response from an inline type that had no `networks` member and dropped the key, so the guard in the router page never saw any data. TypeScript does not flag a field that is simply never copied, and this repo has no frontend test runner, so nothing caught it.
|