refactor(core): centralize prompt discovery in PromptLoader and cleanup AssertionEngine#44
Open
silkiy wants to merge 3 commits into
Open
refactor(core): centralize prompt discovery in PromptLoader and cleanup AssertionEngine#44silkiy wants to merge 3 commits into
silkiy wants to merge 3 commits into
Annotations
3 errors and 2 warnings
|
Test
Process completed with exit code 1.
|
|
Test:
packages/assertions/tests/judge/promptLoader.test.ts#L118
AssertionError: expected [Function] to throw error matching /declares input_variables \[response\]…/ but got 'declared.filter is not a function'
- Expected:
/declares input_variables \[response\] but never uses them/
+ Received:
"declared.filter is not a function"
❯ packages/assertions/tests/judge/promptLoader.test.ts:118:65
|
|
Test:
packages/assertions/src/promptManager/promptLoader.ts#L105
EvaliphyError: Prompt file not found at: /home/runner/work/evaliphy/evaliphy/packages/assertions/src/promptManager/prompts/testMatcher.md
❯ Function.load packages/assertions/src/promptManager/promptLoader.ts:105:13
❯ Function.resolveAndLoad packages/assertions/src/promptManager/promptLoader.ts:26:19
❯ packages/assertions/tests/judge/promptLoader.test.ts:81:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'FILE_NOT_FOUND', hint: undefined }
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Upload coverage report
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|
background
wait
wait-all
cancel
parallel
Loading