salvage 2026-11-06: uncommitted work from src/mosaic-stack-rocko-171-r2 (disk cleanup #824)
This commit is contained in:
1 parent
d58c9c5cda
commit
f0ea748e37
11 files changed
+136
-9
No files matched your search
@@ -90,6 +90,7 @@ const STATUS = {
|
||||
// Row 148: the spec and docs editor. A stale base, a busy or dirty repository and an unchanged
|
||||
// file are the user's to resolve by reloading; a path or content the project refuses is a 400.
|
||||
'stale-base': 409, 'project-busy': 409, 'project-dirty': 409,
|
||||
'project-name-is-repo': 409,
|
||||
'project-record-unchanged': 400, 'project-record-path': 400, 'project-record-invalid': 400,
|
||||
'project-read-path': 400, 'project-not-declared': 400, 'project-read-missing': 404, 'project-not-configured': 503,
|
||||
// Row 155 (#1649): the assistant's settings, seat names and stop. A name in use or no run to stop
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { busStatus } from '../src/bus.mjs';
|
||||
|
||||
test('a repository-name project refusal is an HTTP conflict', () => {
|
||||
assert.equal(busStatus('project-name-is-repo'), 409);
|
||||
});
|
||||
Reference in new issue
Block a user