A peer route test compares snapshots that include serverNow
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
Research direction
Read tests/web/peer_routes.rs around line 195 and inspect how the snapshots from the two f.get calls are compared. Adjust the comparison to ignore serverNow, then run the peer route test to confirm the 404 request still leaves the relevant state unchanged.
Written by the indexing model from the issue text.
Description
peer::routes::a_session_action_with_extra_path_segments_is_not_found_and_changes_nothing (tests/web/peer_routes.rs:195) takes before = f.get(&path, 0), sends the 404 request, and asserts the second f.get equals before. The two snapshots differ only in serverNow, so a one-second tick between the reads fails the lane: seen on #630's gates (rust) (1794155450 against 1794155449) while #629 and #628 passed from the same minute. Compare the snapshots without serverNow. A test that reads the clock twice is the cause, not the dependency bump in #630.
- Dominant language
- Rust
- Stars
- 223
- Forks
- 148
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 223
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 sysprog21/codetrial
-
Show recorded scores in past attempt rowsPossibly taken @liehcheng claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sysprog21/codetrial#604 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Remind the candidate when they speak while the microphone is mutedPossibly taken @gino1203 claimed this today. Open
sysprog21/codetrial#627 · 1 assignee ·
Maintainers usually reply within 1 day
-
The peer lobby stays on "Checking account..." when an invite link is opened with site data blockedPossibly taken @dges5202 claimed this today. Open
sysprog21/codetrial#626 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Add basic shape tools to the example drawing areaPossibly taken @Chuyutseng claimed this today. Open
sysprog21/codetrial#625 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Browser-local practice backendPossibly taken @tony2037 claimed this today. Open
sysprog21/codetrial#621 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in sysprog21/codetrial
Similar issues
-
needs-triage tooling
Difficulty 1/5 Under an hour Newbie friendliness 90/100
neilsh/stunt-reel#317 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
storytold/craft-fonts#65 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
storytold/craft-libs#723 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
n0-computer/iroh#4669 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day