superset-showtime 0.3.2__py3-none-any.whl → 0.3.3__py3-none-any.whl

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.

showtime/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
  Circus tent emoji state tracking for Apache Superset ephemeral environments.
5
5
  """
6
6
 
7
- __version__ = "0.3.2"
7
+ __version__ = "0.3.3"
8
8
  __author__ = "Maxime Beauchemin"
9
9
  __email__ = "maximebeauchemin@gmail.com"
10
10
 
showtime/cli.py CHANGED
@@ -335,6 +335,8 @@ def _build_docker_image(pr_number: int, sha: str, dry_run: bool = False) -> bool
335
335
  console.print("🎪 Streaming Docker build output...")
336
336
 
337
337
  # Stream output in real-time for better user experience
338
+ import time
339
+
338
340
  process = subprocess.Popen(
339
341
  cmd,
340
342
  stdout=subprocess.PIPE,
@@ -344,17 +346,25 @@ def _build_docker_image(pr_number: int, sha: str, dry_run: bool = False) -> bool
344
346
  universal_newlines=True,
345
347
  )
346
348
 
347
- # Stream output line by line
349
+ # Stream output line by line with progress monitoring
350
+ last_output_time = time.time()
351
+ progress_timeout = 1800 # 30 min without output = stuck
352
+
348
353
  for line in process.stdout:
349
354
  console.print(f"🐳 {line.rstrip()}")
355
+ last_output_time = time.time() # Reset timeout on any output
350
356
 
351
- # Wait for completion with timeout
352
- try:
353
- return_code = process.wait(timeout=3600) # 60 min timeout
354
- except subprocess.TimeoutExpired:
355
- process.kill()
356
- console.print("🎪 ❌ Docker build timed out after 60 minutes")
357
- return False
357
+ # Check if process finished or we need to wait
358
+ if process.poll() is None:
359
+ # Process still running, wait with timeout
360
+ try:
361
+ return_code = process.wait(timeout=300) # 5 min final wait
362
+ except subprocess.TimeoutExpired:
363
+ process.kill()
364
+ console.print("🎪 ❌ Docker build hung - no progress for 30+ minutes")
365
+ return False
366
+ else:
367
+ return_code = process.returncode
358
368
 
359
369
  if return_code == 0:
360
370
  console.print(f"🎪 ✅ Docker build succeeded: {tag}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superset-showtime
3
- Version: 0.3.2
3
+ Version: 0.3.3
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/
@@ -1,6 +1,6 @@
1
- showtime/__init__.py,sha256=4ZIHRCKHmluvtr0Vv2mGhNIbLs79PoGCF4dsuIiCpDg,420
1
+ showtime/__init__.py,sha256=snaYpRby8c-UXJ7MEyyFdqGINLFJqrCq2LFdO5mrabQ,420
2
2
  showtime/__main__.py,sha256=EVaDaTX69yIhCzChg99vqvFSCN4ELstEt7Mpb9FMZX8,109
3
- showtime/cli.py,sha256=WgM-VP7TPGFuLYUqCG8U_MrAL1hMdeYYS06dwoBCIGE,75997
3
+ showtime/cli.py,sha256=zQh9q5vj6DlqoJs_dCBxIlYPT0aJRbKh-6xzY9T81Eo,76416
4
4
  showtime/commands/__init__.py,sha256=M2wn5hYgwNCryMjLT79ncobvK884r-xk3znkCmINN_0,28
5
5
  showtime/commands/start.py,sha256=DPGbgvGPh7I60LK_VioDljUhdmhNFVjEy6BchFv1lCo,1026
6
6
  showtime/core/__init__.py,sha256=54hbdFNGrzuNMBdraezfjT8Zi6g221pKlJ9mREnKwCw,34
@@ -11,7 +11,7 @@ showtime/core/github.py,sha256=HWhM8_Yq4P-AHq0FV3UfrfQHUHXxkhn74vvc_9RguKA,9822
11
11
  showtime/core/github_messages.py,sha256=g4yOaJvsOtVKSQCyG-mHD-kjBRaaQFUvC-Nu_yfW5f4,7458
12
12
  showtime/core/label_colors.py,sha256=efhbFnz_3nqEnEqmgyF6_hZbxtCu_fmb68BIIUpSsnk,3895
13
13
  showtime/data/ecs-task-definition.json,sha256=0ZaE0FZ8IWduXd2RyscMhXeVgxyym6qtjH02CK9mXBI,2235
14
- superset_showtime-0.3.2.dist-info/METADATA,sha256=HpcCaQd5P8T2u-nj1m-zMk8d0YMBWQ44HVeaYU77HAs,11616
15
- superset_showtime-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- superset_showtime-0.3.2.dist-info/entry_points.txt,sha256=rDW7oZ57mqyBUS4N_3_R7bZNGVHB-104jwmY-hHC_ck,85
17
- superset_showtime-0.3.2.dist-info/RECORD,,
14
+ superset_showtime-0.3.3.dist-info/METADATA,sha256=8w6hGlXQKtoCpD_T3ETurhtXcaT6HzIpL5RMd27r8hY,11616
15
+ superset_showtime-0.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ superset_showtime-0.3.3.dist-info/entry_points.txt,sha256=rDW7oZ57mqyBUS4N_3_R7bZNGVHB-104jwmY-hHC_ck,85
17
+ superset_showtime-0.3.3.dist-info/RECORD,,