fix(#2869): inject FULLSEND_OUTPUT_SCHEMA into validation script env#2870
Conversation
Site previewPreview: https://fb73dffa-site.fullsend-ai.workers.dev Commit: |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
/review |
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
|
/fs-fix #2870 (comment) and #2870 (comment) |
|
🤖 Fix · |
When a harness uses validation_loop.schema, the schema path is resolved and available at h.ValidationLoop.Schema but was not injected into the validation script's environment. Extract a validationEnv helper that conditionally adds FULLSEND_OUTPUT_SCHEMA when the schema path is set, fixing validation failures for harnesses that rely on the new field instead of env.runner.FULLSEND_OUTPUT_SCHEMA. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f77f88c to
1c2514e
Compare
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
|
🤖 Finished Retro · ✅ Success · Started 12:44 AM UTC · Completed 12:52 AM UTC |
Retro: PR #2870 — inject FULLSEND_OUTPUT_SCHEMA into validation script envTimeline
AssessmentCode agent: excellent. Produced a clean, well-structured fix in 12 minutes with a helper function extraction and 3 targeted test cases. 88.9% patch coverage. Review agent: technically correct but lacked migration context. The duplicate env var finding was valid from a code quality standpoint, but the maintainer explained it's a planned transient state (phase 1 of a 3-phase migration). This triggered a Merge queue: major time sink. 5 ejections over 72 minutes due to e2e rate limiting, not related to the PR's changes at all. This is the primary improvement opportunity. Proposals filed
|
When a harness uses validation_loop.schema, the schema path is resolved and available at h.ValidationLoop.Schema but was not injected into the validation script's environment. Extract a validationEnv helper that conditionally adds FULLSEND_OUTPUT_SCHEMA when the schema path is set, fixing validation failures for harnesses that rely on the new field instead of env.runner.FULLSEND_OUTPUT_SCHEMA.
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Closes #2869
Post-script verification
fix-2869-validation-schema-env)5638def7e6d23e4d0b3e34a721394064be855c60..HEAD)