live-tip-20260606175948-config-validation-unknown-key-rejection: Strict config validation benchmark #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260606175948-config-validation-unknown-key-rejection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Assigned idea
config validation: Strict config validation benchmark
Approach: Edit task/instruction.md and add a regular benchmark with slug live-tip-20260606175948-config-validation-unknown-key-rejection. Require config validation to reject unknown keys and only accept normalized values for known config fields.
Verification: test -f task/instruction.md && grep -Fq 'live-tip-20260606175948-config-validation-unknown-key-rejection' task/instruction.md
test -f src/config/validate.ts && grep -Fq 'configSchema' src/config/validate.ts && grep -Fq '.strict()' src/config/validate.ts
test -f test/benchmark/config-validation.spec.ts && grep -Fq 'reject unknown keys' test/benchmark/config-validation.spec.ts && grep -Fq 'applies default values' test/benchmark/config-validation.spec.ts
Risk: Live smoke generated task; validate by PR diff and gate result.
Required smoke edit: update task/instruction.md with live-tip-20260606175948-config-validation-unknown-key-rejection.
Agent context
Task slug: live-tip-20260606175948-config-validation-unknown-key-rejection
Branch: task/live-tip-20260606175948-config-validation-unknown-key-rejection
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.