develop #61
Loading…
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Process and runner keys were built in access.ts and taken apart by string slicing in the pool, by a separate regex in reconcile, by split(".") in the runner admin route and server logs, and by slice(0, 36) in the runner. The probe's nil UUID was copied in three places. packages/shared/src/runner.ts now owns the format: processKey, installerKey, parseRunnerKey, processOwner and PROBE_USER_ID. A server context carries its typed owner, so the pool, gateway, portal and refresher no longer re-derive it. Fixes the runner admin page listing the probe process as a user with the nil UUID as its id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The duplicate-key, unknown {{KEY}}, args, URL-host and client-id rules were written in the API's validation, again in the SPA's form check and template panel, and a third time in the pool's args backstop. They now live in packages/shared/src/server-rules.ts (serverRuleIssues and templateUse) and all four places call them. Behaviour: the form now refuses unknown and misplaced keys before sending instead of after the API answers; the API also refuses an update that blanks the client id while a stored client secret stays (the form already did); a duplicate key reads 'KEY is already defined above'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>PageQuery and PAGE_SIZE serve the three paged queries and the SPA; ToolName the two tool path params and isValidToolName; VariableValue the user and test value bodies and the spawn env; ServerName, ServerDescription and ServerVariables both the create and the update body. VariableKey and the {{KEY}} template share one pattern and VARIABLE_KEY_MAX, which normalize.ts imports. PortalServer.oauth.mode is UpstreamOAuthMode without none, and RunnerStatus takes its health fields from RunnerHealth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The exit log now reads a process's last stderr lines from ProcessLogs instead of a second 200-line buffer per child; a short-lived run's lines may include the end of the run before it under the same key. An invalid key on attach closes with RunnerCloseCode.policy (still 1008). InstallerIdentity and proc.ts's RunAs were the same {uid, gid}; RunAs is the one type and ProcessIdentity extends it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>