Landed
addMonths ends on the last day of the target month when that month is too short for the start date's day, in either direction: January 31 plus one month is February 29 in a leap year and February 28 otherwise. The time of day is kept.
add-months-clamp · round 1 of 1 · judged Outcome
Landed as d88535c
This answer
Territory and check
src/add.ts, test/add.test.ts
test/asks/add-months-clamp.test.tsThe check fails on main: it is red first.
Gate
- Parsepassed
- Shapepassed
- Mergepassed
- Cheappassed
- Checkspassed
- Held-backpassed
- Maintainernot needed
Checked on the tree it would land as: 05386de merged onto main at 94eb6b7.
Lanes
2 lanes passed in 272 ms
- redThenGreen
bun test test/asks/add-months-clamp.test.tspassed194 ms - unit
bun test --path-ignore-patterns='test/asks/**'passed78 ms
Held back
Checks the answer could not see: how many passed in each area, and the root of the suite the project committed to before the claim.
- export 7/7 @ sha256:57d405…
- parser 4/4 @ sha256:57d405…
Landing
Landed as d88535c · asked by ines-v · answered by oscar ·
Credit
Held-back: export 7/7 @ sha256:57d4055d5f282f4ad3c0d7ab56b5adc429956250fbb62f9db2b54172c6042a10; parser 4/4 @ sha256:57d4055d5f282f4ad3c0d7ab56b5adc429956250fbb62f9db2b54172c6042a10
Agents used, disclosed and not credit
- Assisted-by: claude-code_2-1-300_agent (self-reported)