Skip to content

[OND211-2418] Merge feature branch to master (CSI proto regen, nlu-client 7.0.2, keycloak) - #25

Merged
ondewo-jenkins merged 10 commits into
masterfrom
OND211-2418-add-keycloak-for-2-fa
Aug 12, 2026
Merged

[OND211-2418] Merge feature branch to master (CSI proto regen, nlu-client 7.0.2, keycloak)#25
ondewo-jenkins merged 10 commits into
masterfrom
OND211-2418-add-keycloak-for-2-fa

Conversation

@ondewo-jenkins

Copy link
Copy Markdown
Contributor

Merges the remaining OND211-2418-add-keycloak-for-2-fa work into master (9 commits ahead,
14 behind). master was merged into the branch first.

What this brings

  • Proto regenerationCALL_ENDED control status for the persistent-listener reset, plus
    the OND235-105 barge-in control statuses and turn epoch.
  • ondewo-nlu-client==7.0.2 — 7.0.1 keyed its shared Keycloak token-provider registry by
    id(config), so a collected ClientConfig's reused address could hand a new client the
    previous user's provider and authenticate as the wrong user. 7.0.2 keys by a sha256 of the
    credential set.
  • types-requests in the dev extra, and CLAUDE.md notes.

Conflict resolution

The branch predates master's uv/pyproject migration, so there were four conflicts:

file resolution
requirements.txt / requirements-dev.txt deleted on master (deps live in pyproject.toml). Took the deletion and carried both branch intents across: ondewo-nlu-client==7.0.2 pinned in [project.dependencies], types-requests added to the dev extra. Relocked — uv.lock: nlu-client 6.14.0 → 7.0.2, types-requests added.
ondewo-csi-api submodule branch's b4f8319 (2026-08-06), which strictly contains master's 8213619 (2026-07-05) — nothing dropped.
CLAUDE.md append-vs-append; both sides' sections kept in order. The branch's section still described the pre-uv layout, so requirements.txt declares ondewo-nlu-client==7.0.1 was reconciled to pyproject.toml declares ondewo-nlu-client==7.0.2.

ruff check, mypy and all 54 unit tests pass on the merge result.

teddius added 10 commits July 12, 2026 17:16
… nlu protos

Verified against the installed .dist-info/RECORD: ondewo-csi-client claims zero
files under ondewo/nlu and instead declares ondewo-nlu-client 7.0.1 as a runtime
dependency. That is the opposite of ondewo-vtsi-client, which vendors 55
ondewo/nlu files plus ondewo/{s2t,t2s,sip,qa} and therefore does need lockstep
regeneration. Recorded so nobody 'helpfully' adds vendored nlu protos here and
creates the duplicate-file-in-pool crash the current layout avoids.

Also notes that consumers pin this repo by git rev (23b568f today), so pushed
commits must never be rebased.
7.0.1 keyed its shared Keycloak token-provider registry by `id(config)`. A
ClientConfig is unreachable the moment the client is built (the service
interfaces keep only the grpc channel), so CPython reused its address for the
next ClientConfig and the registry handed the new client the PREVIOUS user's
still-live provider -- authenticating as the wrong user, including with
credentials that do not exist. 7.0.2 keys it by a sha256 of the credential set.

The `==7.0.1` here is a generation artifact, not a real API constraint:
diffing the two wheels shows `ondewo/nlu/utils/keycloak.py` as the only file
that changed, no `_pb2` at all, so the ondewo-nlu-api generation this client
was regenerated against (7.0.0) is unchanged.

Unblocks the ondewo-nlu-client 7.0.2 bump in ondewo-csi, which could not
resolve while this exact pin stood.
The branch predates master's uv/pyproject migration, so four conflicts:

- requirements.txt / requirements-dev.txt: deleted on master (deps moved to
  pyproject.toml). Took the deletion and carried both of the branch's intents
  across: ondewo-nlu-client is now pinned ==7.0.2 in [project.dependencies] and
  types-requests added to the dev extra. Relocked (uv.lock: nlu-client
  6.14.0 -> 7.0.2, types-requests added).
- ondewo-csi-api submodule: resolved to the branch's b4f8319 (CALL_ENDED control
  status, 2026-08-06), which strictly contains master's 8213619 (2026-07-05).
- CLAUDE.md: append-vs-append; both sides' sections kept in order. The branch's
  section still described the pre-uv layout, so its 'requirements.txt declares
  ondewo-nlu-client==7.0.1' was reconciled to 'pyproject.toml declares
  ondewo-nlu-client==7.0.2'.

ruff, mypy and all 54 unit tests pass on the merge result.
@ondewo-jenkins
ondewo-jenkins merged commit 2796b57 into master Aug 12, 2026
2 checks passed
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.

2 participants