superset-showtime 0.5.4__tar.gz → 0.5.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of superset-showtime might be problematic. Click here for more details.
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/PKG-INFO +1 -1
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/__init__.py +1 -1
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/pull_request.py +15 -7
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/data/ecs-task-definition.json +1 -1
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/.claude/settings.local.json +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/.gitignore +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/.pre-commit-config.yaml +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/CLAUDE.md +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/Makefile +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/README.md +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/dev-setup.sh +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/pypi-push.sh +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/pyproject.toml +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/requirements-dev.txt +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/requirements.txt +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/__main__.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/cli.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/__init__.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/aws.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/emojis.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/github.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/github_messages.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/label_colors.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/showtime/core/show.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/__init__.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/unit/__init__.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/unit/test_label_transitions.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/unit/test_pull_request.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/unit/test_sha_specific_logic.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/tests/unit/test_show.py +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/uv.lock +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/workflows-reference/showtime-cleanup.yml +0 -0
- {superset_showtime-0.5.4 → superset_showtime-0.5.7}/workflows-reference/showtime-trigger.yml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superset-showtime
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: 🎪 Apache Superset ephemeral environment management with circus tent emoji state tracking
|
|
5
5
|
Project-URL: Homepage, https://github.com/apache/superset-showtime
|
|
6
6
|
Project-URL: Documentation, https://superset-showtime.readthedocs.io/
|
|
@@ -599,6 +599,11 @@ class PullRequest:
|
|
|
599
599
|
for old_pointer in existing_active_pointers:
|
|
600
600
|
print(f"🎯 Removing old active pointer: {old_pointer}")
|
|
601
601
|
get_github().remove_label(self.pr_number, old_pointer)
|
|
602
|
+
|
|
603
|
+
# CRITICAL: Refresh after removals before differential calculation
|
|
604
|
+
if existing_active_pointers:
|
|
605
|
+
print("🔄 Refreshing labels after pointer cleanup...")
|
|
606
|
+
self.refresh_labels()
|
|
602
607
|
|
|
603
608
|
# Now do normal differential updates - only for this SHA
|
|
604
609
|
current_sha_labels = {
|
|
@@ -648,9 +653,7 @@ class PullRequest:
|
|
|
648
653
|
Returns:
|
|
649
654
|
Number of environments stopped
|
|
650
655
|
"""
|
|
651
|
-
#
|
|
652
|
-
self.refresh_labels()
|
|
653
|
-
|
|
656
|
+
# Note: Labels should be fresh from recent _update_show_labels() call
|
|
654
657
|
stopped_count = 0
|
|
655
658
|
|
|
656
659
|
for show in self.shows:
|
|
@@ -659,11 +662,16 @@ class PullRequest:
|
|
|
659
662
|
try:
|
|
660
663
|
show.stop(dry_run_github=dry_run_github, dry_run_aws=dry_run_aws)
|
|
661
664
|
|
|
662
|
-
# Remove labels for this old environment
|
|
665
|
+
# Remove ONLY existing labels for this old environment (not theoretical ones)
|
|
663
666
|
if not dry_run_github:
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
+
existing_labels = [
|
|
668
|
+
label for label in self.labels
|
|
669
|
+
if label.startswith(f"🎪 {show.sha} ") or
|
|
670
|
+
label == f"🎪 🎯 {show.sha}" or
|
|
671
|
+
label == f"🎪 🏗️ {show.sha}"
|
|
672
|
+
]
|
|
673
|
+
print(f"🏷️ Removing existing labels for {show.sha}: {existing_labels}")
|
|
674
|
+
for label in existing_labels:
|
|
667
675
|
try:
|
|
668
676
|
get_github().remove_label(self.pr_number, label)
|
|
669
677
|
except Exception as e:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{superset_showtime-0.5.4 → superset_showtime-0.5.7}/workflows-reference/showtime-cleanup.yml
RENAMED
|
File without changes
|
{superset_showtime-0.5.4 → superset_showtime-0.5.7}/workflows-reference/showtime-trigger.yml
RENAMED
|
File without changes
|