Skip to content

Use flexible preloading for oauth image#85

Merged
CodeByNikolas merged 2 commits intomainfrom
feat/flexible-preloading
Mar 24, 2026
Merged

Use flexible preloading for oauth image#85
CodeByNikolas merged 2 commits intomainfrom
feat/flexible-preloading

Conversation

@lukaskratzel
Copy link
Copy Markdown
Contributor

@lukaskratzel lukaskratzel commented Mar 23, 2026

Summary by CodeRabbit

  • New Features
    • Added preloaded images for Java (java-17-no-ls), Rust (rust-no-ls) and language servers to improve environment startup and tooling availability; added oauth2-proxy pinned to v7.12.0 (with args ["--version"]) for consistent auth behavior.
  • Chores
    • Updated deployment values and inline documentation to clarify image ordering and version override behavior.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: db6ba0b8-1f7e-49fc-843e-eb2254d7c1d8

📥 Commits

Reviewing files that changed from the base of the PR and between a2bcfdc and c849426.

📒 Files selected for processing (7)
  • .github/workflows/deploy-theia.yml
  • charts/theia-cloud-combined/values.yaml
  • deployments/test1.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/test2.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/test3.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/theia-staging.artemis.cit.tum.de/values.yaml
  • deployments/theia.artemis.cit.tum.de/values.yaml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/deploy-theia.yml
🚧 Files skipped from review as they are similar to previous changes (4)
  • deployments/test1.theia-test.artemis.cit.tum.de/values.yaml
  • charts/theia-cloud-combined/values.yaml
  • deployments/theia.artemis.cit.tum.de/values.yaml
  • deployments/test2.theia-test.artemis.cit.tum.de/values.yaml

📝 Walkthrough

Walkthrough

Added several Theia-related preloading images (Java/Rust variants and language servers) across Helm values files and charts, and appended an explicit oauth2-proxy:v7.12.0 preload entry with args: ["--version"]. Updated comments documenting required index alignment with workflow overrides.

Changes

Cohort / File(s) Summary
Helm values — deployments
deployments/theia.artemis.cit.tum.de/values.yaml, deployments/theia-staging.artemis.cit.tum.de/values.yaml, deployments/test1.theia-test.artemis.cit.tum.de/values.yaml, deployments/test2.theia-test.artemis.cit.tum.de/values.yaml, deployments/test3.theia-test.artemis.cit.tum.de/values.yaml
Appended new theia-cloud.preloading.images entries: ghcr.io/eduide/eduide/java-17-no-ls, ghcr.io/eduide/eduide/rust-no-ls, ghcr.io/eduide/eduide/langserver-java, ghcr.io/eduide/eduide/langserver-rust; added quay.io/oauth2-proxy/oauth2-proxy:v7.12.0 with args: ["--version"]; updated comments to document index mapping to workflow overrides (indices 0–10 and index 11).
Helm chart values
charts/theia-cloud-combined/values.yaml
Mirrored the same additions to chart-level theia-cloud.preloading.images and expanded explanatory comment about index alignment with workflow overrides.
CI workflow
.github/workflows/deploy-theia.yml
Clarified inline comments describing how IDE_IMAGES_TAG string overrides map to specific theia-cloud.preloading.images[...] indices; explicitly noted index 11 corresponds to oauth2-proxy and should remain controlled by values.yaml. No control flow or command changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

ready to merge

Suggested reviewers

  • CodeByNikolas
  • Mtze

Poem

🐰 I hopped through YAML fields today,
New images tucked in neat array,
Java, Rust and servers four,
OAuth2 checks version more,
Preloads set — hop, deploy away!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Use flexible preloading for oauth image' accurately reflects the main changes: adding oauth2-proxy with explicit configuration to preloading lists across multiple deployment values files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/flexible-preloading

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Test1 Helm values to preload an additional container image (oauth2-proxy), presumably to reduce cold-start delays by ensuring the image is pulled ahead of time.

Changes:

  • Add an oauth2-proxy image entry to theia-cloud.preloading.images, with custom args (--version).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@deployments/test2.theia-test.artemis.cit.tum.de/values.yaml`:
- Around line 73-74: Update the pinned oauth2-proxy image tag from v7.12.0 to
the current v7.15.0 by changing the image value in the values block where
"image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0" is defined (the same block
that contains args: ["--version"]); replace the version suffix so the line reads
quay.io/oauth2-proxy/oauth2-proxy:v7.15.0.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0c65b94b-15b4-4c19-9437-96d12f4ce19a

📥 Commits

Reviewing files that changed from the base of the PR and between ad614e4 and a2bcfdc.

📒 Files selected for processing (7)
  • .github/workflows/deploy-theia.yml
  • charts/theia-cloud-combined/values.yaml
  • deployments/test1.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/test2.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/test3.theia-test.artemis.cit.tum.de/values.yaml
  • deployments/theia-staging.artemis.cit.tum.de/values.yaml
  • deployments/theia.artemis.cit.tum.de/values.yaml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/deploy-theia.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • deployments/test1.theia-test.artemis.cit.tum.de/values.yaml

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@CodeByNikolas CodeByNikolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@CodeByNikolas CodeByNikolas merged commit de56e6a into main Mar 24, 2026
7 of 10 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.

3 participants