Skip to content

Conversation

betodealmeida
Copy link
Member

SUMMARY

docker compose up stopped working because of the introduction of superset-core.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Copy link

korbit-ai bot commented Sep 22, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@betodealmeida betodealmeida marked this pull request as ready for review September 22, 2025 16:50
@dosubot dosubot bot added the install:docker Installation - docker container label Sep 22, 2025
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

I've completed my review and didn't find any issues.

Files scanned
File Path Reviewed
docker/docker-entrypoint.sh
docker/docker-bootstrap.sh

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

if [ "$(whoami)" = "root" ] && command -v uv > /dev/null 2>&1; then
echo "Installing critical dependencies for dev mode..."
# Install pydantic first as it's needed for imports
uv pip install --no-cache-dir "pydantic>=2.8.0"
Copy link
Member

Choose a reason for hiding this comment

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

This should be in requirements/development.txt already (?)

# Install pydantic first as it's needed for imports
uv pip install --no-cache-dir "pydantic>=2.8.0"
echo "Installing base requirements"
uv pip install -r /app/requirements/base.txt
Copy link
Member

Choose a reason for hiding this comment

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

Should we do development.txt here?

Copy link
Member

Choose a reason for hiding this comment

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

@mistercrunch I think there are folks that use it for production even if not recommended 🤷🏼‍♂️

echo "Installing base requirements"
uv pip install -r /app/requirements/base.txt
echo "Reinstalling superset-core in editable mode"
uv pip install -e /app/superset-core
Copy link
Member

Choose a reason for hiding this comment

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

wondering what this is about (?) I have to admit I don't understand the new structure

Copy link
Member

Choose a reason for hiding this comment

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

@mistercrunch superset-core is similar to superseet-ui-core. I recommend reading [SIP-177] Proposal for SQL Lab Extensions to understand the structure better.

@rusackas rusackas added the review:checkpoint Last PR reviewed during the daily review standup label Sep 22, 2025
fi

# Now run the actual bootstrap script
exec "$@" No newline at end of file
Copy link
Member

@michael-s-molina michael-s-molina Sep 22, 2025

Choose a reason for hiding this comment

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

@betodealmeida You need a blank line at the end here to fix CI 😉

Suggested change
exec "$@"
exec "$@"

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

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

Thank you for the fix @betodealmeida!

Copy link
Member

@dpgaspar dpgaspar left a comment

Choose a reason for hiding this comment

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

Nice! thks for the fix @betodealmeida. LGTM, yet would be great if we could avoid the hardcoded pydantic install

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

LGTM!

@rusackas rusackas merged commit 619b341 into master Sep 23, 2025
59 of 61 checks passed
@rusackas rusackas deleted the fix-docker-compose branch September 23, 2025 17:24
@michael-s-molina
Copy link
Member

@betodealmeida
Copy link
Member Author

@betodealmeida It seems there's an error yet: https://github.com/apache/superset/actions/runs/17953994393/job/51060324919

I'll fix that in a separate PR.

@michael-s-molina michael-s-molina removed the review:checkpoint Last PR reviewed during the daily review standup label Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install:docker Installation - docker container size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants