[GH-ISSUE #147] Flowsint 全项目技术负债盘点报告.md #3635

Open
opened 2026-07-12 09:11:21 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @JIDoctor-alt on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/reconurge/flowsint/issues/147

Flowsint 全项目技术负债盘点报告.md

Originally created by @JIDoctor-alt on GitHub (May 30, 2026). Original GitHub issue: https://github.com/reconurge/flowsint/issues/147 [Flowsint 全项目技术负债盘点报告.md](https://github.com/user-attachments/files/28424121/Flowsint.md)
Author
Owner

@JIDoctor-alt commented on GitHub (May 30, 2026):

<html>

Flowsint 全项目技术负债盘点报告

一、项目概览

维度 数据
项目类型 OSINT 图形探索工具
模块数 5 个核心模块 + 根配置
总源文件数 ~600+
技术栈 Python (FastAPI + Celery + Alembic) / React (Vite + TypeScript) / PostgreSQL + Neo4j + Redis

五、修复优先级建议

第一批(安全 & 崩溃)

  1. 修复 CORS 配置
  2. 取消注释 USER flowsint
  3. 修复 AUTH_SECRET 加载顺序
  4. 修复 Scan.results → Scan.details
  5. 修复 FlowsintType.ConfigDict → Pydantic v2 model_config
  6. 修复 repository.query() 可变默认参数

第二批(可靠性 & 质量)

  1. 替换所有 print() 为 logging
  2. 替换 datetime.utcnow() 为 datetime.now(timezone.utc)
  3. 修复返回类型注解错误
  4. 清理死代码文件
  5. 删除重复文件

第三批(可维护性)

  1. 统一版本号管理
  2. 修复 Python 版本目标
  3. 添加 CI/CD 测试流程
  4. 补充测试覆盖
  5. 重构重复代码(DeHashed/HudsonRock)
  6. 清理空迁移
</html>
<!-- gh-comment-id:4583285038 --> @JIDoctor-alt commented on GitHub (May 30, 2026): <html> <body> <!--StartFragment--><!-- obsidian --><h1 data-heading="Flowsint 全项目技术负债盘点报告">Flowsint 全项目技术负债盘点报告</h1> <h2 data-heading="一、项目概览">一、项目概览</h2> 维度 | 数据 -- | -- 项目类型 | OSINT 图形探索工具 模块数 | 5 个核心模块 + 根配置 总源文件数 | ~600+ 技术栈 | Python (FastAPI + Celery + Alembic) / React (Vite + TypeScript) / PostgreSQL + Neo4j + Redis <hr> <h2 data-heading="五、修复优先级建议">五、修复优先级建议</h2> <h3 data-heading="第一批(安全 &#x26; 崩溃)">第一批(安全 &#x26; 崩溃)</h3> <ol> <li>修复 CORS 配置</li> <li>取消注释 <code>USER flowsint</code></li> <li>修复 <code>AUTH_SECRET</code> 加载顺序</li> <li>修复 <code>Scan.results</code> → <code>Scan.details</code></li> <li>修复 <code>FlowsintType.ConfigDict</code> → Pydantic v2 <code>model_config</code></li> <li>修复 <code>repository.query()</code> 可变默认参数</li> </ol> <h3 data-heading="第二批(可靠性 &#x26; 质量)">第二批(可靠性 &#x26; 质量)</h3> <ol start="7"> <li>替换所有 <code>print()</code> 为 <code>logging</code></li> <li>替换 <code>datetime.utcnow()</code> 为 <code>datetime.now(timezone.utc)</code></li> <li>修复返回类型注解错误</li> <li>清理死代码文件</li> <li>删除重复文件</li> </ol> <h3 data-heading="第三批(可维护性)">第三批(可维护性)</h3> <ol start="12"> <li>统一版本号管理</li> <li>修复 Python 版本目标</li> <li>添加 CI/CD 测试流程</li> <li>补充测试覆盖</li> <li>重构重复代码(DeHashed/HudsonRock)</li> <li>清理空迁移</li> </ol><!--EndFragment--> </body> </html>
Author
Owner

@dextmorgn commented on GitHub (May 30, 2026):

Hey @JIDoctor-alt,

thanks for you issue. Please, create issues in english, so anyone can participate, me included. Translators exist but keeping english as base language is another standard we need to enforce

<!-- gh-comment-id:4583323411 --> @dextmorgn commented on GitHub (May 30, 2026): Hey @JIDoctor-alt, thanks for you issue. Please, create issues in english, so anyone can participate, me included. Translators exist but keeping english as base language is another standard we need to enforce
Author
Owner

@dextmorgn commented on GitHub (May 30, 2026):

https://github.com/reconurge/flowsint/pull/148

<!-- gh-comment-id:4583600807 --> @dextmorgn commented on GitHub (May 30, 2026): https://github.com/reconurge/flowsint/pull/148
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/flowsint#3635