Skip to content

feat(ops): P1-1 artifacts → Supabase - #232

Merged
Cyning12 merged 4 commits into
mainfrom
task/ops-chat-session-sink-p0-p1
Jul 9, 2026
Merged

feat(ops): P1-1 artifacts → Supabase#232
Cyning12 merged 4 commits into
mainfrom
task/ops-chat-session-sink-p0-p1

Conversation

@Cyning12

@Cyning12 Cyning12 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • 新建 Supabase 表 ops_run_artifacts 及 rollback migration
  • 新增 api/ops/store/artifacts.py:幂等 upsert、重试、失败时记录 artifact.write_failed event
  • OpsRunStore 新增 save/list artifact 方法
  • deep / ReAct 最终答案后写入 artifact
  • 新增 tests/ops/test_artifacts.py 10 个测例

Test plan

  • pytest tests/ops tests/ops_desk -m "not intent_eval and not intent_benchmark" -q && ruff check api/ops
  • 292 passed, 10 skipped, 1 warning
  • ruff 全绿
  • pytest tests/ops/test_artifacts.py -k write_failed -q → 3 passed

Scope

仅 P1-1;未改 P1-2/3/4、Session 生产图、Agently lab、前端。


Harness 30/40/50 全链通过;HG-TASK-DRAFT / HG-AUDIT-R1 approved。

CyningMM added 4 commits July 9, 2026 16:40
- Add ops_run_artifacts table + rollback migration
- Add api/ops/store/artifacts.py save_artifact / failure-event helper
- Wire deep/ReAct paths to save final answer artifacts
- Add tests/ops/test_artifacts.py (10 cases)
- Invoke snapshots for 30/40 handoff
…50 交接 Prompt;含 30 commit、校验范围、验证命令与落盘要求。
…h 写入 50 交接 Prompt,便于下一棒独立复检。
…告落盘;验证命令 292 passed/10 skipped + ruff 全绿。
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-ink-brain-api-python Ready Ready Preview, Comment Jul 9, 2026 9:27am

@Cyning12
Cyning12 merged commit 1bdcfad into main Jul 9, 2026
8 of 9 checks passed
@mergify

mergify Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants