Repository navigation
fix(web): 修复 Job 提交确认与观测历史窗口 - #189
Merged
Merged
Conversation
This was referenced Nov 5, 2026
4 of 5 tasks
3 of 5 tasks
xiaoland
force-pushed
the
feat/app-peer-naming
branch
from
November 5, 2026 10:05
167a4b1 to
e6333f6
Compare
- 按 Job 生命周期建立可调整的有界诊断窗口并展示覆盖范围 - 展示信息库中的持久提交事实并保留真实观测统计 - 清理已提交草稿后关闭弹窗,以受控关闭请求保留取消编辑语义 - 增加历史记录、晚到诊断、关闭流程与独立读取方回归
xiaoland
force-pushed
the
hotfix/job-observation-history
branch
from
November 5, 2026 10:10
f584867 to
9f9190d
Compare
xiaoland
marked this pull request as ready for review
November 5, 2026 10:10
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的与范围
修复 dogfood 中两起 Job 观测缺项,并让提交方退出后的持久提交事实清楚可读。
update:open接口,保存失败与选择继续编辑时保留草稿。pnpm check执行。主要实现范围为 Web Job 详情、来源页提交弹窗、观测时间窗和 Core 查询约束导出。受影响发布项目为
@inkcre/core、@inkcre/web。共同合同见 InKCre/docs#57,源码和共享引用分为独立提交。
下一步
请评审当前修复,并与父栈及共享合同协调合并。交付物为 draft PR,生产发布由后续交付流程处理。
验证证据
pnpm check,包含格式、lint、全仓类型检查、Web/扩展构建、独立 SDK 检查和新增三条回归。useJobCreator与JobManager在可控 PostgREST transport 下覆盖成功关闭、失败保草稿、取消时继续编辑、确认放弃,以及诊断传输失败时,同进程夹具内独立配置的读取方读回已保存的 Job 模型。pre-bump和pre-commit检查通过,引用已推送的5c5c254475ca8f4eb2ffe99b3275534338681b2e。App checks的 PR 触发分支过滤为main,此 PR 的 stacked base 为feat/app-peer-naming,云端检查按现有触发规则运行。指定 Dogfood owner 已对正式 head
f584867完成四组复验。原 Job 11 的四条记录在详情与全局一致,实际 Cloud Loki 的 Job 13 显示持久事实与三条实存诊断。隔离库中的成功关闭、取消继续编辑和真实提交失败均通过。数据库刚可见 pending 行时硬停提交浏览器,Python 完成执行,另一 Web Peer 读回提交事实、finished 和三项时间。历史终态、46 天 Job、早晚绝对范围、超宽拒绝及终态/手动刷新通过。每组运行边界与证据见 正式复验回执。交付影响
源码、组件说明和 changeset 随本 PR 交付,共享契约使用独立 gitlink 提交。
Stack
167a4b1681a89a05b4ab758f6d1292cdbe2a67e7。风险与回退
一小时余量属于初始查询策略,使用者可选择更早或更晚的绝对范围。每次查询宽度与后端记录保留策略分别管理。诊断写入仍受进程生命周期及传输可用性影响,提交确认由信息库中的 Job 行提供。
主要回归面为时间范围选择与弹窗关闭顺序,回退可撤销本 PR 的源码提交。调查额外发现
job.submit操作摘要缺少 Job 关联,已交给维护方作为后续发现项跟踪。