superset-showtime 0.5.4__tar.gz → 0.5.6__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.

Files changed (33) hide show
  1. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/PKG-INFO +1 -1
  2. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/__init__.py +1 -1
  3. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/pull_request.py +10 -7
  4. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/data/ecs-task-definition.json +1 -1
  5. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/.claude/settings.local.json +0 -0
  6. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/.gitignore +0 -0
  7. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/.pre-commit-config.yaml +0 -0
  8. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/CLAUDE.md +0 -0
  9. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/Makefile +0 -0
  10. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/README.md +0 -0
  11. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/dev-setup.sh +0 -0
  12. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/pypi-push.sh +0 -0
  13. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/pyproject.toml +0 -0
  14. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/requirements-dev.txt +0 -0
  15. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/requirements.txt +0 -0
  16. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/__main__.py +0 -0
  17. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/cli.py +0 -0
  18. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/__init__.py +0 -0
  19. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/aws.py +0 -0
  20. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/emojis.py +0 -0
  21. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/github.py +0 -0
  22. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/github_messages.py +0 -0
  23. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/label_colors.py +0 -0
  24. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/showtime/core/show.py +0 -0
  25. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/__init__.py +0 -0
  26. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/unit/__init__.py +0 -0
  27. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/unit/test_label_transitions.py +0 -0
  28. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/unit/test_pull_request.py +0 -0
  29. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/unit/test_sha_specific_logic.py +0 -0
  30. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/tests/unit/test_show.py +0 -0
  31. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/uv.lock +0 -0
  32. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/workflows-reference/showtime-cleanup.yml +0 -0
  33. {superset_showtime-0.5.4 → superset_showtime-0.5.6}/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.4
3
+ Version: 0.5.6
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/
@@ -4,7 +4,7 @@
4
4
  Circus tent emoji state tracking for Apache Superset ephemeral environments.
5
5
  """
6
6
 
7
- __version__ = "0.5.4"
7
+ __version__ = "0.5.6"
8
8
  __author__ = "Maxime Beauchemin"
9
9
  __email__ = "maximebeauchemin@gmail.com"
10
10
 
@@ -648,9 +648,7 @@ class PullRequest:
648
648
  Returns:
649
649
  Number of environments stopped
650
650
  """
651
- # CRITICAL: Refresh to get current shows including newly created one
652
- self.refresh_labels()
653
-
651
+ # Note: Labels should be fresh from recent _update_show_labels() call
654
652
  stopped_count = 0
655
653
 
656
654
  for show in self.shows:
@@ -659,11 +657,16 @@ class PullRequest:
659
657
  try:
660
658
  show.stop(dry_run_github=dry_run_github, dry_run_aws=dry_run_aws)
661
659
 
662
- # Remove labels for this old environment
660
+ # Remove ONLY existing labels for this old environment (not theoretical ones)
663
661
  if not dry_run_github:
664
- old_labels = show.to_circus_labels()
665
- print(f"🏷️ Removing labels for {show.sha}: {len(old_labels)} labels")
666
- for label in old_labels:
662
+ existing_labels = [
663
+ label for label in self.labels
664
+ if label.startswith(f"🎪 {show.sha} ") or
665
+ label == f"🎪 🎯 {show.sha}" or
666
+ label == f"🎪 🏗️ {show.sha}"
667
+ ]
668
+ print(f"🏷️ Removing existing labels for {show.sha}: {existing_labels}")
669
+ for label in existing_labels:
667
670
  try:
668
671
  get_github().remove_label(self.pr_number, label)
669
672
  except Exception as e:
@@ -67,5 +67,5 @@
67
67
  "FARGATE"
68
68
  ],
69
69
  "cpu": "512",
70
- "memory": "1024"
70
+ "memory": "2048"
71
71
  }