mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
Merge upstream/ci_mvp (google maps scrapers) into feature-ci_phase-4-7
Resolve conflicts against the new native google-maps actor + repo-wide ruff-format pass: - Keep legacy webcrawler KB indexer + its test deleted (modify/delete). - test_validators: keep WEBCRAWLER case removed (validator gone). - test_fetch_resilience: keep platforms.youtube import path (our reorg). - Relocate google_maps actor + tests scrapers/ -> platforms/ to match the reorg convention (youtube already there); rewrite imports + fixture paths. - Add missing __init__.py across the capabilities/ test subtree so duplicate test basenames get unique module paths under importlib mode. Note: google_maps fixture-backed tests error on ci_mvp too (fixtures/*.json never committed upstream) - pre-existing, out of scope here.
This commit is contained in:
commit
d5d673384f
117 changed files with 4674 additions and 409 deletions
|
|
@ -44,9 +44,7 @@ def validate_workspace_id(workspace_id: Any) -> int:
|
|||
if isinstance(workspace_id, str):
|
||||
# Check if it's a valid integer string
|
||||
if not workspace_id.strip():
|
||||
raise HTTPException(
|
||||
status_code=400, detail="workspace_id cannot be empty"
|
||||
)
|
||||
raise HTTPException(status_code=400, detail="workspace_id cannot be empty")
|
||||
|
||||
# Check for valid integer format (no leading zeros, no decimal points)
|
||||
if not re.match(r"^[1-9]\d*$", workspace_id.strip()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue