aglinxinyuan opened a new pull request, #7190:
URL: https://github.com/apache/texera/pull/7190
### What changes were proposed in this PR?
Adds isolated unit coverage for agent system-prompt composition from
workflow metadata. The tests exercise allowlist filtering, language-specific
UDF guidance, the default all-operator path, and the missing-operator fallback.
### Any related issues, documentation, discussions?
Closes #7187
### How was this PR tested?
- `bun test src/agent/prompts.spec.ts` — 4 passed.
- `bun run typecheck`
- `bunx prettier --check "src/**/*.{ts,js,json}"`
Mutation proof (each production change was reverted):
| Production mutation | Focused test result |
| --- | --- |
| Inverted non-empty allowlist selection | 3 failed |
| Omitted operator descriptions | 1 failed |
| Changed the no-operators fallback message | 1 failed |
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex (GPT-5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]