wup 0.2.34__tar.gz → 0.2.35__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.
- {wup-0.2.34/wup.egg-info → wup-0.2.35}/PKG-INFO +6 -6
- {wup-0.2.34 → wup-0.2.35}/README.md +5 -5
- {wup-0.2.34 → wup-0.2.35}/pyproject.toml +1 -1
- {wup-0.2.34 → wup-0.2.35}/wup/__init__.py +1 -1
- {wup-0.2.34 → wup-0.2.35}/wup/planfile_reporter.py +37 -0
- {wup-0.2.34 → wup-0.2.35/wup.egg-info}/PKG-INFO +6 -6
- {wup-0.2.34 → wup-0.2.35}/LICENSE +0 -0
- {wup-0.2.34 → wup-0.2.35}/setup.cfg +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_e2e.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_monitoring_manifest.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_testql_monitor.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_testql_watcher.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_web_client.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/tests/test_wup.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/_ast_detector.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/_hash_detector.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/_yaml_detector.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/anomaly_detector.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/anomaly_models.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/assistant.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/cli.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/config.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/core.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/dependency_mapper.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/models/__init__.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/models/config.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/monitoring_manifest.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/testql_discovery.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/testql_monitor.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/testql_watcher.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/visual_diff.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup/web_client.py +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup.egg-info/SOURCES.txt +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup.egg-info/dependency_links.txt +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup.egg-info/entry_points.txt +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup.egg-info/requires.txt +0 -0
- {wup-0.2.34 → wup-0.2.35}/wup.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wup
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.35
|
|
4
4
|
Summary: WUP (What's Up) - Intelligent file watcher for regression testing in large projects
|
|
5
5
|
Author-email: Tom Sapletta <tom@sapletta.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -31,17 +31,17 @@ Dynamic: license-file
|
|
|
31
31
|
|
|
32
32
|
## AI Cost Tracking
|
|
33
33
|
|
|
34
|
-
    
|
|
35
|
+
  
|
|
36
36
|
|
|
37
|
-
- 🤖 **LLM usage:** $2.
|
|
38
|
-
- 👤 **Human dev:** ~$
|
|
37
|
+
- 🤖 **LLM usage:** $2.7060 (45 commits)
|
|
38
|
+
- 👤 **Human dev:** ~$1917 (19.2h @ $100/h, 30min dedup)
|
|
39
39
|
|
|
40
40
|
Generated on 2026-05-21 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
    
|
|
45
45
|
|
|
46
46
|
**WUP (What's Up)** - Intelligent file watcher for regression testing in large projects.
|
|
47
47
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
## AI Cost Tracking
|
|
5
5
|
|
|
6
|
-
    
|
|
7
|
+
  
|
|
8
8
|
|
|
9
|
-
- 🤖 **LLM usage:** $2.
|
|
10
|
-
- 👤 **Human dev:** ~$
|
|
9
|
+
- 🤖 **LLM usage:** $2.7060 (45 commits)
|
|
10
|
+
- 👤 **Human dev:** ~$1917 (19.2h @ $100/h, 30min dedup)
|
|
11
11
|
|
|
12
12
|
Generated on 2026-05-21 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
    
|
|
17
17
|
|
|
18
18
|
**WUP (What's Up)** - Intelligent file watcher for regression testing in large projects.
|
|
19
19
|
|
|
@@ -7,7 +7,7 @@ WUP monitors file changes and runs intelligent regression tests using a 3-layer
|
|
|
7
7
|
3. Detail Layer: Full tests with blame reports (only on failure)
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
-
__version__ = "0.2.
|
|
10
|
+
__version__ = "0.2.35"
|
|
11
11
|
__author__ = "Tom Sapletta"
|
|
12
12
|
|
|
13
13
|
from .config import load_config, save_config, get_default_config
|
|
@@ -6,9 +6,11 @@ import hashlib
|
|
|
6
6
|
import json
|
|
7
7
|
import re
|
|
8
8
|
import subprocess
|
|
9
|
+
import time
|
|
9
10
|
from pathlib import Path
|
|
10
11
|
from typing import Any, Optional
|
|
11
12
|
|
|
13
|
+
import yaml
|
|
12
14
|
from rich.console import Console
|
|
13
15
|
|
|
14
16
|
from .models.config import PlanfileConfig
|
|
@@ -85,6 +87,9 @@ class PlanfileReporter:
|
|
|
85
87
|
self._save_dedupe(remaining)
|
|
86
88
|
|
|
87
89
|
def _create_ticket(self, *, name: str, description: str, track_file: str = "") -> Optional[tuple[str, str]]:
|
|
90
|
+
if not self._wait_for_planfile_store_ready():
|
|
91
|
+
return None
|
|
92
|
+
|
|
88
93
|
cmd = [
|
|
89
94
|
self.config.command,
|
|
90
95
|
"ticket",
|
|
@@ -123,9 +128,41 @@ class PlanfileReporter:
|
|
|
123
128
|
self.console.print(f"[yellow]planfile ticket creation failed: {detail}[/yellow]")
|
|
124
129
|
return None
|
|
125
130
|
|
|
131
|
+
if not self._wait_for_planfile_store_ready(timeout_s=10.0):
|
|
132
|
+
self.console.print("[yellow]planfile ticket created, but sprint YAML did not become readable[/yellow]")
|
|
133
|
+
return None
|
|
134
|
+
|
|
126
135
|
ticket_id = self._parse_ticket_id(stdout) or self._parse_ticket_id(stderr) or "unknown"
|
|
127
136
|
return ticket_id, stdout
|
|
128
137
|
|
|
138
|
+
def _wait_for_planfile_store_ready(self, timeout_s: float = 30.0) -> bool:
|
|
139
|
+
"""Wait until the current sprint YAML is readable and not mid-write."""
|
|
140
|
+
sprint_path = self.project_root / ".planfile" / "sprints" / f"{self.config.sprint}.yaml"
|
|
141
|
+
if not sprint_path.exists():
|
|
142
|
+
return True
|
|
143
|
+
|
|
144
|
+
deadline = time.time() + timeout_s
|
|
145
|
+
last_signature: tuple[int, int] | None = None
|
|
146
|
+
while time.time() < deadline:
|
|
147
|
+
try:
|
|
148
|
+
stat = sprint_path.stat()
|
|
149
|
+
signature = (stat.st_size, stat.st_mtime_ns)
|
|
150
|
+
yaml.safe_load(sprint_path.read_text(encoding="utf-8")) or {}
|
|
151
|
+
except (OSError, yaml.YAMLError):
|
|
152
|
+
time.sleep(0.25)
|
|
153
|
+
last_signature = None
|
|
154
|
+
continue
|
|
155
|
+
|
|
156
|
+
if signature == last_signature:
|
|
157
|
+
return True
|
|
158
|
+
last_signature = signature
|
|
159
|
+
time.sleep(0.25)
|
|
160
|
+
|
|
161
|
+
self.console.print(
|
|
162
|
+
f"[yellow]planfile ticket creation skipped: {sprint_path} is not stable/readable[/yellow]"
|
|
163
|
+
)
|
|
164
|
+
return False
|
|
165
|
+
|
|
129
166
|
def _load_dedupe(self) -> dict[str, dict[str, Any]]:
|
|
130
167
|
if not self.dedupe_path.exists():
|
|
131
168
|
return {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wup
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.35
|
|
4
4
|
Summary: WUP (What's Up) - Intelligent file watcher for regression testing in large projects
|
|
5
5
|
Author-email: Tom Sapletta <tom@sapletta.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -31,17 +31,17 @@ Dynamic: license-file
|
|
|
31
31
|
|
|
32
32
|
## AI Cost Tracking
|
|
33
33
|
|
|
34
|
-
    
|
|
35
|
+
  
|
|
36
36
|
|
|
37
|
-
- 🤖 **LLM usage:** $2.
|
|
38
|
-
- 👤 **Human dev:** ~$
|
|
37
|
+
- 🤖 **LLM usage:** $2.7060 (45 commits)
|
|
38
|
+
- 👤 **Human dev:** ~$1917 (19.2h @ $100/h, 30min dedup)
|
|
39
39
|
|
|
40
40
|
Generated on 2026-05-21 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
    
|
|
45
45
|
|
|
46
46
|
**WUP (What's Up)** - Intelligent file watcher for regression testing in large projects.
|
|
47
47
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|