Remove PUT /venue/:id once all callers use PATCH - #1038
Merged
JoshuaVSherman merged 2 commits intoAug 28, 2026
Conversation
…venue/:id once all callers use PATCH")
JoshuaVSherman
force-pushed
the
agy/991-remove-put-venue-id-once-all-callers-use
branch
from
August 28, 2026 09:44
f9bc3ee to
91d5d10
Compare
JoshuaVSherman
commented
Aug 28, 2026
JoshuaVSherman
left a comment
Contributor
Author
There was a problem hiding this comment.
PR Review Summary
✅ Approved
Must Fix Items
✅ None
Checklist Verification
- Mergeability: ✅ No conflicts with
dev. - Semver Bump: 🟡
package.jsonversion (2.11.10) does not strictly exceedorigin/dev's current tip (2.11.10) (see Suggestions). - Snyk: ✅ Clean.
- Scope: ✅ Matches linked issue #991.
- Package-Lock Engine Alignment: ✅ N/A (no engine changes).
- Test Plan: ✅ Concrete behavioral curl and unit test verification steps provided.
- Architectural Judgment: ✅ Clean removal of legacy
PUTroute; router test suite expanded to 100% coverage. - Guardrails: ✅ Clean.
🟡 Suggestions
- 🟡 Version bump —
package.json's version (2.11.10) does not strictly exceedorigin/dev's current tip (2.11.10) due to recent dev merges; rebase ontodevand bump to2.11.11before merge (Step 2 item 5).
Contributor
Author
PR Review Summary🛑 Changes Requested 🛑 Must Fix Items
|
…and bump version to 2.11.11 (web-jam-back#991)
JoshuaVSherman
marked this pull request as ready for review
August 28, 2026 09:52
JoshuaVSherman
deleted the
agy/991-remove-put-venue-id-once-all-callers-use
branch
August 28, 2026 09:56
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.
Summary
PUT /venue/:idroute fromsrc/model/venue/venue-router.ts, retainingPATCH /venue/:idas the honest partial-merge update verb (web-jam-back#991 "Remove PUT /venue/:id once all callers use PATCH").test/unit/venue/venue-router.spec.tsto assert thatPUT /venue/:idreturns 404 (route not found), whilePATCH /venue/:idcontinues to handle partial updates and address validations.test/unit/venue/venue-router.spec.tsto test all router endpoints (GET /venue,POST /venue,GET /venue/cities,GET /venue/:id,PATCH /venue/:id,DELETE /venue/:id,POST /venue/:id/touch), achieving 100% test coverage onvenue-router.ts.PUTfor venue updates insrc/model/venue/venue-controller.ts,src/model/venue/venue-schema.ts,test/unit/venue/normalize-address.spec.ts,test/unit/venue/venue-controller.spec.ts, andAGENTS.md.web-jam-back,JaMmusic, andweb-jam-toolsthat no active callers usePUT /venue/:id.package.jsonto 2.11.10.Closes #991
How to test locally
1. Automated Verification
Run the complete test suite and verify linting, typechecking, duplicate detection, and coverage:
2. Behavioral API Route Verification
Start the backend server (
npm startornpm run dev) and exercise the route changes with an authenticated admin/agent token:Verify
PUT /venue/:idreturns 404:Expected Result: HTTP 404 Not Found (route was removed).
Verify
PATCH /venue/:idupdates fields successfully:Expected Result: HTTP 200 OK with updated venue object.
Verify
PATCH /venue/:idenforces address immutability:Expected Result: HTTP 400 Bad Request (
address cannot be removed; supply a corrected address instead).Test evidence
🤖 Work by Antigravity — Gemini Flash (Medium)