fix(protocol): persist versionless package installs; drop sys_packages on delete #7720
ci.yml
on: pull_request
filter
5s
Test Core
5m 31s
Dogfood Regression Gate
6m 34s
Build Core
4m 53s
Build Docs
0s
Check Skill Docs
0s
Annotations
4 errors
|
Test Core
Process completed with exit code 1.
|
|
Test Core
@objectstack/objectql#test: command (/home/runner/work/framework/framework/packages/objectql) /opt/hostedtoolcache/node/20.20.2/x64/bin/pnpm run test exited (1)
|
|
src/protocol-package-lifecycle.test.ts > protocol.duplicatePackage (ADR-0070 D4) > clones items into a new package, re-namespacing names AND rewriting references:
packages/objectql/src/protocol-package-lifecycle.test.ts#L149
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
- ObjectContaining {
+ {
"id": "app.iojn2",
+ "name": "Repair (copy)",
"namespace": "iojn2",
"scope": "environment",
+ "type": "application",
+ "version": "1.0.0",
},
+ undefined,
]
Number of calls: 1
❯ src/protocol-package-lifecycle.test.ts:149:32
|
|
src/protocol-install-package.test.ts > protocol.installPackage (ADR-0033 consolidation) > skips persistence when the manifest has no version (cannot key sys_packages):
packages/objectql/src/protocol-install-package.test.ts#L92
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
Object {
"manifest": Object {
"id": "app.nov",
"name": "NoVer",
"type": "application",
"version": "0.1.0",
},
"metadata": Object {},
},
]
Number of calls: 1
❯ src/protocol-install-package.test.ts:92:25
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
|
10.4 MB |
sha256:32c14d476388dd6f4cf224046eda79b710b484d48f01088413cf9ea4e5251005
|
|