wip: add Ipv6Prefix::with_client_id impl #102

Closed
jalil wants to merge 1 commit from push-skqkrqmuywls into main
Owner

Leaving here so I don't forget about the code

Leaving here so I don't forget about the code
jalil self-assigned this 2025-02-05 23:22:59 +01:00
wip: add Ipv6Prefix::with_client_id impl
Some checks failed
/ build (push) Successful in 27s
/ check (clippy) (push) Failing after 11s
/ check (module-ipv4-only-test) (push) Successful in 30s
/ check (module-ipv4-test) (push) Successful in 29s
/ check (module-ipv6-only-test) (push) Successful in 29s
/ check (module-ipv6-test) (push) Successful in 29s
/ check (module-nginx-test) (push) Successful in 30s
/ check (nextest) (push) Successful in 3s
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 7s
87c3e31160

Flake output sizes

Definitions:

  • Name: the name of the package/configuration.
  • Size: the closure size (size on disk/NAR size + all transitive dependencies).
  • NAR Size: the size of the build output (package without the dependencies).
  • [NAR] Size Change: the amount changed compared to the main branch.

Tips on reading this data:

  • For NixOS configurations you generally care only about the Size (closure size/size on disk).
    • Reduce the Size by disabling unneeded services/default packages.
  • For Packages you care about both the Size and the NAR Size.
    • Reduce the NAR Size by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc.
    • Reduce the Size by reducing the dependencies (e.g. buildInputs).
    • Don't worry too much about size, some dependencies are deduplicated, e.g. glibc adds ~40MiB to the Size, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. musl is not gonna improve things.

Packages

Name Size Size Change NAR Size NAR Size Change
default 35MiB 0B 2.8MiB 0B
git-cliff 60MiB 0B 19MiB 0B
webnsupdate 35MiB 0B 2.8MiB 0B
# Flake output sizes **Definitions:** - `Name`: the name of the package/configuration. - `Size`: the closure size (size on disk/NAR size + all transitive dependencies). - `NAR Size`: the size of the build output (package without the dependencies). - `[NAR] Size Change`: the amount changed compared to the main branch. **Tips on reading this data:** - For NixOS configurations you generally care only about the `Size` (closure size/size on disk). - Reduce the `Size` by disabling unneeded services/default packages. - For Packages you care about both the `Size` and the `NAR Size`. - Reduce the `NAR Size` by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc. - Reduce the `Size` by reducing the dependencies (e.g. `buildInputs`). - Don't worry too much about size, some dependencies are deduplicated, e.g. `glibc` adds ~40MiB to the `Size`, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. `musl` is not gonna improve things. # Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `default` | 35MiB | 0B | 2.8MiB | 0B | | `git-cliff` | 60MiB | 0B | 19MiB | 0B | | `webnsupdate` | 35MiB | 0B | 2.8MiB | 0B |
jalil force-pushed push-skqkrqmuywls from 87c3e31160
Some checks failed
/ build (push) Successful in 27s
/ check (clippy) (push) Failing after 11s
/ check (module-ipv4-only-test) (push) Successful in 30s
/ check (module-ipv4-test) (push) Successful in 29s
/ check (module-ipv6-only-test) (push) Successful in 29s
/ check (module-ipv6-test) (push) Successful in 29s
/ check (module-nginx-test) (push) Successful in 30s
/ check (nextest) (push) Successful in 3s
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 7s
to c64be28e9a
Some checks failed
/ check-renovaterc (push) Successful in 8s
/ build (push) Successful in 27s
/ test (push) Failing after 1m43s
/ report-size (push) Successful in 10s
2025-03-20 10:42:00 +01:00
Compare

Flake output sizes

Definitions
  • Name: the name of the package/configuration.
  • Size: the closure size (size on disk/NAR size + all transitive dependencies).
  • NAR Size: the size of the build output (package without the dependencies).
  • [NAR] Size Change: the amount changed compared to the main branch.
Tips on reading this data
  • For NixOS/Home-Manager configurations you generally care only about the Size (closure size/size on disk).
    • Reduce the Size by disabling unneeded services/default packages.
  • For Packages you care about both the Size and the NAR Size.
    • Reduce the NAR Size by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc.
    • Reduce the Size by reducing the dependencies (e.g. buildInputs).
    • Don't worry too much about size, some dependencies are deduplicated, e.g. glibc adds ~40MiB to the Size, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. musl is not gonna improve things.

NixOS Configurations

Name Size Size Change NAR Size NAR Size Change

Home Manager Configurations

Name Size Size Change NAR Size NAR Size Change

Packages

Name Size Size Change NAR Size NAR Size Change
webnsupdate 34MiB 0B 2.2MiB 0B
<!-- AUTOGENERATED by nix-flake-outputs-size action --> ## Flake output sizes <details><summary><b>Definitions</b></summary> - `Name`: the name of the package/configuration. - `Size`: the closure size (size on disk/NAR size + all transitive dependencies). - `NAR Size`: the size of the build output (package without the dependencies). - `[NAR] Size Change`: the amount changed compared to the main branch. </details> <details><summary><b>Tips on reading this data</b></summary> - For NixOS/Home-Manager configurations you generally care only about the `Size` (closure size/size on disk). - Reduce the `Size` by disabling unneeded services/default packages. - For Packages you care about both the `Size` and the `NAR Size`. - Reduce the `NAR Size` by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc. - Reduce the `Size` by reducing the dependencies (e.g. `buildInputs`). - Don't worry too much about size, some dependencies are deduplicated, e.g. `glibc` adds ~40MiB to the `Size`, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. `musl` is not gonna improve things. </details> ## NixOS Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| ## Home Manager Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| ## Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `webnsupdate` | 34MiB | 0B | 2.2MiB | 0B |
jalil force-pushed push-skqkrqmuywls from c64be28e9a
Some checks failed
/ check-renovaterc (push) Successful in 8s
/ build (push) Successful in 27s
/ test (push) Failing after 1m43s
/ report-size (push) Successful in 10s
to 347e82d09d
Some checks failed
/ check-renovaterc (push) Successful in 3s
/ build (push) Successful in 28s
/ check-integration-tests (push) Failing after 1m46s
/ report-size (push) Successful in 9s
2025-05-17 11:52:21 +02:00
Compare
jalil force-pushed push-skqkrqmuywls from 347e82d09d
Some checks failed
/ check-renovaterc (push) Successful in 3s
/ build (push) Successful in 28s
/ check-integration-tests (push) Failing after 1m46s
/ report-size (push) Successful in 9s
to 4e95695734
Some checks failed
/ check-renovaterc (push) Successful in 11s
/ build (pull_request) Successful in 49s
/ checks (x86_64-linux, clippy) (pull_request) Failing after 12s
/ checks (x86_64-linux, deny) (pull_request) Successful in 4s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 33s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 33s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 33s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 4s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 3s
/ trigger-release (pull_request) Has been skipped
/ report-size (pull_request) Successful in 5s
2025-09-01 22:22:11 +02:00
Compare
Author
Owner

Incorporated in #419

Incorporated in #419
jalil closed this pull request 2025-09-18 22:24:01 +02:00
jalil deleted branch push-skqkrqmuywls 2025-09-18 22:24:04 +02:00
Some checks failed
/ check-renovaterc (push) Successful in 11s
/ build (pull_request) Successful in 49s
Required
Details
/ checks (x86_64-linux, clippy) (pull_request) Failing after 12s
Required
Details
/ checks (x86_64-linux, deny) (pull_request) Successful in 4s
Required
Details
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 33s
Required
Details
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 32s
Required
Details
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 33s
Required
Details
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 32s
Required
Details
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 33s
Required
Details
/ checks (x86_64-linux, nextest) (pull_request) Successful in 4s
Required
Details
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 3s
Required
Details
/ trigger-release (pull_request) Has been skipped
Required
Details
/ report-size (pull_request) Successful in 5s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jalil/webnsupdate!102
No description provided.