Upgrade to latest Ruby, Keycloak, and OmniAuth versions #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — discovered during initial pal-enterprises scaffold and deploy.
Repo
ldraney/pal-enterprisesUser Story
As a platform owner
I want all core dependencies at their latest stable versions
So that pal-enterprises starts on a current foundation without accumulating tech debt from day one.
Context
During initial scaffold we used Ruby 3.4.8 (system default), OmniAuth 1.9.2 (pulled by omniauth_openid_connect), and the cluster runs Keycloak 26.0.7. All have newer stable releases:
Ruby 4.0 is a major version — gem compatibility must be verified. Keycloak 26.6 is a minor bump but the upgrade guide should be reviewed. OmniAuth 2.x changed CSRF defaults (handled by omniauth-rails_csrf_protection gem).
File Targets
Files the agent should modify or create:
.ruby-version— bump to 4.0.2Gemfile— update ruby constraint, bundle update omniauth stackGemfile.lock— regeneratedk8s/dev.yaml— container image to ruby:4.0-slimDockerfile— base image to ruby:4.0-slimFiles in other repos:
pal-e-platform: terraform/modules/keycloak/main.tf— image tag 26.0.7 → 26.6.1pal-e-services: terraform/k3s.tfvars— if any realm schema changes neededFiles the agent should NOT touch:
config/initializers/omniauth.rb— OIDC config is correct, only gem version changesAcceptance Criteria
ruby --versionin the container, it shows 4.0.2bundle exec rails server, the app boots without deprecation errors/loginand click "Sign in with Keycloak", the OIDC flow completesTest Expectations
bundle installcompletes without errors on Ruby 4.0bin/rails db:prepareruns migrations successfully/upreturns 200/auth/keycloak/callbackprocesses correctlykubectl -n pal-enterprises logs deployment/pal-enterprises --tail=20Constraints
Checklist
Related
project-pal-enterprises— project this affectssop-keycloak-client-creation— Keycloak client conventions (now IaC'd)Scope Review: NEEDS_REFINEMENT
Review note:
review-1182-2026-05-09Ticket scope is well-written with all template sections present and all file targets verified. However, it needs refinement before moving to next_up:
skill-decompose-ticket.infra-upgradesuser story entry on project-pal-enterprises page.arch-keycloakarchitecture note in pal-e-docs.arch:rails-applabel.forgejo_admin referenced this issue2026-05-10 01:55:00 +00:00