8000 iperf3, oha: review follow-ups (license refs, comments) by bryan-minimal · Pull Request #1648 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

iperf3, oha: review follow-ups (license refs, comments) - #1648

Merged
bryan-minimal merged 3 commits into
mainfrom
iperf3-oha-review-followups
Nov 24, 2026
Merged

bryan-minimal merged 3 commits into
mainfrom
iperf3-oha-review-followups

Conversation

@bryan-minimal
@bryan-minimal bryan-minimal commented Nov 23, 2026 •
Copy link
Copy Markdown
Member

Follow-up to the review threads on #1632 (iperf3) and #1634 (oha), which merged from the queue before these nits could go in.

iperf3: license_spdx

Checked against the pinned release asset iperf-3.22.1.tar.gz (sha256 de018b52…a4a9, matches the pin).

  • LicenseRef-Public-Domain for src/portable_endian.h. Its header reads "License": Public Domain — I, Mathias Panzenböck, place this file hereby into the public domain, and LICENSE repeats it. It is included through src/iperf.h. The id follows packages/libbsd/build.ncl and packages/libmd/build.ncl.
  • LicenseRef-Lucent-Notice for the Lucent notice. LICENSE says src/net.{c,h} "contains parts of an earlier library" by Rob Pike, Sape Mullender and Russ Cox, (c) 2003 Lucent Technologies, under a permission notice. The text is not in net.c itself. I compared it with SPDX dtoa (license-list-XML src/dtoa.xml). It is the same family, but it does not match: iperf's text says "NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE", and dtoa's template says "NEITHER THE AUTHOR NOR MAKES". Only the company name is a variable in the template. No other SPDX licence contains the notice (I grepped all 743 for Lucent, Pike and Mullender), so it gets a LicenseRef- with a comment, as packages/buddy does. This also covers CodeRabbit's thread.
  • The comment now says src/net.{c,h} (as LICENSE does) rather than src/net.c.

oha

Checked against the oha v1.17.0 tag.

  • SQLite comment. In src/main.rs, --db-url ("Write succeeded requests to sqlite database url") is the flag that opens the bundled rusqlite connection in src/db.rs. --output-format is PrintMode = text, json, csv or quiet. The comment now names --db-url.
  • Advisory comment. It now says "free of known vulnerabilities" and names the two informational (unmaintained) advisories that still ship, both listed in the oha 1.17.0 (new): HTTP load generator, built from source #1634 body: chrono RUSTSEC-2026-0543 and humantime RUSTSEC-2026-0542.
  • build.sh. Drops the trailing sha256sum of the binary, which was only an aid for the PR's own reproducibility check.

Rebuild scope

oha/build.sh changed, so oha rebuilds. It is a leaf with no reverse deps. iperf3 changes only attrs and comments, and nothing imports it either.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified oha’s SQLite request logging option, supported output formats, and security advisory details.
    • Updated iperf3 license information to include additional notices.
  • Chores
    • Removed logging of the installed oha binary’s SHA-256 checksum.

iperf3: license_spdx adds LicenseRef-Public-Domain (src/portable_endian.h)
and LicenseRef-Lucent-Notice (the Lucent Technologies permission notice that
LICENSE attaches to src/net.{c,h}; same family as SPDX dtoa but not a match).

oha: the SQLite comment names --db-url (--output-format is text/json/csv/quiet
in 1.17.0); the lock-patch comment says "free of known vulnerabilities" and
names the two unmaintained advisories still shipped (chrono
RUSTSEC-2026-0543, humantime RUSTSEC-2026-0542); build.sh drops the
sha256sum line, which was only a local reproducibility aid.

Follow-up to #1632 and #1634 review threads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bryan-minimal
bryan-minimal requested a review from a team as a code owner November 23, 2026 18:52
@coderabbitai
coderabbitai Bot commented Nov 23, 2026 •
Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

  • Run on-demand review

This review includes 3 billable files and costs up to $0.75.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 58 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 61 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between ce979ac and 0304d65.

Files selected for processing: 3

  • packages/iperf3/build.ncl
  • packages/oha/build.ncl
  • packages/oha/build.sh

No actionable comments were generated in the recent review.

Walkthrough

The iperf3 license declaration now includes two additional license references. The oha package description and advisory note are revised, and its build script no longer logs the installed binary’s checksum.

Changes: iperf3 License Declarations

Layer / File(s) Summary
Document source licenses
packages/iperf3/build.ncl
The comments identify the public-domain status of src/portable_endian.h and the Lucent notice in net.{c,h}. The SPDX expression adds LicenseRef-Public-Domain and LicenseRef-Lucent-Notice.

oha Package Updates

Layer / File(s) Summary
Update package notes and build output
packages/oha/build.ncl, packages/oha/build.sh
The package description documents SQLite export of successful requests through --db-url and lists the supported output formats. The security note names two informational advisories and retains the upstream-version condition. The build script no longer logs the installed binary’s SHA-256 checksum.

Estimated code review effort: 2 (Simple) | ~8 minutes

Possibly related PRs

  • gominimal/pkgs#1632: This PR follows up on the iperf3 license questions raised in #1632 by adding license references for src/portable_endian.h and src/net.{c,h}.

Suggested reviewers: norrietaylor

Merge Risk: Minimal · previous review ce979

This change updates license declarations and package notes and removes a build-time checksum log line. No runtime behavior change or merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two packages touched (iperf3, oha) and the general nature of the change (review follow-ups on license references and comments). It matches the objectives, which describe license re…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two packages touched (iperf3, oha) and the general nature of the change (review follow-ups on license references and comments). It matches the objectives, which describe license ref additions for iperf3 and comment and script corrections for oha. It is somewhat broad: it does not name the main functional change, such as the new LicenseRef identifiers or the removed checksum log. Because it still refers to real aspects of the changeset, it passes as partially related.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 317b4dc and ce979ac.

Files selected for processing: 3

  • packages/iperf3/build.ncl
  • packages/oha/build.ncl
  • packages/oha/build.sh
Files with no reviewable changes: 1

  • packages/oha/build.sh

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@norrietaylor norrietaylor left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Scope matches the title. The diff changes one license_spdx value, three comments, and removes one log line from packages/oha/build.sh. Every hunk traces to the stated follow-ups.

Clobber none. git log shows only the two original package commits (#1632, #1634) on these paths, and the diff reverts nothing from them.

Correctness The new expression uses LicenseRef-Public-Domain, which packages/libbsd/build.ncl:39 and packages/libmd/build.ncl:36 already use. Both new ids match the LicenseRef- pattern in .github/scripts/license_lint.py:37. The LicenseRef- with a comment follows packages/buddy/build.ncl:42-48. The removal of sha256sum leaves packages/oha/build.sh complete: the readelf gate is still the last step and nothing reads the removed output. The same trailing sha256sum line remains in packages/flamethrower/build.sh:59, packages/netperf/build.sh:57 and packages/valkey/build.sh:44. That is outside this diff, and the author can decide whether to remove those also. No secrets and no dependency changes are in the diff.

Not checked The sandbox denied network access. I did not compare the comments with the upstream iperf 3.22.1 LICENSE, the SPDX license list, or the oha v1.17.0 src/main.rs. The claims about the Lucent notice text, the dtoa mismatch, --db-url, and the two RUSTSEC ids rest on the PR body. I did not run a build, and I did not read the CLI version, so agent.version is unknown.

Comment thread packages/iperf3/build.ncl Outdated
# BSD-3-Clause part by Eric Jackson), src/queue.h (BSD-3-Clause, UC), src/units.c (the
# iperf2 NCSA licence) and src/portable_endian.h (public domain, Mathias Panzenböck;
# LicenseRef-Public-Domain as in libbsd). GitHub's licence API reports NOASSERTION for
# this file.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit · "this file" pointed at LICENSE before this change. The sentence now follows src/portable_endian.h, so a reader takes that header as the file with NOASSERTION. Write "GitHub's licence API reports NOASSERTION for LICENSE." This is one instance. The other comments in the diff have clear antecedents.

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.

Fixed in b1b1093: the sentence now reads "GitHub's licence API reports NOASSERTION for LICENSE."

bryan-minimal and others added 2 commits November 24, 2026 08:43
@bryan-minimal
bryan-minimal added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit edec575 Nov 24, 2026
16 checks passed
@bryan-minimal
bryan-minimal deleted the iperf3-oha-review-followups branch November 24, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0