Skip to content

Commit 2881f47

Browse files
committed
test(client): declare the nested-relation rest pin as a client test input
The census ledger row added for the rest pin names packages/rest/src/analytics-nested-relation-filter.test.ts: it pins that file's five producer reads of analytics.query. That makes it a real input of @objectstack/client's tests, so it is declared per-file in the client's cross-package input globs and mirrored into client#test's turbo inputs. A changed call count in the rest pin now re-runs the client suite. Claude-Session: https://claude.ai/code/session_01XY5uCwTjZj7884yYtyur4H Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7eb2ecf commit 2881f47

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎scripts/cross-package-test-inputs.mjs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,10 @@ export const CROSS_PACKAGE_TEST_INPUTS = {
748748
// `@objectstack/spec` already declares it verbatim, so Layer C reaches it
749749
// today. What stays uncovered stays recorded in that test's header.
750750
'scripts/**',
751+
// The census's hand LEDGER names this file: a NOT_SDK row pins its five
752+
// producer reads of `analytics.query`. A real input, so a changed call
753+
// count re-runs this suite.
754+
'packages/rest/src/analytics-nested-relation-filter.test.ts',
751755
],
752756
heldBy: {
753757
// `scripts/**` is rostered TODAY through the census's own

‎turbo.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@
174174
"$TURBO_ROOT$/scripts/check-route-envelope.mjs",
175175
"$TURBO_ROOT$/scripts/js-comment-mask.mjs",
176176
"$TURBO_ROOT$/scripts/js-comment-mask.d.mts",
177-
"$TURBO_ROOT$/scripts/**"
177+
"$TURBO_ROOT$/scripts/**",
178+
"$TURBO_ROOT$/packages/rest/src/analytics-nested-relation-filter.test.ts"
178179
]
179180
},
180181
"@objectstack/lint#test": {

0 commit comments

Comments
 (0)