Skip to content

AI-603 Backend Unit Tests - #18

Merged
dbarkowsky merged 20 commits into
developfrom
AI-603
Dec 24, 2025
Merged

AI-603 Backend Unit Tests#18
dbarkowsky merged 20 commits into
developfrom
AI-603

Conversation

@dbarkowsky

@dbarkowsky dbarkowsky commented Dec 22, 2025

Copy link
Copy Markdown
Collaborator

Summary

AI-603
A child of AI-438

Changes

  • Added additional jest configuration options (coverage threshold, exceptions, etc.)
  • Added spec.ts files containing unit tests
  • Updated workflow to use the coverage command

Testing

  • Run npm run test:cov from the backend-services folder to see the coverage report.

Checklist

By submitting this pull request, I acknowledge that I have attempted to meet the following:

  • a self-review of my code
  • commented code particularly in hard-to-understand areas
  • corresponding changes to the documentation where required
  • changes tested to the best of my ability
  • no new errors or non-functional code

@dbarkowsky dbarkowsky self-assigned this Dec 22, 2025
@dbarkowsky
dbarkowsky marked this pull request as ready for review December 22, 2025 21:25
@dbarkowsky
dbarkowsky merged commit 3b6efcd into develop Dec 24, 2025
1 check passed
@dbarkowsky
dbarkowsky deleted the AI-603 branch December 24, 2025 20:01
dbarkowsky added a commit that referenced this pull request Jan 6, 2026
alex-struk added a commit that referenced this pull request Jun 23, 2026
… source-producer picker

Review findings #18, #19, #20, #21 (PR 3 — typed I/O):
- #18: isAssignable compares array nesting depth, so T[][] no longer assigns to T[].
- #19: unrecognised kind strings fail closed (a typo no longer wildcards a port);
  only the intended wildcard/Artifact convention stays permissive.
- #20: the variable picker enumerates source.upload/source.api producers, matching
  the backend validator so its compatibility grouping agrees with save-time checks.
- #21: library-compat checks every declared input, not just inputs[0]
  (LibraryPortDescriptor has no `required` flag — documented in code).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants