208 Commits

Author SHA1 Message Date
Qi
1b17a7e241 ci: fix wasm32-wasip1 tests (#7788) 2025-12-24 10:07:28 +08:00
Ralf Jung
c03a37fa0b tokio: enable more tests in Miri (#7734) 2025-11-29 15:08:47 +08:00
Qi
73d733a341 time: add alternative timer for better multicore scalability (#7467)
This change introduces per-worker timer wheels in the time subsystem
to reduce the lock contention.

Key changes:
- Each worker now maintains a local timer wheel.
- Timer insertions are performed locally.
- Timer cancellations are forwarded via a
  dedicated cross-worker cancellation queue.

Relevant RFC: https://github.com/tokio-rs/tokio/issues/7384

---------

Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
2025-11-27 09:29:28 +08:00
Qi
d709df2571 ci: bump miri to nightly-2025-11-09 (#7726) 2025-11-09 18:53:16 +02:00
Benjamin Ran
d84a9e9af3 util: enable loom tests (#7644)
Co-authored-by: Benjamin Ran <benjaminran@Benjamins-MacBook-Pro-3.local>
2025-11-06 19:20:08 +08:00
Alice Ryhl
53e8acac64 ci: update nightly version to 2025-10-12 (#7670) 2025-10-14 12:56:46 +02:00
Qi
d1f1499f63 tokio: use cargo feature for taskdump support instead of cfg (#7655)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
2025-10-10 11:31:41 +08:00
Alice Ryhl
5b4cbbc39e tokio: raise MSRV to 1.71 (#7658) 2025-10-02 11:14:17 +02:00
Qi
a0f7f5c94a fs: emit compilation error without tokio_unstable for io-uring (#7634)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
2025-09-30 19:53:19 +08:00
Lucas Black
8ccf2fb92e ci: unfreeze wasm tests from rustc 1.88.0 (#7537) 2025-09-26 21:29:01 +08:00
Motoyuki Kimura
3b5a15dfdf fs: use the Cargo feature for io-uring support instead of cfg (#7621)
Co-authored-by: Emile Fugulin <code@efugulin.com>
2025-09-19 23:22:44 +08:00
unvalley
f07233f742 test: add tests for time in wasm32-unknown-unknown (#7510) 2025-09-09 12:31:14 +02:00
Qi
9f59c6952e ci: remove the job test-pass (#7575)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
2025-09-08 12:07:40 +02:00
CrazyFrog
86528741f9 ci: update GitHub actions/checkout to v5 (#7529) 2025-08-13 12:57:45 +02:00
Motoyuki Kimura
987675e843 ci: pin the rust version for wasm tests (#7518) 2025-08-08 10:09:31 +00:00
Motoyuki Kimura
3e84a198e4 fs: add io_uring open operation (#7321) 2025-08-08 09:51:42 +02:00
Motoyuki Kimura
0922aa2a0b ci: fix clippy warnings triggered under specific cfg (#7495) 2025-08-04 10:36:17 +00:00
Motoyuki Kimura
01ea8f22ea ci: add kernel-version-test workflow for io_uring tests (#7486) 2025-07-31 20:52:28 +09:00
Qi
0d234c3cf9 ci: unfreeze wasm-unknown-unknown from rustc 1.81 (#7471)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Taiki Endo <te316e89@gmail.com>
2025-07-21 09:48:04 +08:00
Taiki Endo
3754e059b6 ci: use ubuntu-24.04-arm instead of ubuntu-22.04-arm (#7470) 2025-07-20 17:19:26 +09:00
Qi
154d7d5fe6 ci: cleanup legacy R-loom-multi-thread-alt label from the labeler (#7457)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
2025-07-12 16:37:21 +02:00
Qi
7dd4d8a30e runtime: cleanup legacy tests of alt multi-threaded runtime (#7451)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
2025-07-09 19:52:33 +08:00
Aaron Chen
a7896d07f1 chore: update CI to clippy 1.88 (#7452) 2025-07-09 08:34:24 +02:00
tiif
2440d113ff ci: enable tests using fcntl in miri (#7382) 2025-06-04 09:55:27 +02:00
Motoyuki Kimura
327bec2caf rt: add infrastructure code for io_uring (#7320) 2025-05-21 02:36:52 +09:00
Taiki Endo
8895bba448 ci: Test AArch64 Windows (#7288) 2025-05-05 11:10:20 +02:00
Carl Lerche
e3c3a56718 Merge branch 'tokio-1.43.x' into forward-port-1.43.x 2025-04-04 16:11:53 -07:00
Carl Lerche
c1c8d1033d Merge remote-tracking branch 'origin/tokio-1.38.x' into forward-port-1.38.x 2025-04-04 08:18:13 -07:00
Carl Lerche
7b6ccb515f chore: backport CI fixes 2025-04-02 14:34:28 -07:00
Motoyuki Kimura
a258bff701 ci: enable printing in multi thread loom tests (#7200) 2025-03-07 13:33:16 +01:00
Taiki Endo
7f09959b0a chore: use [lints] to address unexpected_cfgs lint (#7124) 2025-01-25 17:46:21 +01:00
Taiki Endo
fb7dec0e95 ci: test AArch64/Armv7hf Linux on ubuntu-22.04-arm runner (#7123) 2025-01-25 11:17:37 +01:00
Marshall Lee
dabae570b1 ci: add spellcheck.dic validation (#7062) 2025-01-10 13:39:23 +01:00
Alice Ryhl
6fc1a8c8da ci: fix ci error about wasm32-wasip1 (#7085) 2025-01-10 18:59:35 +09:00
Alice Ryhl
fd2048dad1 ci: split miri jobs into unit and integration tests (#7071) 2025-01-06 15:39:06 +01:00
tiif
2052938a9f ci: run doc tests with miri (#7060) 2025-01-02 13:14:30 +00:00
Fancy2209
9d42b977df misc: get haiku working 2024-12-30 03:36:40 -06:00
Alice Ryhl
e0d1293fac ci: add instructions that explain how to fix spellcheck errors (#7016) 2024-12-05 12:28:27 +01:00
Alice Ryhl
c032ea0203 ci: detect trailing whitespace (#7013) 2024-12-04 17:23:13 +01:00
Hayden Stainsby
b5c227d51f tracing: move tracing instrumentation tests into tokio tests (#7007)
In #6112, tests for the tracing instrumentation were introduced. They
had to live in their own test crate under `tokio/tests` because the
`tracing-mock` crate that the tests use had not yet been published to
crates.io.

Now `tracing-mock` has been published to crates.io and so the separate
test crate and separate job to run it are no longer necessary. The
tracing instrumentation tests can be placed in with the other
integration tests in the `tokio` crate.

The tests themselves have also been updated to match the changes in the
`tracing-mock` API since the version which was being used.
2024-12-04 07:47:48 +01:00
Alice Ryhl
5dda72d338 ci: pin valgrind to rustc 1.82 (#6998) 2024-11-29 21:50:01 +09:00
tiif
4047d7962a miri: add annotations for tests with miri ignore (#6981) 2024-11-20 11:44:28 +01:00
Jonas Fassbender
772e0ca8a6 docs: fix documentation build on Windows (#6945) 2024-11-14 01:28:55 +09:00
Taiki Endo
0dbdd196b6 ci: update cargo-check-external-types to 0.1.13 (#6949) 2024-11-02 16:50:00 +09:00
Taiki Endo
0c01fd23b4 ci: use patched version of cargo-check-external-types to fix CI failure (#6937) 2024-10-26 10:27:59 +02:00
Alice Ryhl
ebe241647e ci: use cargo deny (#6931) 2024-10-23 18:48:07 +02:00
Alice Ryhl
32e0b4325f ci: freeze FreeBSD and wasm-unknown-unknown on rustc 1.81 (#6911)
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
2024-10-18 13:14:17 +02:00
Russell Cohen
c9e998e4b3 ci: print the correct sort order of the dictionary on failure (#6905) 2024-10-17 10:45:38 +02:00
tiif
161b8c80d5 ci: test more things with miri (#6885) 2024-10-11 09:44:50 +02:00
Eliza Weisman
694577fa85 Add config file to enable Buildomat CI for illumos (#6768)
## Motivation

As described in #6763, Tokio compiles for the [illumos] operating
system, but we don't presently have automated tests on illumos. We would
like to add illumos CI jobs for Tokio using [Buildomat], a CI system
which supports illumos. Buildomat CI jobs for Tokio will run on
infrastructure contributed by Oxide Computer Company.

In order for Buildomat to watch for commits to the repo, we must first
add a configuration file in `.github/buildomat/config.toml` with the
`enable = true` key. This config file must be present on the repo's main
branch for Buildomat to enable builds for the repo. See [here] for
details.

## Solution

This branch adds a `.github/buildomat` directory containing a config
file and a README summarizing what the configs in that directory are
for, as well as documenting how to get help diagnosing illumos CI
failures.


This branch does *not* add scripts for actually running CI jobs on
Buildomat. Since the config file must be present on the repo's main
branch before Buildomat runs CI jobs for the repo, I'd like to merge the
config file separately from the actual build scripts. This way, I can
actually have the build jobs run on the PR that adds them, making it
easier to ensure everything is working correctly before merging.

Closes #6766, which is obsoleted by this branch.

[illumos]: https://www.illumos.org/
[Buildomat]: https://github.com/oxidecomputer/
[here]:
    https://github.com/oxidecomputer/buildomat/blob/main/README.md#per-repository-configuration
2024-08-12 16:22:21 +00:00