Repository navigation
deny: Allow unused-allowed-org - #46281
Merged
Merged
Conversation
sagudev
approved these changes
Jul 5, 2026
Member
Author
|
Hmm, looks like we would need to update cargo-deny on the self-hosted runners first. |
jschwe
force-pushed
the
unused_allowed_org
branch
from
August 7, 2026 05:41
b390951 to
36b036b
Compare
jschwe
force-pushed
the
unused_allowed_org
branch
from
September 1, 2026 07:01
36b036b to
bc1c86c
Compare
jschwe
force-pushed
the
unused_allowed_org
branch
from
October 4, 2026 08:01
bc1c86c to
044c481
Compare
4nd3r5on
pushed a commit
to 4nd3r5on/servo
that referenced
this pull request
Oct 6, 2026
This will allows us to use `unused-allowed-org` later, in about 1 week, after self-hosted CI has been rebuilt with this change. This unblocks servo#46281 and will make doing releases easier. Testing: Dependency update, no new tests required. Signed-off-by: Jonathan Schwender <[email protected]>
hhhwsqhhh
pushed a commit
to hhhwsqhhh/servo
that referenced
this pull request
Oct 12, 2026
This will allows us to use `unused-allowed-org` later, in about 1 week, after self-hosted CI has been rebuilt with this change. This unblocks servo#46281 and will make doing releases easier. Testing: Dependency update, no new tests required. Signed-off-by: Jonathan Schwender <[email protected]>
On crates.io releases we don't use git sources anymore, which required us to remove the field allow-org entry before publishing. To avoid that, lets just allow unused-allowed-org entries. Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
force-pushed
the
unused_allowed_org
branch
from
October 12, 2026 07:57
044c481 to
f8943f6
Compare
jschwe
enabled auto-merge
October 12, 2026 08:05
jschwe
added a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Oct 13, 2026
Build the Stylo crates from third_party/stylo through a `[patch."https://github.com/servo/stylo"]` table instead of the git dependency. The `git = ..., rev = ...` lines keep the upstream pin exactly as upstream Servo writes them, and third_party/patches/stylo/update.sh reads that pin: it fetches servo/stylo at the pinned commit, applies the patches next to it and copies the tracked files (minus upstream's CI and git configuration) into third_party/stylo, so an upstream bump of the pin only needs a re-run of the script. `update.sh --export-patches` regenerates the patches from a Stylo checkout and `update.sh --check` verifies the committed copy. The whole of third_party is now excluded from the workspace; the nested Stylo workspace manifest is needed for its crates' `workspace = true` fields. The one patch, also proposed upstream, skips cascading the style of a ::before/::after whose matched rules declare no `content`. Such a pseudo-element cannot generate a box, so Stylo threw the cascaded style away; universal rules like Tailwind's `*, ::before, ::after { --tw-...: ... }` made that half of all style traversal work on the GenUI pages. On the PLR-AL00 with `--pref=layout_threads=1` (two A/B rounds, 20 loads each) `layout_proper` drops by 16% (chuxing), 17% (biyadi), 26% (shibashiji) and 16% (keai), and `traverse_dom` by 41-47%; the default three layout threads confirm it. Rendering is unchanged: the same pseudo-elements were already discarded after the cascade. Validation: `third_party/patches/stylo/update.sh --check` reproduces the committed copy. `./mach check --ohos`, `./mach fmt` and `./mach test-tidy` pass. With the same Stylo patch as a path dependency, `./mach test-wpt --release css/css-pseudo css/css-content css/cssom css/css-transitions css/css-animations css/css-nesting css/css-lists css/selectors css/css-cascade css/css-variables` runs with no unexpected results. AI-assisted: Yes (agent session; written and tested by the agent) AI-assisted: Yes (agent session; 2026-10-08 sync -- upstream moved the Stylo pin from b3e6425 to 7b2f078: rebased the patch (context changes only), re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's so that `cargo metadata --locked` passes at this commit) AI-assisted: Yes (agent session; 2026-10-13 sync -- upstream moved the Stylo pin from 7b2f078 to c81cd9c: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; dropped the deny.toml hunk and its paragraph, since upstream servo#46281 allows unused allowed organizations; Cargo.lock regenerated from upstream's) Signed-off-by: Jonathan Schwender <[email protected]>
philocalyst
added a commit
to philocalyst/servo
that referenced
this pull request
Oct 13, 2026
* upstream/main: (1116 commits) base: Use serde_json::from_reader instead of allocating a string (servo#48843) script_bindings/script: Unify valid_floating_point_number_string (servo#48844) script: Update radio group when checked radio button joins by changing form owner (servo#48069) Font: avoid copying memory mapped font data on macOS (servo#48841) script: Small clean-up in `HTMLScriptElement`'s `get_script_type` (servo#48831) script: set checked element state when cloning input element (servo#48845) layout: Treat preserved tabs as conditionally hanging under `white-space: pre-wrap` (servo#48753) pixels: avoid snapshot copies in single-process mode (servo#48836) url: Faster url to string conversion (servo#48838) layout: Split `accessibility/mod.rs` into separate files (servo#48830) devtools: feature guard (servo#47255) script: Fix assertion failure when track with no cues is rendered (servo#48827) deny: Allow unused-allowed-org (servo#46281) a11y: Add more helper functions in integration test. (servo#48777) net: Avoid cloning the whole CorsCache when cleaning (servo#48828) layout: Replace `Direction` with `LogicalAxis` (servo#48815) Bump to Stylo with legacy justify-align fix (servo#48806) build: bump ohos-abilitykit-sys from 0.1.6 to 0.1.7 (servo#48822) build: bump thin-vec from 0.2.20 to 0.2.21 (servo#48821) build: bump hyper from 1.11.1 to 1.12.0 (servo#48820) ... # Conflicts: # components/config/prefs.rs # components/layout/display_list/mod.rs # components/layout/flow/inline/mod.rs # components/layout/flow/inline/text_run.rs # components/layout/layout_impl.rs
jschwe
added a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Oct 22, 2026
Build the Stylo crates from third_party/stylo through a `[patch."https://github.com/servo/stylo"]` table instead of the git dependency. The `git = ..., rev = ...` lines keep the upstream pin exactly as upstream Servo writes them, and third_party/patches/stylo/update.sh reads that pin: it fetches servo/stylo at the pinned commit, applies the patches next to it and copies the tracked files (minus upstream's CI and git configuration) into third_party/stylo, so an upstream bump of the pin only needs a re-run of the script. `update.sh --export-patches` regenerates the patches from a Stylo checkout and `update.sh --check` verifies the committed copy. The whole of third_party is now excluded from the workspace; the nested Stylo workspace manifest is needed for its crates' `workspace = true` fields. The one patch, also proposed upstream, skips cascading the style of a ::before/::after whose matched rules declare no `content`. Such a pseudo-element cannot generate a box, so Stylo threw the cascaded style away; universal rules like Tailwind's `*, ::before, ::after { --tw-...: ... }` made that half of all style traversal work on the GenUI pages. On the PLR-AL00 with `--pref=layout_threads=1` (two A/B rounds, 20 loads each) `layout_proper` drops by 16% (chuxing), 17% (biyadi), 26% (shibashiji) and 16% (keai), and `traverse_dom` by 41-47%; the default three layout threads confirm it. Rendering is unchanged: the same pseudo-elements were already discarded after the cascade. Validation: `third_party/patches/stylo/update.sh --check` reproduces the committed copy. `./mach check --ohos`, `./mach fmt` and `./mach test-tidy` pass. With the same Stylo patch as a path dependency, `./mach test-wpt --release css/css-pseudo css/css-content css/cssom css/css-transitions css/css-animations css/css-nesting css/css-lists css/selectors css/css-cascade css/css-variables` runs with no unexpected results. AI-assisted: Yes (agent session; written and tested by the agent) AI-assisted: Yes (agent session; 2026-10-08 sync -- upstream moved the Stylo pin from b3e6425 to 7b2f078: rebased the patch (context changes only), re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's so that `cargo metadata --locked` passes at this commit) AI-assisted: Yes (agent session; 2026-10-13 sync -- upstream moved the Stylo pin from 7b2f078 to c81cd9c: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; dropped the deny.toml hunk and its paragraph, since upstream servo#46281 allows unused allowed organizations; Cargo.lock regenerated from upstream's) AI-assisted: Yes (agent session; 2026-10-22 sync -- upstream moved the Stylo pin from c81cd9c to 633f43a: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's) Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
added a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Oct 30, 2026
Build the Stylo crates from third_party/stylo through a `[patch."https://github.com/servo/stylo"]` table instead of the git dependency. The `git = ..., rev = ...` lines keep the upstream pin exactly as upstream Servo writes them, and third_party/patches/stylo/update.sh reads that pin: it fetches servo/stylo at the pinned commit, applies the patches next to it and copies the tracked files (minus upstream's CI and git configuration) into third_party/stylo, so an upstream bump of the pin only needs a re-run of the script. `update.sh --export-patches` regenerates the patches from a Stylo checkout and `update.sh --check` verifies the committed copy. The whole of third_party is now excluded from the workspace; the nested Stylo workspace manifest is needed for its crates' `workspace = true` fields. The one patch, also proposed upstream, skips cascading the style of a ::before/::after whose matched rules declare no `content`. Such a pseudo-element cannot generate a box, so Stylo threw the cascaded style away; universal rules like Tailwind's `*, ::before, ::after { --tw-...: ... }` made that half of all style traversal work on the GenUI pages. On the PLR-AL00 with `--pref=layout_threads=1` (two A/B rounds, 20 loads each) `layout_proper` drops by 16% (chuxing), 17% (biyadi), 26% (shibashiji) and 16% (keai), and `traverse_dom` by 41-47%; the default three layout threads confirm it. Rendering is unchanged: the same pseudo-elements were already discarded after the cascade. Validation: `third_party/patches/stylo/update.sh --check` reproduces the committed copy. `./mach check --ohos`, `./mach fmt` and `./mach test-tidy` pass. With the same Stylo patch as a path dependency, `./mach test-wpt --release css/css-pseudo css/css-content css/cssom css/css-transitions css/css-animations css/css-nesting css/css-lists css/selectors css/css-cascade css/css-variables` runs with no unexpected results. AI-assisted: Yes (agent session; written and tested by the agent) AI-assisted: Yes (agent session; 2026-10-08 sync -- upstream moved the Stylo pin from b3e6425 to 7b2f078: rebased the patch (context changes only), re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's so that `cargo metadata --locked` passes at this commit) AI-assisted: Yes (agent session; 2026-10-13 sync -- upstream moved the Stylo pin from 7b2f078 to c81cd9c: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; dropped the deny.toml hunk and its paragraph, since upstream servo#46281 allows unused allowed organizations; Cargo.lock regenerated from upstream's) AI-assisted: Yes (agent session; 2026-10-22 sync -- upstream moved the Stylo pin from c81cd9c to 633f43a: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's) AI-assisted: Yes (agent session; 2026-10-29 sync -- upstream moved the Stylo pin from 633f43a to da29a2a: the patch applied unchanged and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's) Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
added a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Nov 9, 2026
Build the Stylo crates from third_party/stylo through a `[patch]` table
instead of the crates.io packages that Servo's releases take. The `stylo`
dependency keeps upstream's version requirement exactly as upstream Servo
writes it, and third_party/patches/stylo/update.sh reads it: it fetches
servo/stylo at the release tag of that version (or at the commit of a
git pin, as on upstream's main branch), applies the patches next to it and copies the tracked files (minus upstream's CI and
git configuration) into third_party/stylo, so an upstream bump of the pin
only needs a re-run of the script. `update.sh --export-patches`
regenerates the patches from a Stylo checkout and `update.sh --check`
verifies the committed copy. Cargo applies the table only if the
vendored crates have the versions the dependencies require, which
vendoring the release tag ensures. The whole of third_party is now excluded
from the workspace; the nested Stylo workspace manifest is needed for its
crates' `workspace = true` fields.
The one patch, also proposed upstream, skips cascading the style of a
::before/::after whose matched rules declare no `content`. Such a
pseudo-element cannot generate a box, so Stylo threw the cascaded style
away; universal rules like Tailwind's `*, ::before, ::after { --tw-...: ... }`
made that half of all style traversal work on the GenUI pages. On a
HarmonyOS phone with `--pref=layout_threads=1` (two A/B rounds, 20 loads each)
`layout_proper` drops by 16% (chuxing), 17% (biyadi), 26% (shibashiji)
and 16% (keai), and `traverse_dom` by 41-47%; the default three layout
threads confirm it. Rendering is unchanged: the same pseudo-elements were
already discarded after the cascade.
Validation: `third_party/patches/stylo/update.sh --check` reproduces the committed copy. `./mach check --ohos`, `./mach fmt` and `./mach test-tidy` pass. With the same Stylo patch as a path dependency, `./mach test-wpt --release css/css-pseudo css/css-content css/cssom css/css-transitions css/css-animations css/css-nesting css/css-lists css/selectors css/css-cascade css/css-variables` runs with no unexpected results. 2026-11-09 sync: `update.sh --check` reproduces the copy vendored from Stylo v0.23.0, whose crates.io package names that tag's commit (2dca34592ce) in .cargo_vcs_info.json, and which is the git pin 890aa121c6 of the release's branch point with the crate versions bumped; `cargo metadata --locked` passes, and Cargo.lock takes all 11 Stylo crates from third_party/stylo, with no unused patch.
AI-assisted: Yes (agent session; written and tested by the agent)
AI-assisted: Yes (agent session; 2026-10-08 sync -- upstream moved the Stylo pin from b3e6425 to 7b2f078: rebased the patch (context changes only), re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's so that `cargo metadata --locked` passes at this commit)
AI-assisted: Yes (agent session; 2026-10-13 sync -- upstream moved the Stylo pin from 7b2f078 to c81cd9c: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; dropped the deny.toml hunk and its paragraph, since upstream servo#46281 allows unused allowed organizations; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-10-22 sync -- upstream moved the Stylo pin from c81cd9c to 633f43a: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-10-29 sync -- upstream moved the Stylo pin from 633f43a to da29a2a: the patch applied unchanged and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-11-09 sync -- Servo 0.8.0 takes Stylo from crates.io (0.23.0, Stylo tag v0.23.0, which is upstream's last git pin before the release, 890aa121c6, with the versions bumped; this stack's previous pin was da29a2a): the patch table moved into [patch.crates-io], update.sh reads a version and vendors its release tag (or a git pin, as before), the patch applied unchanged and third_party/stylo was re-vendored; Cargo.lock regenerated from upstream's)
Signed-off-by: Jonathan Schwender <[email protected]>
jschwe
added a commit
to openharmony-rs/servo-ohos
that referenced
this pull request
Nov 10, 2026
Build the Stylo crates from third_party/stylo through a `[patch]` table
instead of the crates.io packages that Servo's releases take. The `stylo`
dependency keeps upstream's version requirement exactly as upstream Servo
writes it, and third_party/patches/stylo/update.sh reads it: it fetches
servo/stylo at the release tag of that version (or at the commit of a
git pin, as on upstream's main branch), applies the patches next to it and copies the tracked files (minus upstream's CI and
git configuration) into third_party/stylo, so an upstream bump of the pin
only needs a re-run of the script. `update.sh --export-patches`
regenerates the patches from a Stylo checkout and `update.sh --check`
verifies the committed copy. Cargo applies the table only if the
vendored crates have the versions the dependencies require, which
vendoring the release tag ensures. The whole of third_party is now excluded
from the workspace; the nested Stylo workspace manifest is needed for its
crates' `workspace = true` fields.
The one patch, also proposed upstream, skips cascading the style of a
::before/::after whose matched rules declare no `content`. Such a
pseudo-element cannot generate a box, so Stylo threw the cascaded style
away; universal rules like Tailwind's `*, ::before, ::after { --tw-...: ... }`
made that half of all style traversal work on the GenUI pages. On a
HarmonyOS phone with `--pref=layout_threads=1` (two A/B rounds, 20 loads each)
`layout_proper` drops by 16% (chuxing), 17% (biyadi), 26% (shibashiji)
and 16% (keai), and `traverse_dom` by 41-47%; the default three layout
threads confirm it. Rendering is unchanged: the same pseudo-elements were
already discarded after the cascade.
Validation: `third_party/patches/stylo/update.sh --check` reproduces the committed copy. `./mach check --ohos`, `./mach fmt` and `./mach test-tidy` pass. With the same Stylo patch as a path dependency, `./mach test-wpt --release css/css-pseudo css/css-content css/cssom css/css-transitions css/css-animations css/css-nesting css/css-lists css/selectors css/css-cascade css/css-variables` runs with no unexpected results. 2026-11-09 sync: `update.sh --check` reproduces the copy vendored from Stylo v0.23.0, whose crates.io package names that tag's commit (2dca34592ce) in .cargo_vcs_info.json, and which is the git pin 890aa121c6 of the release's branch point with the crate versions bumped; `cargo metadata --locked` passes, and Cargo.lock takes all 11 Stylo crates from third_party/stylo, with no unused patch.
AI-assisted: Yes (agent session; written and tested by the agent)
AI-assisted: Yes (agent session; 2026-10-08 sync -- upstream moved the Stylo pin from b3e6425 to 7b2f078: rebased the patch (context changes only), re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's so that `cargo metadata --locked` passes at this commit)
AI-assisted: Yes (agent session; 2026-10-13 sync -- upstream moved the Stylo pin from 7b2f078 to c81cd9c: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; dropped the deny.toml hunk and its paragraph, since upstream servo#46281 allows unused allowed organizations; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-10-22 sync -- upstream moved the Stylo pin from c81cd9c to 633f43a: the patch applied unchanged, re-exported it and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-10-29 sync -- upstream moved the Stylo pin from 633f43a to da29a2a: the patch applied unchanged and re-vendored third_party/stylo; Cargo.lock regenerated from upstream's)
AI-assisted: Yes (agent session; 2026-11-09 sync -- Servo 0.8.0 takes Stylo from crates.io (0.23.0, Stylo tag v0.23.0, which is upstream's last git pin before the release, 890aa121c6, with the versions bumped; this stack's previous pin was da29a2a): the patch table moved into [patch.crates-io], update.sh reads a version and vendors its release tag (or a git pin, as before), the patch applied unchanged and third_party/stylo was re-vendored; Cargo.lock regenerated from upstream's)
Signed-off-by: Jonathan Schwender <[email protected]>
aphrody-dev
pushed a commit
to aphrody-labs/browser
that referenced
this pull request
Nov 16, 2026
This will allows us to use `unused-allowed-org` later, in about 1 week, after self-hosted CI has been rebuilt with this change. This unblocks servo/servo#46281 and will make doing releases easier. Testing: Dependency update, no new tests required. Signed-off-by: Jonathan Schwender <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On crates.io releases we don't use git sources anymore, which required us to remove the field allow-org entry before publishing. To avoid that, let's just allow unused-allowed-org entries.
Testing: The failure mode is only visible on release branches, with crates.io stylo releases.