Pulse reports healthy things as failing after upgrading to 8.761

未关闭
#2,887 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

Start by locating the code for the Workflows, Running, Hooks, Work board, SchedulerWatch, and CloudPager checks, then trace how each check determines and logs its status. The report describes several separate symptoms but names no files or tests, so first map each symptom to its implementation and existing coverage. Done means healthy or uncheckable states are reported accurately and recurring expected failures do not flood the logs.

由索引模型根据 Issue 内容生成。

描述

After upgrading from 7.40.4 to 8.761.0 on macOS, several Pulse pages flag things as broken that are working. The real problems get buried under them.

What I see:

  1. Workflows page: a job is labelled "failing" when the only issue is that it's an old-style scheduled job waiting to be migrated. The jobs themselves ran fine.

  2. Running page: background services started by other apps (for example the Codex desktop app's own service) are flagged "probably stuck" because no session started them.

  3. Hooks page: a hook that lives under USER/HOOKS is reported as "registered but missing from disk". The check seems to look only in the system hooks folder. The "declared but not registered" list also includes hooks that run inside PostToolObserver or through the plugin.

  4. Work board: every issue's age shows as "just now".

  5. Logs: SchedulerWatch writes an error every 5 minutes because log show needs admin rights on macOS and the account isn't an admin, so it can never succeed. CloudPager does the same when no cloud heartbeat Worker is deployed. Both show honestly as "unknown" on the page, but each still logs an error every tick. I have about 5,500 of these lines so far.

What I'd expect: a state that can't be checked, or a job that's only waiting on migration, shows as unknown or "needs migration" rather than failing, and is logged once instead of every 5 minutes.

Environment: 8.761.0, macOS, standard (non-admin) account.

Happy to test a fix.

主要语言
TypeScript
星标
19.9k
派生
2.5k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

danielmiessler/LifeOS 的其他 Issue

查看 danielmiessler/LifeOS 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。