space-ai-cutover still expects the sweep's removed 'requests' count (fails on main)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing
Research direction
Open tests/app/space-ai-cutover.test.ts and inspect the idempotency assertion around line 190. The issue identifies the mismatch: the sweep now returns four values after the requests count was removed. Update the expected value to [0, 0, 0, []] or compare the documented object keys, then run the focused test with the repository's application check command.
Written by the indexing model from the issue text.
Description
tests/app/space-ai-cutover.test.ts "turned on again before the sweep runs: old work never runs, new work is untouched, the sweep is idempotent" fails:
AssertionError [ERR_ASSERTION]: a second sweep changes nothing
actual: [ 0, 0, 0, [] ]
expected: [ 0, 0, 0, 0, [] ]
SpaceAiSwept lost its requests count in #1025 (fdd9e0807, requests between clients go), so the sweep returns four values; line 190 of the test still lists five. Found 2026-11-09 while verifying #1064 (branch claude-hubert/1064-ai-brief rebased on 4e34247b8; the PR does not touch the sweep, its contract or this test): FLUX_TEST_PORT=18880 FLUX_TEST_MAILPIT_PORT=18881 ./scripts/check_application.sh … tests/app/space-ai-cutover.test.ts.
To do: expect [0, 0, 0, []] (or compare the object by its keys).
🤖 Generated with Claude Code
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- Avg merge
- 11h 54m
- Merged PRs (30d)
- 371
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ColdPhase/flux
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Flaky: agent-runtime-console-core 'on disconnect' fails with ENOTEMPTY on rmdir of its temp slotOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Closing a thread panel: no visible exitPossibly taken @PelikanFix16 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ColdPhase/flux#901 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 95/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
area/admin/user area/internationalization automated-triage issue/auto-triaged type/bug
Difficulty 1/5 Under an hour Newbie friendliness 76/100
grafana/grafana#137281 · 1 comment ·
Maintainers usually reply within 1 day
-
accessibility bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Luen/crag-stats#429 ·
Maintainers usually reply within 1 day
-
Missing assertions to legacy Cafe Menu block testsPossibly taken @mariamanbar claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
freeCodeCamp/freeCodeCamp#71624 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
JSPrismarine/JSPrismarine#2915 ·
Maintainers usually reply within 1 day