Repository navigation
feat(examples): bring examples to parity with adk-python v0.1.0 - #931
Merged
Merged
Conversation
AmaadMartin
force-pushed
the
v0.1.0-examples
branch
from
September 23, 2026 16:42
40e6cb2 to
f2ad904
Compare
kalenkevich
approved these changes
Sep 23, 2026
Merged
prasanna8585
pushed a commit
to prasanna8585/adk-js
that referenced
this pull request
Nov 10, 2026
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.
Brings the
examplessubsystem up to adk-pythonv0.1.0: 2 modules, their ported tests, one guide and one sample.13 files, 680 insertions, 20 deletions.
core/src/examples/core/test/examples/docs/guides/examples/index.mdsamples/examples/README.mdModules
v0.1.0moduleexample_util.pyvertex_ai_example_store.pyOne feature, so one guide (
docs/guides/examples/index.md) and one sample (samples/examples/README.md).Interface discrepancies
Only what is not a direct translation; same member in camelCase with the same
meaning is omitted, and that is most of the surface.
Reaches a caller
example_utilv0.1.0surface + camelCase/snake_case aliases oncore/src/examples/example_util.tsadk-jscallers onmainwhile exposing theadk-pythonv0.1.0interface.vertex_ai_example_storev0.1.0surface + camelCase/snake_case aliases oncore/src/examples/example.tsadk-jscallers onmainwhile exposing theadk-pythonv0.1.0interface.Not a caller-visible difference
Both camelCase and snake_case method aliases are exported on new and updated
classes so callers following either convention resolve cleanly without breaking
existing
adk-jsimports.Merge decisions
Shared barrel exports were settled once, after every module was in place, yielding 0 file merge conflicts.
examplesmodulescore/src/examples/index.tsandcore/src/index.ts.Deletions
20 lines across 7 files; no file on
mainis deleted.common.tsv0.1.0parity; no public symbol or test removedbase_example_provider.tsexample.tsv0.1.0parity; no public symbol or test removedexample_util.tsexample_tool.tsexample_util_test.tsexample_tool_test.tsEvidence
Verified on this exact commit (the reviewed change squashed onto current
main):npx vitest run core/test/examples core/test/toolsbash scripts/check_license.shnpm run buildThe sample in
samples/examples/was not run as part of this verification.What a reviewer should decide
v0.1.0parity surface: All new classes and methods are exported alongsidemain's existing signatures so no downstream callers break.