Repository navigation
Conversation
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
The connector host no longer reads a start-sequence record that holds only a version, and the comments that rested on unchecked claims about outside systems now name what was read or measured on 2026-12-04. No connector behavior changes.
Closes #497
Closes #498
Closes #500
Changes
host/src/start-sequence.ts: removes the bare-version branch ofreadMintRecord. Such a record now reads as lost, like any record that cannot be parsed.host/test/supervisor.test.tsgains a case for it, and two tests that wrote a bare version as a valid record now write the JSON record.kit/src/thumbnails.tsand its test: the CMYK/YCCK claim is checked and the heap of thejpeg-jsfallback is measured (below). A new test pins that@jsquash/jpegstill refuses the four-ink fixtures, so a later version that can read them fails it and shows the fallback can go.maxInkJpegPixelsstays at 16,000,000.connectors/google-calendar/src/api.ts,write.ts: cite Google's errors guide and conditional-modification guide for the 409 and 412 answers; the 400 is marked as undocumented.connectors/todoist/src/todoist.ts: cite the Command UUID and completed-tasks pages.connectors/github/src/transfer.ts,read.tsandscripts/proof/github-stub.ts: cite what GitHub documents about a transfer and name what is assumed.Testing
host/test/supervisor.test.ts(58 tests) andkit/test/thumbnails.test.ts(68 tests) pass. The new bare-version case fails onmain'sstart-sequence.tsand passes with the change.pnpm build,pnpm typecheck, eslint on every touched file,prettier --check .andscripts/check-comments.tspass.jpeg-js0.4.4,@jsquash/jpeg1.6.0, CMYK/YCCK JPEGs made with ImageMagick, 4:4:4): mozjpeg refuses the repository's CMYK and YCCK fixtures with "Unsupported color conversion request". Ajpeg-jsdecode peaks at about 13 bytes a pixel: 208 MB at 16 MP (4000 by 4000) and 323 MB at 25 MP, and the 16 MP decode fails under--max-old-space-size=192and passes under 224. Under the host's 512 MB heap the 16 MP cap leaves about 2.4 times headroom, so it stays. The pinned Node 26.14.0 was not installed here, so the numbers come from 26.13.1.Notes for reviewers
Verdicts for the issues that stay open:
409(duplicate, "an instance with the given ID already exists") and412(conditionNotMet, for a staleIf-Match, including delete). They do not say a deleted event's id answers409, thoughevents.getalways returns a cancelled event, and they do not nameevents.move. They say nothing about a400for restoring a piece of a split series. That400needs a live check with a test calendar.ok, UUIDs are kept at least 14 days, and the completed-tasks endpoint takes a range of up to 3 months. The 84-day window fits.301on the old issue address, comments being kept, theTransferredEventand theissues.transferreddelivery. REST lists only404for an old comment address, which matches what the code does (it asks the issue, not the comment). Not documented: that comment copies get new nodes and keep their old times, and how long the new issue lags before itsTransferredEventappears (transferWindow). Those need a live transfer between two test repositories.Review depth: comments, one removed branch and one pinning test. Light review.
Checklist