Skip to content

Migrate temporal_rs from 0.0.9 to 0.0.10#4318

Merged
jedel1043 merged 1 commit intomainfrom
feature/migrate-temporal-v0.0.10
Jul 4, 2025
Merged

Migrate temporal_rs from 0.0.9 to 0.0.10#4318
jedel1043 merged 1 commit intomainfrom
feature/migrate-temporal-v0.0.10

Conversation

@HalidOdat
Copy link
Member

This PR migrates temporal_rs to the recent 0.0.10 version.

@HalidOdat HalidOdat added this to the next-release milestone Jul 3, 2025
@HalidOdat HalidOdat requested review from a team and nekevss July 3, 2025 18:50
@HalidOdat HalidOdat added the A-Internal Changes that don't modify execution behaviour label Jul 3, 2025
@HalidOdat HalidOdat changed the title Migrate temporal_rs from 0.0.9 to 0.0.10 Migrate temporal_rs from 0.0.9 to 0.0.10 Jul 3, 2025
@github-actions
Copy link

github-actions bot commented Jul 3, 2025

Test262 conformance changes

Test result main count PR count difference
Total 50,595 50,595 0
Passed 47,259 47,238 -21
Ignored 1,964 1,964 0
Failed 1,372 1,393 +21
Panics 0 0 0
Conformance 93.41% 93.36% -0.04%
Broken tests (21):
test/built-ins/Temporal/PlainYearMonth/prototype/add/limits.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/overflow-wrong-type.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/overflow-undefined.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/throws-if-year-outside-valid-iso-range.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/order-of-operations.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-duration-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-string.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/options-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/subclassing-ignored.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/limits.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/overflow-wrong-type.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/overflow-undefined.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/builtin-calendar-no-array-iteration.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/throws-if-year-outside-valid-iso-range.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/order-of-operations.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-duration-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-string.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/options-object.js (previously Passed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/subclassing-ignored.js (previously Passed)

@HalidOdat HalidOdat marked this pull request as draft July 3, 2025 19:01
@nekevss
Copy link
Member

nekevss commented Jul 3, 2025

Huh, curious what the error messages are. If there's regressions on the temporal_rs side, we should file them as issues and try to fix them before next release.

@HalidOdat
Copy link
Member Author

Yep, currently looking into it 😄

@HalidOdat
Copy link
Member Author

boa-dev/temporal#389 should fix the regressions 🥳

@nekevss should we merge this or wait for a temporal_rs release?

@HalidOdat HalidOdat marked this pull request as ready for review July 3, 2025 22:32
nekevss pushed a commit to boa-dev/temporal that referenced this pull request Jul 4, 2025
This PR fixes the regression introduced in `v0.0.10` (see
boa-dev/boa#4318) by aligning the `9.5.8 AddDurationToYearMonth`
abstract method to the latest specification
(tc39/proposal-temporal@ed49b0b).

This additionally fixes some tests that were unrelated to the
regressions 🥳 :

### Test262 conformance changes

| Test result | main count | PR count | difference |
| :---------: | :----------: | :------: | :--------: |
| Total | 50,595 | 50,595 | 0 |
| Passed | 47,259 | 47,291 | **+32** |
| Ignored | 1,964 | 1,964 | 0 |
| Failed | 1,372 | 1,340 | **-32** |
| Panics | 0 | 0 | 0 |
| Conformance | 93.41% | 93.47% | **+0.06%** |

<details><summary><b>Fixed tests (32):</b></summary>

```
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/month-length.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-lower-units.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-duration-max.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/argument-string-negative-fractional-units.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/subtract-from-last-representable-month.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/subtract/end-of-month-out-of-range.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/month-length.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-lower-units.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-duration-max.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/argument-string-negative-fractional-units.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/subtract-from-last-representable-month.js (previously Failed)
test/built-ins/Temporal/PlainYearMonth/prototype/add/end-of-month-out-of-range.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/calendar-always.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string-date-with-utc-offset.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/leap-second.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string-time-zone-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string-calendar-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string-unknown-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/equals/argument-string-time-separators.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/valueOf/basic.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/prototype/with/monthdaylike-invalid.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/fields-string.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/argument-string-date-with-utc-offset.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/leap-second.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/argument-string-time-zone-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/argument-string-calendar-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/argument-string-unknown-annotation.js (previously Failed)
test/built-ins/Temporal/PlainMonthDay/from/argument-string-time-separators.js (previously Failed)
test/built-ins/Temporal/PlainDate/prototype/with/plaindatelike-invalid.js (previously Failed)
test/built-ins/Temporal/PlainTime/prototype/with/plaintimelike-invalid.js (previously Failed)
test/staging/Temporal/Regex/old/plainmonthday.js (previously Failed)
```
</details>
Copy link
Member

@nekevss nekevss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with merging as is.

The only regression I'm slightly concerned about currently is the order-of-operations.js, but we can always look into that after the next release once the merged fix is available.

We're on a much more regular release schedule too since now with the V8 work, so it really shouldn't be too long before its fixed.

@jedel1043 jedel1043 added this pull request to the merge queue Jul 4, 2025
Merged via the queue into main with commit 9787b3a Jul 4, 2025
14 checks passed
@jedel1043 jedel1043 deleted the feature/migrate-temporal-v0.0.10 branch July 4, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Internal Changes that don't modify execution behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants