Skip to content

Conversation

@integrii
Copy link
Member

@integrii integrii commented Sep 2, 2025

Summary

  • add reusable kuberhealthy-client Ruby gem
  • validate example container builds in CI
  • publish gem to GitHub Packages on release

Testing

  • ruby -c exampleCheck.rb
  • ruby -c lib/kuberhealthy/client.rb
  • ruby -c lib/kuberhealthy/version.rb
  • gem build kuberhealthy-client.gemspec
  • make check

https://chatgpt.com/codex/tasks/task_e_68b6942cd8c0832393919e00a16f279b

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

Codex Review: Here are some suggestions.

https://github.com/kuberhealthy/ruby/blob/d812094b3e607f21a4ec6db994096f8fa6e8fcfe/exampleCheck.rb#L3-L2
[P1] Example check fails to load client library

The updated exampleCheck.rb now calls require 'kuberhealthy/client', but the Dockerfile only copies the script into the image and no longer provides the lib/ directory or installs the gem. Running the script (either locally via ruby exampleCheck.rb or inside the shipped container) raises LoadError: cannot load such file -- kuberhealthy/client, so the example no longer works at all. The container will exit before reporting to Kuberhealthy unless the gem is installed or the library files are included on the load path.


Reply with @codex fix comments to fix any unresolved comments.

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, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

@integrii integrii merged commit c2e75ef into main Sep 2, 2025
2 of 3 checks passed
@integrii integrii deleted the codex/add-github-actions-for-validation-and-publishing branch September 2, 2025 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants