Skip to content

feat: waitlist via upload - #12

Merged
blimmer merged 1 commit into
mainfrom
fix/upload-owner-email-contract
May 26, 2026
Merged

feat: waitlist via upload#12
blimmer merged 1 commit into
mainfrom
fix/upload-owner-email-contract

Conversation

@blimmer

@blimmer blimmer commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

The upload presign endpoint changed its contract in contextbridge/patchwave#8: it dropped the legacy identifier/kind fields in favor of separate owner and email, and now rejects unknown keys (.strict()). This updates the client to match — threading the scanned target through as owner, renaming identifieremail across the share flow and Uploader, and dropping the kind: 'html' field. Without it, uploads from a freshly built binary would 400 against the updated contract.

Review focus

We deliberately did not extract a shared Zod schema across the two repos. The schema is five fields, the repos have no shared-package plumbing, and client-side runtime validation of a self-constructed body buys little — only a shared type would catch a server rename, and that's a compile-time concern. We accepted the manual sync here; flag it if you'd rather invest in a contract test or shared package now.

Commits

  • 09a7c69 — fix: send owner and email with report uploads

The presign endpoint dropped the legacy identifier/kind fields in favor
of separate owner and email, and now rejects unknown keys (.strict()).
Update the client to match: thread the scanned target through as owner,
rename identifier to email everywhere, and stop sending kind:'html'.
Without this, uploads from a fresh binary would 400 against the updated
contract.

See contextbridge/patchwave#8 for the server-side change.
@blimmer blimmer changed the title fix: send owner and email with report uploads feat: waitlist via upload May 26, 2026
@blimmer
blimmer marked this pull request as ready for review May 26, 2026 16:51
@blimmer
blimmer merged commit b2050e3 into main May 26, 2026
8 checks passed
@blimmer
blimmer deleted the fix/upload-owner-email-contract branch May 26, 2026 16:51
jcarver989 pushed a commit that referenced this pull request May 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.0](v0.0.1...v0.1.0)
(2026-05-26)


### Features

* add interactive prompts and report sharing
([#4](#4))
([23e8543](23e8543))
* bootstrap repo
([57653df](57653df))
* CLI entrypoint and project docs
([073dccb](073dccb))
* core infrastructure — Context, IO, GitHub client, analytics
([edd14ac](edd14ac))
* data collectors and dependency-bump heuristics
([2ef4ad3](2ef4ad3))
* React report web UI and build script
([00dd2ec](00dd2ec))
* refocus the report on engineer toil and polish the UI
([#9](#9))
([ae6853f](ae6853f))
* report aggregation, cost model, bundling, and HTML render
([376adb8](376adb8))
* waitlist via upload
([#12](#12))
([b2050e3](b2050e3))


### Bug Fixes

* allow setting numberstepper directly
([367beb8](367beb8))
* double counting reviewers and mergers
([2cfa24e](2cfa24e))
* exclude bot actors from the cost table and forked repos from the
analysis
([#10](#10))
([7ce42f0](7ce42f0))
* improved sources
([#13](#13))
([010a11a](010a11a))
* streamline CLI share prompts
([#11](#11))
([066465c](066465c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: contextbridge-pr-automation[bot] <259134118+contextbridge-pr-automation[bot]@users.noreply.github.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.

1 participant