fix(data,runtime,drivers): REST 信封与 $search 字段集 (#4431, #4435, #4436, #4483) #11698
ci.yml
on: pull_request
filter
8s
Matrix: dogfood
Test Core
8m 19s
Temporal Conformance (live PG + MySQL)
4m 29s
Build Core
5m 24s
Build Docs
0s
Console Pin Gate
0s
Dogfood Regression Gate
5s
Annotations
10 errors
|
Dogfood Regression Gate (1/2)
Process completed with exit code 1.
|
|
Dogfood Regression Gate (1/2)
command (/home/runner/work/objectstack/objectstack/packages/qa/dogfood) /opt/hostedtoolcache/node/22.23.1/x64/bin/pnpm run test --shard=1/2 exited (1)
|
|
[isolated] test/rls-fixture.dogfood.test.ts > objectstack verify RLS: owner-isolated fixture (#1994 hard gate) > read-only-scoped member set (select only) — #1994 hole reproduced > rls_note is rls-hole — member cannot read it yet mutated it by id:
packages/qa/dogfood/test/rls-fixture.dogfood.test.ts#L109
AssertionError:
=== objectstack verify (RLS / #1994) — com.dogfood.rls_fixture ===
✓ rls_note [rls-consistent] member B cannot read (GET 404) and could not mutate (PATCH 404, row unchanged)
── 1 consistent, 0 HOLES, 0 member-visible, 0 skipped: expected 'rls-consistent' to be 'rls-hole' // Object.is equality
Expected: "rls-hole"
Received: "rls-consistent"
❯ test/rls-fixture.dogfood.test.ts:109:53
|
|
Dogfood Regression Gate
Process completed with exit code 1.
|
|
Dogfood Regression Gate
Dogfood shards did not pass (aggregate result: failure)
|
|
Test Core
Process completed with exit code 1.
|
|
Test Core
command (/home/runner/work/objectstack/objectstack/packages/objectql) /opt/hostedtoolcache/node/22.23.1/x64/bin/pnpm run test exited (1)
|
|
src/protocol-data.test.ts > ObjectStackProtocolImplementation - Data Operations > Optimistic Concurrency Control > updateData skips the check when expectedVersion is empty string:
packages/objectql/src/protocol-data.test.ts#L478
Error: Record r1 not found in task
❯ recordNotFoundError ../metadata-protocol/src/protocol.ts:334:17
❯ _ObjectStackProtocolImplementation.assertRecordExists ../metadata-protocol/src/protocol.ts:4815:30
❯ _ObjectStackProtocolImplementation.updateData ../metadata-protocol/src/protocol.ts:4756:9
❯ src/protocol-data.test.ts:478:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'RECORD_NOT_FOUND', status: 404, object: 'task' }
|
|
src/protocol-data.test.ts > ObjectStackProtocolImplementation - Data Operations > Optimistic Concurrency Control > updateData proceeds when expectedVersion matches current updated_at:
packages/objectql/src/protocol-data.test.ts#L427
AssertionError: expected "vi.fn()" to be called once, but got 2 times
❯ src/protocol-data.test.ts:427:40
|
|
src/protocol-data.test.ts > ObjectStackProtocolImplementation - Data Operations > Optimistic Concurrency Control > updateData proceeds when no expectedVersion is supplied (legacy callers):
packages/objectql/src/protocol-data.test.ts#L413
Error: Record r1 not found in task
❯ recordNotFoundError ../metadata-protocol/src/protocol.ts:334:17
❯ _ObjectStackProtocolImplementation.assertRecordExists ../metadata-protocol/src/protocol.ts:4815:30
❯ _ObjectStackProtocolImplementation.updateData ../metadata-protocol/src/protocol.ts:4756:9
❯ src/protocol-data.test.ts:413:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'RECORD_NOT_FOUND', status: 404, object: 'task' }
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
|
17 MB |
sha256:170a790497dcf7349547c79f3860fecaefe53c7e3d812150f4968578dc1761b6
|
|