mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
* admin: return compact plugin job detail to read-only sessions Read-only sessions got the stored parameters, labels, description and result output of a job, while job listings already leave them out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: require admin access to read plugin job type config The stored config holds literal values such as the admin script, so a read-only session must not read it, the same as it cannot write it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * plugin worker: log only the command name in admin script activities The activity timeline is readable by read-only sessions, and command arguments can carry secrets; the full command lines stay in the output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: keep only the command name in admin script running activities Activities stored before the worker change, and activities sent by workers that have not been upgraded, still carry full command lines. Reduce them when they are loaded and when they arrive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: redact admin script activities whose report omits the job type A progress report for a tracked job can leave the job type out; use the tracked job's type so the command arguments are still dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: keep a test comment on its test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: require the job-type-less admin script report to be recorded Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: type untracked admin script progress from the pending execution A progress report that carries neither a job type nor a tracked job id still belongs to the execution the admin sent under its request id; use that job type so its admin script activities lose the command arguments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: redact running executor activities whose job type is unknown A report that arrives after its execution timed out or was cancelled can carry only a request id. Its job type cannot be resolved any more, so treat it like an admin script report and keep only the command name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: test the plugin config route on a bare handler in its own file Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * admin: match the unredacted admin script message exactly in the test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>