dailz
5591b67f75
feat(task): auto-inject scheduling params into script template via scheduling_map
...
Add scheduling_map field to ParameterSchema so Application creators can
declare that a parameter (e.g. NP) maps to a scheduling field (e.g. cpus).
The backend auto-injects the scheduling value into script template variables
before rendering, eliminating duplicate user input. The frontend hides
mapped parameters from the form and injects their values on submit.
2026-04-22 10:26:52 +08:00
dailz
166ca3092c
feat(service): add task defaults, job status, and cluster helpers
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-20 10:38:41 +08:00
dailz
30f0fbc34b
fix(slurm): correct PartitionInfoMaximums CpusPerNode/CpusPerSocket types to Uint32NoVal
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 11:39:29 +08:00
dailz
824d9e816f
feat(service): map additional Slurm SDK fields and fix ExitCode/Default bugs
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 11:12:51 +08:00
dailz
270552ba9a
feat(service): add debug logging for Slurm API calls with request/response body and latency
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 10:28:58 +08:00
dailz
4903f7d07f
feat: 添加业务服务层和结构化日志
...
- JobService: 提交、查询、取消、历史记录,记录关键操作日志
- ClusterService: 节点、分区、诊断查询,记录错误日志
- NewSlurmClient: JWT 认证 HTTP 客户端工厂
- 所有构造函数接受 *zap.Logger 参数实现依赖注入
- 提交/取消成功记录 Info,API 错误记录 Error
- 完整 TDD 测试,使用 zaptest/observer 验证日志输出
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-04-10 08:39:46 +08:00