Using the workspace
Duties: how much Dus does on its own
For shipping, hosting and watching, choose how much Dus does on its own, from drafts only to acting and then telling you. Dus suggests a change only when its record supports it.
Dus does several jobs for a project. For each one you choose how far it goes on its own. Open Settings → Duties.
| Duty | Drafts only | Within limits | On its own |
|---|---|---|---|
| Ship | Dus opens pull requests; you merge them. | Dus asks you before each merge into the main branch. This is where every project starts. | Dus merges pull requests whose checks and branch rules pass, then tells you. |
| Host | Dus prepares the deploy plan; you start it. | Dus deploys with health checks and rolls back by itself. | Not offered. |
| Watch | Dus watches and tells you; it changes nothing. | Dus may restart and roll back under your standing orders; anything else asks you. | Dus may also prepare and ship a fix, through the checks, then tells you. |
What never changes
Choosing On its own never skips a safety step:
- the checks on the exact change and on the merge result;
- your branch rules, required checks and reviews;
- the health checks and the automatic rollback;
- your budgets.
Anything that costs money, a first deploy to a new place and database changes always ask you, whatever the level. That is why Host has no On its own.
Dus suggests, you decide
Dus looks at its own record for the last 30 days: changes it merged that were verified on the main branch, changes that had to be reverted, deploys that failed or were rolled back, and incidents it resolved. Then it may suggest a change, under that duty. For example:
Dus has merged 20 changes in the last 30 days, each verified on the main branch, with nothing reverted. Let Dus merge pull requests whose checks pass, and tell you after?
It also suggests stepping back. A reverted change or a broken main branch suggests asking before each merge again. Two failed or rolled-back deploys suggest drafts only for Host.
Nothing changes until you choose Yes, change it. Not now keeps that suggestion quiet for 30 days. Every change is recorded with when it happened and whether it came from you or from a suggestion.
Watch with several systems
Watch's level applies to every watched system in the project. If your systems have different levels, Duties says so, and choosing one sets them all.