GeezerVison is showing github.com — fix(agency): bind the existing technical service identity by Storypapst · Pull Request #416 · OpenResilienceInitiative/ORISO-Helm
Conversation
Storypapst
commented
Oct 7, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fresh counsellor onboarding stops before account creation because AgencyService cannot recognize the new restricted internal login. This companion chart change supplies its existing client name and exact service subject and restarts AgencyService when either binding changes.
Refs #415
Part of #367; blocks fresh-user acceptance in OpenResilienceInitiative/ORISO-Frontend#1622.
What happened
Merged #410 prepared the restricted service identities. AgencyService needs the same binding used by the repaired bearer-token handling. The current Dev registration fails while checking Selma Bouvier's counselling centre; no product user was created.
What we need to do
Review this together with OpenResilienceInitiative/ORISO-AgencyService#332, the AgencyService companion. After both are merged, deploy the compatible service image and only the AgencyService configuration and Deployment. The walkthrough and practice flags are already enabled on Dev.
For developers — scope and local validation:
Only three files changed, 47 additions.
IDENTITY_TECHNICAL_CLIENT_ID <- global.keycloak.backendTechnicalClientId
TECHNICAL_SERVICE_SUBJECT <- global.keycloak.serviceTechUserId
Both values are existing nonsecret identity bindings.
Missing/invalid bindings fail rendering; identity changes update the pod checksum.
No new secret, profile scope, mapper, role grant or unrelated workload change.
143 unit tests and 46 render-contract scripts passed.
The unit suite used the CI-pinned ORISO-Docs source18d7fe0bf52028bb554ec7c3d209a2ae367219ce.
Targeted contract was red before the template change and green afterward.
git diff --check passed.
Independent Matt Standards:0 remaining findings across both companions.
Independent Matt Spec:0 findings across both final companion diffs.
How to test it quickly
- Run the chart contracts → both bindings are present, invalid values fail and changing either binding updates the rollout annotation.
- Inspect the Secret and Frontend comparison → these resources retain their existing contracts.
- After the compatible AgencyService companion is merged, deploy both changes on Dev → the existing fresh invitation passes its counselling-centre check.
- Continue Selma's normal account setup and login → capture the account used and Help screenshots. Credentials belong in Dreambau Testmails, never in this PR.
What else is still open
Fresh account creation, managed2FA, normal login and tutorial screenshots are pending the reviewed deployment. Local chart checks do not prove those outcomes. Human review and merge are required before the Dev rollout.
Summary by CodeRabbit
- Configuration
- AgencyService now uses the configured Keycloak technical client and service identity. Both values must be provided, and the service identity must be a valid UUID; deployments with missing or invalid values will fail to render.
- Changes to either identity setting trigger an AgencyService pod update. These settings do not alter backend secrets or the frontend deployment.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-07T17:35:21.147760Z |
b05c09c |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 7, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
- Configuration used: Repository: OpenResilienceInitiative/ORISO-Helm/.coderabbit.yaml
- Review profile: ASSERTIVE
- Plan: Team
- Run ID:
981a76da-e6e2-4ab1-8087-d42f897cfad5
📥 Commits
Reviewing files that changed from the base of the PR and between 03cdb2e and b05c09c.
📒 Files selected for processing (3)
templates/agencyservice/agencyservice-configmap-env.yaml
templates/agencyservice/agencyservice-deployment.yaml
tests/render_backend_service_clients_test.py
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.
📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
- GitHub Check: Render, unit, and guardrail tests
🧰 Additional context used
📓 Path-based instructions (2)
Values must be environment-driven — never hardcode a host, IP or credential in a template.
⚙️ CodeRabbit configuration file
Files:
templates/agencyservice/agencyservice-deployment.yaml
templates/agencyservice/agencyservice-configmap-env.yaml
For Helm chart template or `values.yaml` changes, validation passes only when the PR demonstrates that the chart still lints, renders, and packages, or that the equivalent CI job succeeds.
📄 CodeRabbit inference engine (Custom checks)
Files:
templates/agencyservice/agencyservice-deployment.yaml
templates/agencyservice/agencyservice-configmap-env.yaml
🪛 ast-grep (0.45.3)
tests/render_backend_service_clients_test.py
[error] 33-33: Avoid HTML built in strings
Context: render('--set-string', override)
Note: [CWE-79] Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
(html-string-from-parameters)
[error] 48-48: Avoid HTML built in strings
Context: render('--set-string', override)
Note: [CWE-79] Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
(html-string-from-parameters)
🔇 Additional comments (4)
templates/agencyservice/agencyservice-configmap-env.yaml (2)
6-9: LGTM!
Also applies to: 27-28
5-5: 📐 Maintainability & Code Quality
Confirm a successful chart-validation run.
.github/workflows/validate-helm-chart.yml runs helm lint and helm package for pull requests. The available results show the workflow definition but not a successful run. Provide the successful CI result before merge.
templates/agencyservice/agencyservice-deployment.yaml (1)
14-15: LGTM!
Also applies to: 58-67
tests/render_backend_service_clients_test.py (1)
22-49: LGTM!
📝 Walkthrough
Walkthrough
AgencyService now receives a required technical client ID and UUID-formatted service subject from its environment ConfigMap. Changes to either value update the pod-template checksum. Rendering tests cover valid overrides and invalid configurations.
Changes
AgencyService identity configuration
| Layer / File(s) |
Summary |
Validate and emit identity values templates/agencyservice/agencyservice-configmap-env.yaml |
The template requires the technical client ID and service subject. It validates the subject format and emits both values as quoted environment entries. |
Configure pod and verify rendering templates/agencyservice/agencyservice-deployment.yaml, tests/render_backend_service_clients_test.py |
The Deployment reads both values from the ConfigMap, and its pod-template checksum includes them. Tests cover overrides, invalid values, and the absence of the backend secret from the container environment. |
Priority: ⬆️ High
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Merge Risk: ⚪ Minimal · up to b05c0
The chart configuration passes validation for this head, with no established merge-blocking issue. End-to-end onboarding still awaits Dev verification before rollout.
🚥 Pre-merge checks | ✅ 5 | ❌ 1
❌ Failed checks (1 warning)
| Check name |
Status |
Explanation |
Resolution |
| Docstring Coverage |
⚠️ Warning |
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 … |
Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (5 passed)
| Check name |
Status |
Explanation |
| Linked Issues check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
✅ Passed |
Check skipped because no linked issues were found for this pull request. |
| Validation Evidence |
✅ Passed |
The PR provides the required validation path. The pull-request validation job runs helm lint, helm package, and all tests/render_*_test.py render contracts. The PR description reports that the u… |
| Description Check |
✅ Passed |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
✅ Passed |
The title uses the conventional fix prefix, names the affected agency chart area, and describes the technical service identity binding change. |
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)
- Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
- Commit to this branch
- Create a new PR
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 7, 2026
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
shazia-k
shazia-k approved these changes
Shirloin
Awaiting requested review from Shirloin
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|