Skip to content

to main - #1012

Merged
JoshuaVSherman merged 3 commits into
mainfrom
dev
Jul 29, 2026
Merged

to main#1012
JoshuaVSherman merged 3 commits into
mainfrom
dev

Conversation

@JoshuaVSherman

Copy link
Copy Markdown
Contributor

No description provided.

JoshuaVSherman and others added 3 commits July 29, 2026 03:00
JaMmusic#1250 — a 29-pitch batch silently skipped 6 venues with no
venueType/templateOverride/templateType because resolvePitch hard-400'd
instead of sending, and the skip report showed only Mongo ObjectIds so
Josh couldn't tell which venues failed.

- resolvePitch now falls back to DEFAULT_TEMPLATE_TYPE (MidRangeCafeBar,
  per Josh's decision on the issue) instead of erroring when
  templateType/templateOverride/venueType all resolve empty. The
  "no active template" guard still fails hard if even the default is
  missing/inactive.
- Every sendBatch skipped entry now carries venueName (never omitted;
  '(unknown venue)' when no venue doc could be loaded at all).

Bumps patch version 2.10.1 -> 2.10.2.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
JaMmusic#1250 — extends outreach-controller.spec.ts with:
- a venue with no templateType/templateOverride/venueType now resolves
  to DEFAULT_TEMPLATE_TYPE and sends instead of being skipped
- an explicit templateType, and venue.venueType, both still win over
  the default fallback (precedence guardrails)
- every sendBatch skipped entry carries venueName, including the
  UNKNOWN_VENUE_NAME placeholder when no venue doc could be loaded

Full `npm test` (eslint + jscpd + typecheck + vitest --coverage) green:
933/933 tests passing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…-fallback

should not skip should use a default template and send, please fix !!!!
@JoshuaVSherman
JoshuaVSherman merged commit a285b60 into main Jul 29, 2026
3 checks passed
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.

1 participant