Repository navigation
Conversation
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
… file Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…e protocol Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
This branch has not been deployed
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.
Summary
Task 0.7 of the 0.11.0 plan (#367): property tests at the trust boundary and the vulnerability reporting channel.
tests/fuzz/test_trust_boundary_fuzz.py(new): Hypothesis property tests forextract_request_host(never raises;an accepted host re-joined as a
Hostvalue extracts to the same host) andparse_mode(never raises; an acceptedmode parses to itself). Each runs in under one second. Later tasks add the serialized-origin and
Linkparserproperties to the same file.
SECURITY.md: private vulnerability reporting is enabled, so the "Report a vulnerability" button on the Security tabis the reporting channel; the placeholder-issue route is removed; reports are acknowledged within 7 days.
tests/docs/test_procurement_docs.py: the reporting-section test pins the new text.This pull request is stacked on the 0.11.0 integration branch (#368, #369, #370); review the last commit.
Red evidence
tests/docs/test_procurement_docs.py::test_security_policy_has_private_reporting_routeRED (assertion under tests/)The property tests guard behaviour that already holds; they pass on the previous code by design.
Repository settings (maintainer, not changed by this pull request)
extended:gh api -X PATCH repos/ffroliva/sharpit/code-scanning/default-setup -f query_suite=extended.After merge, the Scorecard alert states are read and recorded; no alert is reported as closed before the next
Scorecard run.
Verification
uv run ruff check,uv run ruff format --check,uv run pyright(0 errors);uv run pytest -q -n 4 tests/fuzz tests/docs.