Skip to content

Fix Docker Image Build#421

Closed
gowthamkishore3799 wants to merge 0 commit intoelie222:mainfrom
gowthamkishore3799:main
Closed

Fix Docker Image Build#421
gowthamkishore3799 wants to merge 0 commit intoelie222:mainfrom
gowthamkishore3799:main

Conversation

@gowthamkishore3799
Copy link
Contributor

@gowthamkishore3799 gowthamkishore3799 commented May 4, 2025

Fixing the Current Docker Image Build Failure

The Docker image build is currently failing due to an invalid object ID format. The build process expects the object ID to be a plain string without any hyphens (-), but the current value includes hyphens, causing the failure.

Summary by CodeRabbit

  • Chores
    • Updated environment variable values for Sanity project configuration across the app and production Docker build.
    • Adjusted workflow configuration for Docker image publishing, including registry username and run-name updates.
    • Configured Docker Compose to always pull the latest web service image from the registry.
  • Refactor
    • Reordered import statements in several files for improved code organization.
  • Bug Fixes
    • Modified logic for skipping Sanity fetches during build to use the new project identifier.

@vercel
Copy link

vercel bot commented May 4, 2025

@gowthamkishore3799 is attempting to deploy a commit to the Inbox Zero Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 4, 2025

## Walkthrough

This set of changes updates environment variable values, workflow configuration, and import orderings across several files. The placeholder value `'dummy-sanity-project-id-for-build'` for the `NEXT_PUBLIC_SANITY_PROJECT_ID` environment variable is replaced with `"project123"` in both the Dockerfile and multiple TypeScript files, altering the logic that determines when to skip Sanity fetch operations during builds. Additionally, the Docker image publishing workflow is updated to use a fixed username `"github-actions"` for registry login and adds a `run-name` for clarity. The docker-compose service is modified to always pull the latest image from the registry. Import statements in several files are reordered for consistency, but these changes do not affect functionality.

## Changes

| File(s)                                                                                  | Change Summary                                                                                                  |
|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|
| `.github/workflows/publish-docker.yml`                                                  | Added `run-name` to workflow; changed login username to fixed `"github-actions"`; registry remains `ghcr.io`.    |
| `docker/Dockerfile.prod`                                                                | Replaced dummy `NEXT_PUBLIC_SANITY_PROJECT_ID` values with `"project123"` in ENV declarations; trimmed CMD line whitespace. |
| `docker-compose.yml`                                                                     | Added `image: ghcr.io/elie222/inbox-zero:latest` and `pull_policy: always` to `web` service for always pulling latest image. |
| `apps/web/app/blog/page.tsx`, `apps/web/app/blog/post/[slug]/page.tsx`, `apps/web/app/sitemap.ts` | Reordered imports; changed environment variable check from `'dummy-sanity-project-id-for-build'` to `"project123"` to control skipping Sanity fetch logic. |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant NextApp
    participant SanityAPI

    User->>NextApp: Request blog content or sitemap
    alt NEXT_PUBLIC_SANITY_PROJECT_ID == "project123"
        NextApp-->>User: Return empty results (skip Sanity fetch)
    else
        NextApp->>SanityAPI: Fetch blog data
        SanityAPI-->>NextApp: Return posts
        NextApp-->>User: Serve content
    end

Possibly related PRs

Poem

A bunny hopped through Docker’s gate,
Swapped dummy IDs for something great.
Workflows polished, tidy and neat,
Imports shuffled—code’s a treat!
Now "project123" leads the way,
For builds more real, hip-hip-hooray!
🐇✨


<!-- walkthrough_end -->
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHFcLzpIACIAMXgAD0gAEXwGAGtKSABJZjRSSAAhbHgvWgAaaPtsAWZ1Gno5SGxELKJ8AHdcWDRmdKRYfH8AZgB2AE5x9GRbSAxHASyAFgAmAEZy9Fpaf0RW5DRIADNtL2x/FCxuj1SMrPg8goESsp4KNOlEDRhYDyQHDzOJDSSCLBhoFoea6gl70EgJbiiXAHLCCERiHLJS7oHhebRYRC4CjwDBEY5DPKhDrqQZ4SCwWTcX4YRCbZ6haEMc7+DChNFIzGXBhnJTIBlMshfH6oWhIBj+biYBjycGQ5DQ26ZPgPfIeZ6legEY6nb7uRg9UkgklhBAzOzaZhhfAKCj+DHQ/kY7JYo4U6hOv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wjwX/UePZYCdgU2PAX6CnctHeSPXNeEQyCne3CgYPeNDweVEkaJVXDoThQbSgZQ0eUoXwRI7DZAOcQFaEQIkIO+XUerHqLMfwUqW6UEc+RnGEA0HaBacyDAW9Ukb7Fkc4TNS+fKGNZovgNUNyYMDbN0cFbI9ySgMLfKOBXYPkIeXpTowaXY32OlAOCOTYEkYUbAWUJdaxK/YdOPSISMJQREAKMgKfaQTYReR+CncgXAT2SMTnZAFhUDRFPmTA0TbAmlXAg3GTI3M2IzEg8lTiJyT+bIrgZwigT6GcPsAcIcEcMcScacAIviDeJBcInwSI4vQaWQLgPo5I49Z+eQnfJQ54+gqTbEWvbSCgLQ++XQoQ86EQxOVCd8flbcXcCEfcJzKIAo0CPwNACCH3aCO8OCR8NQRCV8FCAwNU4CdQXvWgRAHGNI4sOgLvGNFVNcG0jcSAAAVgAAYlhhg0Bxh/Txg1gBBRhfTRhhhfTaB/S1glgAAOUYAQBgWgcYAQcYJYJYL5AANlGCWDWDWFoAYEjOQkMDVKOFGBIFrLjKWF9PGAYCTJDPDKCTWDQH9PlSTOGFWCWFoAEGGDWCOEbP9PWBWArLQigDtNwAdKdJdJLFoBxi3ArKAA=== -->

<!-- internal state end -->
<!-- tips_start -->

---

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.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=elie222/inbox-zero&utm_content=421):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `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. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- 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 src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### 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](https://docs.coderabbit.ai/guides/configure-coderabbit) 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`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

Copy link
Contributor

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

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between d49b7f2 and 5043a90.

📒 Files selected for processing (5)
  • .github/workflows/publish-docker.yml (2 hunks)
  • apps/web/app/blog/page.tsx (2 hunks)
  • apps/web/app/blog/post/[slug]/page.tsx (1 hunks)
  • apps/web/app/sitemap.ts (1 hunks)
  • docker/Dockerfile.prod (3 hunks)
🔇 Additional comments (11)
docker/Dockerfile.prod (3)

50-50: Consistent project ID update to fix Docker build issue.

This change aligns with the PR objective to fix Docker image build failures by replacing hyphenated IDs with a plain string format.


76-76: Consistent project ID update at second declaration point.

The environment variable is correctly updated with the same value as on line 50, ensuring consistency throughout different build stages.


87-87: Minor whitespace cleanup.

Removed trailing whitespace while keeping the command functionality intact.

apps/web/app/sitemap.ts (2)

3-4: Import reordering.

Imports were reordered for better organization but functionality remains unchanged.


8-8: Consistent project ID check for skipping Sanity fetch.

This change properly aligns with the Dockerfile updates, ensuring the application code consistently checks for the new non-hyphenated project ID.

apps/web/app/blog/post/[slug]/page.tsx (2)

3-8: Import reordering.

Imports were reordered for better organization but functionality remains unchanged.


13-13: Consistent project ID check for skipping Sanity fetch.

This change properly aligns with the Dockerfile updates, ensuring the static parameter generation consistently checks for the new non-hyphenated project ID.

.github/workflows/publish-docker.yml (1)

2-2: Added descriptive run-name for the workflow.

Adding a run-name improves workflow clarity in the GitHub Actions UI.

apps/web/app/blog/page.tsx (3)

1-7: Import organization improves readability

The reordering of imports follows a logical pattern with types first, then components, and finally framework imports. This organization enhances code readability.


211-211: Environment variable check updated correctly

The change from using a hyphenated placeholder to "project123" correctly addresses the Docker build issue mentioned in the PR objectives. Removing hyphens from the ID format aligns with the expected object ID format in the Docker build environment.


208-213:

Details

✅ Verification successful

Verify consistent environment variable usage across the codebase

The environment variable check has been modified to use the new format without hyphens. According to the PR summary, this change should also exist in other files like apps/web/app/blog/post/[slug]/page.tsx and apps/web/app/sitemap.ts.


🏁 Script executed:

#!/bin/bash
# Verify consistent usage of the updated environment variable value
echo "Checking usage of NEXT_PUBLIC_SANITY_PROJECT_ID across the codebase..."
rg "NEXT_PUBLIC_SANITY_PROJECT_ID.*project123" --type=ts --type=tsx
echo "Checking if there are any remaining instances of the old dummy ID..."
rg "dummy-sanity-project-id-for-build" --type=ts --type=tsx

Length of output: 483


🏁 Script executed:

#!/bin/bash
# Retry searching with explicit glob patterns for TS/TSX files
echo "Checking usage of NEXT_PUBLIC_SANITY_PROJECT_ID across the codebase..."
rg "NEXT_PUBLIC_SANITY_PROJECT_ID" -g "*.ts" -g "*.tsx"
echo
echo "Checking for hardcoded project123 values..."
rg "project123" -g "*.ts" -g "*.tsx"
echo
echo "Checking if there are any remaining instances of the old dummy ID..."
rg "dummy-sanity-project-id-for-build" -g "*.ts" -g "*.tsx"

Length of output: 1391


Environment variable usage is consistent across the codebase

  • Verified that NEXT_PUBLIC_SANITY_PROJECT_ID is checked in:
    • apps/web/app/blog/page.tsx
    • apps/web/app/blog/post/[slug]/page.tsx
    • apps/web/app/sitemap.ts
    • apps/web/sanity.cli.ts
    • apps/web/sanity/env.ts
  • No remaining occurrences of the old dummy ID (dummy-sanity-project-id-for-build) were found.
    All instances have been updated as expected. 🎉

Copy link
Contributor

@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

🧹 Nitpick comments (1)
docker-compose.yml (1)

41-42: Verify Compose support for pull_policy and refine image/build strategy.

The pull_policy: always option is only recognized in Docker Compose spec v3.9+ (Docker Compose CLI v2). Please confirm your CI/CD and local environments support this key; otherwise it will be ignored or error out. Also, you’re mixing a published image (ghcr.io/elie222/inbox-zero:latest) with a local build context:

  • If your goal is to always pull the pre-built image, consider removing the build: block entirely.
  • If you need to build locally and tag it, then remove pull_policy (or move this into a dedicated production Compose file) to avoid unwanted pulls during development.

Finally, using latest can lead to non-reproducible deployments—pinning to a specific version tag or digest is recommended for stability.

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 5043a90 and f7eee5d.

📒 Files selected for processing (2)
  • .github/workflows/publish-docker.yml (2 hunks)
  • docker-compose.yml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/publish-docker.yml

@gowthamkishore3799
Copy link
Contributor Author

@elie222 do check this out once available, it should fix the error which the current version is facing

Have signed the CLA as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its just lint changes, no code changes

import imageUrlBuilder from "@sanity/image-url";
import { Post } from "@/app/blog/post/[slug]/Post";
import type { Post as PostType } from "@/app/blog/types";
import { client } from "@/sanity/lib/client";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its just lint changes, no code changes

@gowthamkishore3799
Copy link
Contributor Author

Since the pr is removed, closing this pull request

@gowthamkishore3799
Copy link
Contributor Author

gowthamkishore3799 commented May 6, 2025

Btw, i could see the docker image build is removed? is it open for me to pickup or anyones working on it

I could revert the changes which caused the production build to fail, and have pipeline which doesnt impact the production build so semantic versioning and docker image build is gracefully handled

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