Skip to content

Conversation

nikochiko
Copy link
Member

Legal Boilerplate

Look, I get it. The entity doing business as “Gooey.AI” and/or “Dara.network” was incorporated in the State of Delaware in 2020 as Dara Network Inc. and is gonna need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Dara Network Inc can use, modify, copy, and redistribute my contributions, under its choice of terms.

Copy link

coderabbitai bot commented Aug 13, 2025

📝 Walkthrough

Walkthrough

Updated README: replaced docker publish flow to build the image from common/Dockerfile, then tag and push a versioned image (gooey-gpu-common:5); added example header with a typo ("For exaxmple"); renumbered steps for model-values.yaml edits; added example configuration blocks for deploying a new model (rabbitmqAutoscaling.queueNameVars with MY_MODEL_IDS and a deployments entry common-my-model with image, resources, and env entries IMPORTS and MODEL_IDS); Helm diff/upgrade commands unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • devxpy

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docker-build-in-readme

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@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: 0

🔭 Outside diff range comments (2)
README.md (2)

230-235: Environment variable mismatch: use MY_MODEL_IDS to match code and autoscaler

Code uses os.environ["MY_MODEL_IDS"] and autoscaler queueNameVars includes MY_MODEL_IDS, but the deployment example sets MODEL_IDS. This will break queue setup and loading.

         env:
           IMPORTS: |-
             my_model
-          MODEL_IDS: |-
+          MY_MODEL_IDS: |-
             model_id_1
             model_id_2

Note: If your worker expects a fully qualified module path for IMPORTS (e.g., common.my_model), please confirm and adjust accordingly.


230-232: Use fully qualified import path for your model

Please update the example in README.md (lines 230–232) to match how other charts and run-dev.sh expect imports. For example:

-          IMPORTS: |-
-            my_model
+          IMPORTS: |-
+            common.my_model
           MODEL_IDS: |-
             model_id_1

This aligns with:

  • The ./scripts/run-dev.sh common common.my_model example (README.md #145)
  • All other IMPORTS: entries in chart/model-values.yaml (they use common.xxx)
  • How Celery reads os.environ["IMPORTS"].split() in celeryconfig.py
🧹 Nitpick comments (3)
README.md (3)

201-206: Fix typo and streamline Docker build/tag/push commands

  • Typo: “For exaxmple” -> “For example”.
  • Build flow: Tag the image with the version at build time and also tag the registry target in one command; then push once. This is cleaner and avoids an extra retag step.
-    For exaxmple, if building the 5th version of `gooey-gpu-common` from the `common` directory:
+    For example, if building the 5th version of `gooey-gpu-common` from the `common` directory:
@@
-    docker build common -t gooey-gpu-common
-    docker tag gooey-gpu-common <registry>/gooey-gpu-common:5
-    docker push <registry>/gooey-gpu-common:5
+    docker build -t gooey-gpu-common:5 -t <registry>/gooey-gpu-common:5 common
+    docker push <registry>/gooey-gpu-common:5

Optional: If you publish for multiple architectures, consider buildx:

  • docker buildx build --platform linux/amd64,linux/arm64 -t gooey-gpu-common:5 -t /gooey-gpu-common:5 common --push

223-225: Align image name with the example you push above

Using the same image reference from the push step reduces confusion for readers following the doc end-to-end.

-      - name: "common-my-model"
-        image: "<registry>/<image>:<tag>"
+      - name: "common-my-model"
+        image: "<registry>/gooey-gpu-common:5"

213-213: Fix ordered list numbering (duplicate “12.”)

The “Update the model-values.yaml” step should be 11 to avoid duplicate “12.” later in the doc.

-12. Update the `model-values.yaml` file with the new image (or create a new file)
+11. Update the `model-values.yaml` file with the new image (or create a new file)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dc76c33 and 648bfcd.

📒 Files selected for processing (1)
  • README.md (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (actions)
🔇 Additional comments (1)
README.md (1)

213-219: LGTM: rabbitmqAutoscaling queueNameVars example is clear and correct

The example shows the correct list form for queueNameVars and matches the env var name used elsewhere. No changes needed.

Copy link

@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

🧹 Nitpick comments (2)
README.md (2)

204-206: Streamline the Docker publish flow and avoid hard-coded version.

  • Tag the image at build time to remove the extra docker tag step.
  • Parameterize the version to discourage copying a stale "5".
-    docker build -f common/Dockerfile -t gooey-gpu-common .
-    docker tag gooey-gpu-common <registry>/gooey-gpu-common:5
-    docker push <registry>/gooey-gpu-common:5
+    VERSION=${VERSION:-5}
+    docker build -f common/Dockerfile -t <registry>/gooey-gpu-common:${VERSION} .
+    docker push <registry>/gooey-gpu-common:${VERSION}

Optional: if you need multi-arch or reproducible builds, consider buildx:

docker buildx build --platform linux/amd64 \
  -f common/Dockerfile \
  -t <registry>/gooey-gpu-common:${VERSION} \
  --push .

213-213: Fix step numbering and prefer Markdown auto-numbering.

"12. Update the model-values.yaml..." appears right after step 10 and later "12. Deploy..." creates a duplicate number. Either:

  • Renumber this to 11 here and keep subsequent steps incremented, or
  • Use Markdown auto-numbering (all items as "1.") to avoid future drift.
-12. Update the `model-values.yaml` file with the new image (or create a new file)
+11. Update the `model-values.yaml` file with the new image (or create a new file)

Recommendation: switch the entire ordered list to "1." style so GitHub renders correct numbers automatically.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 648bfcd and c76ca7a.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
README.md

[grammar] ~201-~201: Ensure spelling is correct
Context: ...image to a container registry. For exaxmple, if building the 5th version of `gooey-...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

Comment on lines +201 to +202
For exaxmple, if building the 5th version of `gooey-gpu-common` from the `common` directory:
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix typo in user-facing docs ("For exaxmple" → "For example").

Spelling error in a prominent header; fix to maintain polish.

-    For exaxmple, if building the 5th version of `gooey-gpu-common` from the `common` directory:
+    For example, if building version 5 of `gooey-gpu-common` from the `common` directory:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
For exaxmple, if building the 5th version of `gooey-gpu-common` from the `common` directory:
For example, if building version 5 of `gooey-gpu-common` from the `common` directory:
🧰 Tools
🪛 LanguageTool

[grammar] ~201-~201: Ensure spelling is correct
Context: ...image to a container registry. For exaxmple, if building the 5th version of `gooey-...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
In README.md around lines 201-202, fix the spelling typo in the sentence
beginning "For exaxmple..." by replacing "exaxmple" with "example" so the line
reads "For example, if building the 5th version of `gooey-gpu-common` from the
`common` directory:" and ensure punctuation/spacing remains correct.

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.

1 participant