Repository navigation
Keep 0.2–0.3.x extensions working; safer deploy and release workflows - #4
Merged
Merged
Conversation
- legacy-extension-v0: time-boxed tRPC adapter for extension versions >= 0.2.0 and < 0.4.0, converting the 9ee2cae wire protocol to and from the current procedures (vendored legacy schemas; lossy mappings documented). MINIMUM_SUPPORTED_EXTENSION_VERSION back to 0.2.0. Retire on 2026-12-01 or after 14 days with no 0.3.x traffic, whichever is later. - ExtensionVersionDailyCount (migration 0026): page views per extension version per UTC day, no viewer data; runbook SQL in README. - deploy.yml: `pulumi stack select` no longer creates missing stacks. - release-extension.yml: Chrome Web Store publishing is opt-in (PUBLISH_TO_CHROME_WEB_STORE), like Firefox AMO. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Keeps manually installed 0.2–0.3.x extensions working when the PR #3 API reaches production, and makes the deploy and release workflows safe for the rollout.
Changes
api/src/lib/trpc/legacy-extension-v0/). A time-boxed tRPC middleware for extension versions ≥ 0.2.0 and < 0.4.0. It parses the old (9ee2cae) wire format, runs the current procedures unchanged, and converts each response back, checking it against copied legacy schemas. Mappings:observedImageUrlsis dropped; the server now derives it from the image occurrences.investigationIdis stripped from old clients' responses.MINIMUM_SUPPORTED_EXTENSION_VERSIONgoes back to0.2.0.0026addsExtensionVersionDailyCount: page views per extension version per UTC day, with no viewer data. The README runbook has the SQL; PRIVACY.md and SPEC.md mention it.pulumi stack selectno longer uses--create. A token for the wrong Pulumi org now fails with a clear error instead of starting a fresh stack that would try to rebuild live resources.PUBLISH_TO_CHROME_WEB_STORE), like Firefox AMO, so taggingext-v0.4.0publishes a clean GitHub release while the store upload stays manual.Verification
test:ci:quality(coverage) on Node 22 all pass.🤖 Generated with Claude Code