Skip to content

cleanup and expand testing - #1903

Merged
kevmoo merged 18 commits into
masterfrom
test_node
Oct 13, 2026
Merged

kevmoo merged 18 commits into
masterfrom
test_node

Conversation

@kevmoo

@kevmoo kevmoo commented Apr 1, 2026

Copy link
Copy Markdown
Member
  • test on node in http and web_socket
  • add wasm testing to web_socket

Closes #1126

- test on node in http and web_socket
- add wasm testing to web_socket

Closes #1126
@github-actions github-actions Bot added package:http type-infra A repository infrastructure change or enhancement labels Apr 1, 2026
@github-actions

github-actions Bot commented Apr 1, 2026 •

Copy link
Copy Markdown

PR Health

Coverage ✔️
File Coverage

This check for test coverage is informational (issues shown here will not fail the PR).

This check can be disabled by tagging the PR with skip-coverage-check.

License Headers ✔️
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/http_multi_server/test/cert.dart

This check can be disabled by tagging the PR with skip-license-check.

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
web_socket None 1.0.1 1.0.2-wip 1.0.2-wip ✔️
cupertino_http Non-Breaking 3.1.0 3.1.1-wip 3.1.1-wip ✔️
http Non-Breaking 1.6.0 1.7.0-wip 1.7.0-wip ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

Unused Dependencies ⚠️
Package Status
cupertino_http
❗ Show Issues
These packages are used outside lib/ but are not dev_dependencies:
* flutter
* integration_test
These packages are only used outside lib/ and should be downgraded to dev_dependencies:
* code_assets
* hooks
* logging
* native_toolchain_c
These packages may be unused, or you may be using assets from these packages:
* dart_flutter_team_lints
Failed to update packages.
http
❗ Show Issues
These packages may be unused, or you may be using assets from these packages:
* dart_flutter_team_lints
web_socket
❗ Show Issues
These packages may be unused, or you may be using assets from these packages:
* dart_flutter_team_lints

For details on how to fix these, see dependency_validator.

This check can be disabled by tagging the PR with skip-unused-dependencies-check.

API leaks ⚠️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources
http RequestCredentials browser_client.dart::BrowserClient::new::requestCredentials
browser_client.dart::RequestCredentials::omit
browser_client.dart::RequestCredentials::sameOrigin
browser_client.dart::RequestCredentials::include
browser_client.dart::RequestCredentials::values

This check can be disabled by tagging the PR with skip-leaking-check.

@kevmoo

kevmoo commented Apr 2, 2026

Copy link
Copy Markdown
Member Author

pkg:http - The changelog bit was related to a dev dependency

kevmoo added 2 commits April 24, 2026 05:00
Warning: Package resolution error when reading "analysis_options.yaml" file for "./pkgs/cupertino_http/ios_test/integration_test/combined_test.dart":
Failed to resolve package URI "package:dart_flutter_team_lints/analysis_options.yaml" in include at "/Users/kevmoo/github/http/analysis_options.yaml".
@github-actions github-actions Bot added the package:cupertino_http Issues related to package:cupertino_http label Apr 24, 2026
@kevmoo
kevmoo requested a review from brianquinlan September 6, 2026 19:55

@brianquinlan brianquinlan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What do the build.yaml files do? Are we using build_runner now?

@kevmoo

kevmoo commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

The build.yaml files are only there to configure the dependency_validator tool (which runs globally in the ecosystem CI). They instruct the validator to ignore false-positive unused dependency warnings for things like dart_flutter_team_lints and native hook assets (e.g., native_toolchain_c, code_assets). We aren't using build_runner.

@kevmoo
kevmoo requested a review from brianquinlan October 13, 2026 00:41
@kevmoo
kevmoo merged commit 7d7aae2 into master Oct 13, 2026
52 checks passed
@kevmoo
kevmoo deleted the test_node branch October 13, 2026 03:39
@@ -1,3 +1,7 @@
## 1.0.2-wip

- Suppress false positive unused dependency warnings.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is this user-visible?

copybara-service Bot pushed a commit to dart-lang/sdk that referenced this pull request Oct 15, 2026
Revisions updated by `dart tools/rev_sdk_deps.dart`.

native is rolled separately in
https://dart-review.googlesource.com/c/sdk/+/563524.

http (https://github.com/dart-lang/http/compare/23f8574..7d7aae2):
  7d7aae2  Mon Oct 12 20:39:25 2026 -0700  Kevin Moore  Clean up dependencies and expand Node and Wasm test coverage (dart-lang/http#1903)
  ab986ad  Mon Oct 12 18:59:24 2026 -0700  Kevin Moore  fix(http_parser): fix chunked size overflow and MediaType.toString quoting (dart-lang/http#2001)
  cb8113b  Mon Oct 12 17:35:26 2026 -0700  Kevin Moore  docs(http2): move post-3.1.0 security entries to 3.2.0-wip (dart-lang/http#2022)

test (https://github.com/dart-lang/test/compare/30acb69..9bf69a8):
  9bf69a88  Tue Oct 13 14:33:18 2026 -0700  Nate Bosch  Reject asynchronous matchers inside isNot and anyOf (dart-lang/test#2792)

tools (https://github.com/dart-lang/tools/compare/2b54c71..350bde5):
  350bde54f  Tue Oct 13 08:22:26 2026 -0700  Kevin Moore  chore(coverage): prepare for v1.16.0 release (dart-lang/tools#2643)
  a55965844  Tue Oct 13 13:29:52 2026 +0200  Sigurd Meldgaard  [markdown] Fix quadratic parsing of consecutive link reference definitions (dart-lang/tools#2662)

[email protected]
TEST=ci

Change-Id: I1065854cfbaf71ebb7a097d89f28902394a80c2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/563365
Commit-Queue: Nate Bosch <[email protected]>
Reviewed-by: Brian Quinlan <[email protected]>
kevmoo added a commit that referenced this pull request Oct 19, 2026
Remove the `build.yaml` internal CI configuration bullet added in #1903 from `pkgs/web_socket/CHANGELOG.md`, leaving the empty `1.0.2-wip` heading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:cupertino_http Issues related to package:cupertino_http package:http skip-changelog-check type-infra A repository infrastructure change or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support the HTTP package on nodejs platform

2 participants