Skip to content

feat: adding client side bootstrap tests - #462

Merged
joker23 merged 3 commits into
v3from
skz/sdk-2834/bootstrap-tests
Oct 8, 2026
Merged

joker23 merged 3 commits into
v3from
skz/sdk-2834/bootstrap-tests

Conversation

@joker23

@joker23 joker23 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Note

Overview
Adds client-side bootstrap contract testing: a new "bootstrap" capability, clientSide.bootstrap in the service spec (including $flagsState / $valid behavior), and wiring on SDKConfigClientSideParams.

Introduces sdktests/client_side_bootstrap.go with a payload builder and subtests for offline evaluation, init without network, metadata in analytics events, null values, $valid: false, legacy payloads without $flagsState, and replacement by the first live synchronizer payload. The client-side suite registers these tests when the capability is declared.

Also fixes mockld.StreamingService.makeXferFull to hold the read lock for the full method via defer RUnlock.

Reviewed by Cursor Bugbot for commit 434d722. Bugbot is set up for automated code reviews on this repo. Configure here.

@joker23
joker23 requested a review from a team as a code owner September 21, 2026 18:35

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

cursor[bot]

This comment was marked as resolved.

@joker23
joker23 force-pushed the skz/sdk-2834/bootstrap-tests branch from 2a761ee to 756c89a Compare September 21, 2026 21:05
Comment thread mockld/streaming_service.go Resolved

@tanderson-ld tanderson-ld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Respond or address @kinyoklion 's comment.

@joker23
joker23 force-pushed the skz/sdk-2834/bootstrap-tests branch from b9c8daa to 434d722 Compare October 8, 2026 13:47
@joker23
joker23 merged commit 9c1810d into v3 Oct 8, 2026
7 checks passed
@joker23
joker23 deleted the skz/sdk-2834/bootstrap-tests branch October 8, 2026 14:01
joker23 pushed a commit that referenced this pull request Oct 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[3.2.0-alpha.11](v3.2.0-alpha.10...v3.2.0-alpha.11)
(2026-10-08)


### Features

* adding client side bootstrap tests
([#462](#462))
([9c1810d](9c1810d))
* Port client-side prerequisite cycle detection tests to v3
([#473](#473))
([7e65a58](7e65a58))
* port client-side streaming retry contract tests to v3
([#475](#475))
([f968442](f968442))


### Bug Fixes

* Verify all-items reads for empty and single-item collections
([#466](#466))
([489a780](489a780))
* Verify SDKs read all three persistent-store tombstone shapes
([#484](#484))
([a9a0696](a9a0696))

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

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Overview**
> **Release 3.2.0-alpha.11** — automated version bump only:
`.release-please-manifest.json`, `versionString` in `main.go`, and a new
`CHANGELOG.md` section.
> 
> The changelog documents what ships in this alpha: **new contract
coverage** for client-side bootstrap, prerequisite cycle detection
(ported to v3), and streaming retry behavior; plus **harness fixes** for
all-items reads on empty/single-item persistent-store collections and
for all three persistent-store tombstone shapes.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
1a2073d. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: github-actions[bot] <41898282+github-actions[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.

3 participants