fix(infra): Fix Superset docker GitHub action#172
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe Changes
Poem
Pre-merge checks✅ Passed checks (3 passed)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/docker-superset.yml (2)
43-45: Duplication of image name construction across workflow steps.The fully-qualified Docker image name is constructed explicitly here and again at line 52. Whilst the change appears functionally correct, repeating the construction in multiple locations introduces maintenance burden—any future changes to registry, org name, or image naming scheme now require updates in multiple places.
Could you clarify whether the original
FQ_IMAGE_NAMEenvironment variable was removed to fix a specific GitHub Actions limitation or bug? If the issue is resolvable through alternative scoping or definition approaches (e.g., as a step output or run-time computed variable), consider refactoring to avoid duplication while preserving the fix.
52-52: Extract duplicated image name construction to reduce maintenance burden.The subject-name replicates the same concatenation pattern as lines 44-45. This violates DRY principles. If the removal of
FQ_IMAGE_NAMEwas necessary to fix a specific issue, consider defining the concatenated value as a reusable step output or workflow variable using alternative techniques (e.g., via arunstep withecho "FQ_IMAGE=..." >> $GITHUB_OUTPUT).
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
.github/workflows/docker-superset.yml(1 hunks)
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.