PKUHPC / SCOW

Super Computing On Web
https://www.pkuscow.com/
Mulan Permissive Software License, Version 2
198 stars 44 forks source link

feat(mis): 增加允许改变作业时限的hook: allowChangeJobTimeLimit #1229

Closed tongchong closed 1 day ago

tongchong commented 4 months ago

增加改变作业时限的hook: allowChangeJobTimeLimit

功能:

当修改作业时限时,将cluster、limitMinutes、jobId、operatorUserId作为传参调用hook,可以由外部hook调用的服务来决定允许修改或者抛出错误。

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 29199d6f60f78fceb78df4606e11999730e7952d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages | Name | Type | | --------------------------- | ----- | | @scow/mis-server | Patch | | @scow/mis-web | Patch | | @scow/grpc-api | Patch | | @scow/protos | Patch | | @scow/lib-hook | Patch | | @scow/lib-operation-log | Patch | | @scow/lib-scheduler-adapter | Patch | | @scow/lib-server | Patch | | @scow/audit-server | Patch | | @scow/portal-server | Patch | | @scow/portal-web | Patch | | @scow/ai | Patch | | @scow/auth | Patch | | @scow/gateway | Patch | | @scow/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR