Skip to content

tests: two tests red on dev since the skills change pass again (find_tool ranking, guest skill card) - #483

Merged
SiddDevZ merged 6 commits into
DuskBotAI:devfrom
Yabuku-xD:fix-find-tool-ranking
Dec 3, 2026
Merged

SiddDevZ merged 6 commits into
DuskBotAI:devfrom
Yabuku-xD:fix-find-tool-ranking

Conversation

@Yabuku-xD

@Yabuku-xD Yabuku-xD commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Two tests are red on dev since bacb5320b. They fail every open PR's Vitest shards (ubuntu 1/8, ubuntu 7/8 and windows 6/8 on #477-#482):

  • server/drivers/agents-bridge.test.ts › find_tool ranks the hidden tool first: "save this procedure as a reusable skill". The new skill_manage description dropped the word "reusable", so find_tool now ranks skills_list first. The description says "reusable SKILL.md" again. A skill is recurring work, which that change keeps; the rest of its wording is unchanged. The catalog goldens are regenerated with UPDATE_AGENTS_CATALOG_GOLDENS=1: one string, and each profile's bytes are 9 larger.
  • server/cloud-personal.e2e.test.ts › a guest's skill card enables only the exact text the owner reviewed…. The new duplicate check (server/skill-draft-check.ts) refuses a create that covers an existing skill. The test staged four skills with one description, the same one an earlier test in the file had already saved (owner-links). Each staged skill now has its own kind of work. The test still checks what it is for: the review hash, a stale update held, deny, a lost stage, and a deleted conversation.

How it was checked

  • Both tests fail on dev locally and pass here. cloud-personal.e2e.test.ts passes as a whole file twice (16 of 16) and alone.
  • The catalog wire, bridge, bridge wire and tool-schema tests pass (158). skill-learning and skill-draft-check pass.
  • pnpm typecheck, pnpm lint and the CI source guards pass.
  • pnpm typecheck, pnpm lint and pnpm test pass (typecheck, lint and the related tests pass; the whole pnpm test was not run locally)
  • New behaviour has a test
  • No secrets, personal data or local paths in the diff or screenshots

Not fixed here, and flaky in CI runs of dev, main and other PRs: server/drivers/antigravity.test.ts › "hands back the same link while it is live" (failed 1 time in 3 locally on the same code), steer-e2e, vps-routing, connected-app-tools.e2e and direct-coordination.e2e.

Flaky tests

A second commit adds the 15 tests that failed at random in CI on Dec 1 to scripts/testing/ci-retry-list.json: in runs of main, a release and PRs #477-#483 whose changes do not reach them, a different set each run. Each entry names the runs it failed in, and is owned by the PR author until the test is fixed. vps-routing's per-case test failed too but is left out, because its name is generated per case.

Link chaos

A third commit fixes the link chaos workflow, cancelled at its 60-minute limit on every run since Nov 14 (main pushes, the weekly run, every PR touching the link service). The scenarios finished in about five minutes, but an open socket or timer kept the process alive; the run now exits once its results are written. The reconnect-storm scenario set up its 60 links over one connection, so they shared one address and hit the per-address limit on new links; each now uses its own connection. Locally, --quick passes all 12 scenarios and exits in 5.6 minutes. A fourth commit lists three more flaky tests. Two more commits followed CI. The chaos job runs without installing packages, so the per-connection undici import failed there; the crowd now uses node:https, and a checkout with no packages passes all 12 scenarios. Then node-5xx failed on five of seven runs: after the 502s, one live-stream dial sent nothing and the probe held it until the relay closed it, about 90 s. The app (src/lib/live-events.ts) dials again when a new dial sends nothing in 8 s; the probe now does too, at a fixed 8 s where the app backs off. Link chaos then passed on all seven PRs.

… and the guest skill card test stages four kinds of work

bacb532 left two tests red on dev. Its new skill_manage description dropped the word reusable, so find_tool ranked
skills_list first for "save this procedure as a reusable skill"; the description says reusable SKILL.md again (a skill
is recurring work, which that change keeps). Its duplicate check turns away a create that covers an existing skill, and
the guest skill card test staged four skills with one description, the same as an earlier test's: each now has its own
kind of work.
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
Yabuku-xD added a commit to Yabuku-xD/duskbot that referenced this pull request Dec 1, 2026
…list's two retries

Fifteen tests failed in CI on Dec 1 in runs of main, a release and PRs DuskBotAI#477-DuskBotAI#483 whose changes do not reach them, a
different set each run, and pass locally. Each entry names the runs it failed in. vps-routing's 'reuses the existing
VPS with $settings' failed too (PR DuskBotAI#477, run 46623618361) but is left out: its name is made per case, and the list
matches names written in the file.

(cherry picked from commit 54f5c51)
…s 60 servers link from their own addresses

Every link chaos run since the per-address limit on new links (adc99d7, Nov 14) was cancelled at CI's 60-minute
limit, on main pushes, the weekly run and every PR that touches the link service: the scenarios finished in about five
minutes and printed their table, but a socket or timer a scenario left open held the process. The run now exits once its
results are written. The storm's 60 servers set up their links over one connection, so the node's front gave them one
address, which the limit refused after 30 (Too many new links from here); each now uses its own connection, as 60
machines would. Locally, --quick passes all 12 scenarios and exits in 5.6 minutes.
…y list's retries

chat-mcp-tools' shutdown verdict, memory-order and the encrypted workspace restore failed in PR DuskBotAI#479's run 46740020170,
whose change does not reach them, and pass locally.
…os job installs no packages

The job runs `node apps/link-service/chaos/run.mjs` straight after checkout, so the undici import failed
with ERR_MODULE_NOT_FOUND before any scenario ran.
…ds nothing for 8 s, as the app does

src/lib/live-events.ts gives up on a dial that sends nothing in LIVE_EVENTS_OPEN_MS (8 s) and dials again. The probe
dropped a quiet stream only after it had sent something, so one silent dial after node-5xx's 502s held it down until
the relay closed it, about 90 s, and failed the scenario in CI on five of seven runs.
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