You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository has been stale for 16 days (last commit: 9f95d3d on 2026-04-12). Main branch CI is broken (verify check failing), and all 8 open PRs are blocked by systematic cargo fmt and frontend_unit failures that appear to originate from the main branch itself.
CI Status — Main Branch
verify: ❌ failure
Release jobs: skipped (expected for non-tag pushes)
PR chore(deps): bump resvg from 0.44.0 to 0.47.0 #234 (resvg 0.44→0.47): 3 minor versions jump. The read_image_dimensions function in icon_handlers.rs uses resvg::usvg::Tree::from_data — API may have changed.
⚠️read_image_dimensions runs in spawn_blocking — good, but error results in (None, None) for dimensions with no user-facing error. Icons with unparseable dimensions silently uploaded.
storage.rs (new, 36 lines) — Clean utility module, no issues.
⚠️ Significant complexity increase with OGC_FID workarounds
5. No New Security Vulnerabilities Found
Reviewed new code in icon_handlers.rs, storage.rs, and import.rs additions. Existing issues (#194, #206, #218, #219) cover known concerns. No new SQL injection vectors found.
Action Items
Fix main branch CI — highest priority, blocks everything
Daily Repository Deep Review — 2026-04-28
Summary
The repository has been stale for 16 days (last commit:
9f95d3don 2026-04-12). Main branch CI is broken (verifycheck failing), and all 8 open PRs are blocked by systematiccargo fmtandfrontend_unitfailures that appear to originate from the main branch itself.CI Status — Main Branch
Open PRs (8 total)
Key Findings
1. Systematic CI Blockage (Critical)
Every open PR fails
cargo fmtandfrontend_unit. This is not PR-specific — it's a main branch issue.cargo fmtfailure: Likely caused by unformatted code merged in PR feat(icons): add PNG/SVG icon upload and management #201 or earlier. A singlecargo fmtcommit on main would unblock all PRs.frontend_unitfailure: Needs investigation — may be a test environment issue or a regression.Recommendation: Fix main branch CI first (run
cargo fmt, fix frontend tests), then re-run all PR CI.2. Major Dependency Bumps Need Careful Review
read_image_dimensionsfunction inicon_handlers.rsusesresvg::usvg::Tree::from_data— API may have changed.3. PR #232 Has Most Failures
PR #232 (9 cargo minor/patch bumps) fails 4 checks:
backend_fmt,backend_tests,frontend_unit,frontend_e2e,backend_postgis_integration. The test failures suggest actual breakage from dependency changes.4. Code Review of Recent Changes (commits since last review)
icon_handlers.rs (new, 460 lines) — Code quality review:
canonicalize+starts_withcheckremove_dir_all)resvg::usvg::Tree::from_data— XXE risk tracked in [安全] SVG 上传潜在的 XXE (XML External Entity) 攻击向量 #218read_image_dimensionsruns inspawn_blocking— good, but error results in(None, None)for dimensions with no user-facing error. Icons with unparseable dimensions silently uploaded.storage.rs (new, 36 lines) — Clean utility module, no issues.
import.rs (+1212 lines) — Now 1585 lines total:
normalize_column_nameproperly sanitizes table/column names (alphanumeric + underscore only)escape_sql_stringused for file paths in SQL5. No New Security Vulnerabilities Found
Reviewed new code in icon_handlers.rs, storage.rs, and import.rs additions. Existing issues (#194, #206, #218, #219) cover known concerns. No new SQL injection vectors found.
Action Items
Fix main branch CI — highest priority, blocks everything
cargo fmton mainfrontend_unitfailureReview PR chore(deps): bump sha2 from 0.10.9 to 0.11.0 #233 (sha2 major bump) — check breaking changes before merge
Review PR chore(deps): bump resvg from 0.44.0 to 0.47.0 #234 (resvg 3-version bump) — verify icon dimension parsing still works
Consider closing or updating stale issues — 47 open issues, many may be outdated
No New Issues to Create
All findings are already tracked in existing issues (#223, #217, #218, #219, etc.). This review confirms existing issue accuracy.
This review was generated by the daily automated deep review cron job.