HYDI-35: Add Jira validator and config route phase-4 tests#32
Draft
kasperwelner wants to merge 3 commits intomainfrom
Draft
HYDI-35: Add Jira validator and config route phase-4 tests#32kasperwelner wants to merge 3 commits intomainfrom
kasperwelner wants to merge 3 commits intomainfrom
Conversation
Co-Authored-By: Oz <oz-agent@warp.dev>
|
The preview deployment for hyper-dispatch is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-05-11 14:04:08 CET |
Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements HYDI-35
Changes
src/validator/jira.test.tsfor board columns, workflow statuses, custom field checks (including skip mode), network/status failures, custom mapping normalization, andvalid = checks.every(c => c.passed)behavior.src/routes/config.test.tsfor critical config route paths: create validation and normalization, update token preservation/updates, skills discovery success/error paths, and/validatemapping passthrough.src/routes/config.tsbehavior to match tested contracts:POST /confignow returns400and re-renders form content when required fields are missing.POST /configandPOST /config/:projectKeynormalize Jira column overrides viaresolveJiraColumnMappings.POST /config/skillsis registered before/:projectKeyPOST route to avoid dynamic-route shadowing.docs/api.mdto reflect config route behavior and method/error semantics.Validation
npm test -- src/validator/jira.test.ts src/routes/config.test.tsnpm testnpm run test:coveragenpm run typechecksrc/validator/jira.ts: 86.48% statementssrc/routes/config.ts: 71.8% statementsCo-Authored-By: Oz oz-agent@warp.dev
Conversation: https://app.warp.dev/conversation/1e098a22-b8ce-43ea-bbd8-916bbe1d025a
Run: https://oz.warp.dev/runs/019e174d-e2fd-7e10-991a-06d599c726f3
This PR was generated with Oz.