Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 3 additions & 27 deletions lib/Settings/keepiq_register.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"openapi": "3.0.0",
"info": {
"title": "Keepiq Register",
"description": "Register containing all schemas for the Keepiq application.",
"version": "0.1.1"
"description": "Register containing all schemas for the Keepiq application. v0.2.0 retires the scaffold `example` schema, which was the only entry. Shillinq shipped the same placeholder and slugs are global on a shared OpenRegister. Keepiq keeps its secrets in its own lib/Db tables rather than as OpenRegister objects, so it declares no schemas and no registers.",
"version": "0.2.0"
},
"x-openregister": {
"type": "application",
Expand All @@ -14,31 +14,7 @@
"paths": {},
"components": {
"schemas": {
"example": {
"slug": "example",
"icon": "FileDocumentOutline",
"version": "0.1.1",
"title": "Example",
"description": "Import canary. Keepiq stores its secrets in its own tables (lib/Db), not as OpenRegister objects, so this is the only schema in the descriptor — and tests/e2e/ci-seed.sh asserts it is present after import, which is what proves the OpenRegister import path actually ran. Do not delete it without moving that assertion to a real schema first.",
"type": "object",
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"title": "Title",
"description": "The title of the example object",
"example": "My example"
},
"description": {
"type": "string",
"title": "Description",
"description": "An optional description",
"example": "This is an example"
}
}
}

}
}
}
14 changes: 7 additions & 7 deletions tests/e2e/ci-seed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -312,15 +312,15 @@ elif kind == 'registers':
print(f'[ci-seed] openregister registers present: {sorted(s for s in slugs if s)}')

elif kind == 'schemas':
required = ['example']
# REPORTED, NOT ASSERTED — for the same reason as `registers` above.
# lib/Settings/keepiq_register.json now declares no schemas at all.
# It used to carry the scaffold's `example` placeholder, which was
# asserted here as an import canary; that slug collided with shillinq's
# copy of the same placeholder on a shared OpenRegister, and Keepiq
# keeps its secrets in its own lib/Db tables rather than as OpenRegister
# objects, so there was never a real schema to put in its place.
slugs = {field(i, 'slug') for i in items}
print(f'[ci-seed] openregister schemas present: {sorted(s for s in slugs if s)}')
missing = [s for s in required if s not in slugs]
if missing:
print(f'::error::Keepiq schemas missing from OpenRegister after import: {missing}. '
'The register descriptor did not apply — check the import response above.')
sys.exit(1)
print('[ci-seed] schemas OK.')
PY
}

Expand Down
Loading