Repository navigation
Release 0.10.0 - #358
Merged
Merged
Release 0.10.0#358
Conversation
A parametrize value in a pytest node id reaches the JSON report and the baseline written by --sharpit-write-baseline in clear. The tests also pin that a masked baseline matches the same tests on the next run, and that a baseline holding the owner digest of the unmasked node id keeps matching. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…l summary A node id carries parametrize values, so a secret-shaped value reached the JSON report, the JUnit report, the terminal summary and the written baseline in clear. The session finish now masks node ids, finding targets, messages and reasons with the report masker the SARIF writer uses. Baseline owner digests are taken over the masked node id. An entry whose owner is the digest of the unmasked node id is matched to the same test, so a baseline written by an earlier build keeps proving fixes. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…mpare The baseline owner field has not been released, so no published baseline holds the digest of an unmasked node id. Entries keep matching by fingerprint, which masking does not change; the test that a baseline with clear node id targets and no owner keeps matching stays. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…Unit and the summary hold no parametrize value Two node ids whose parametrize values mask to the same text belong to different tests: a deleted test's baseline entry is not proven fixed by the other, and report-only counts both. The JUnit report and sharpit's terminal summary hold no parametrize secret. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…ners and counts Masking node ids in the in-memory report merged tests whose parametrize values mask to the same text: a deleted test's baseline entry read fixed when another test's masked id matched its owner, and report-only counted such tests once. The report keeps the clear node ids in memory. The JSON and JUnit writers take a masked copy, the baseline writer masks targets and messages, and the terminal summary masks the node ids it prints. The baseline owner is again the digest of the clear node id; the fingerprint is already a digest of it. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Both report writers, at the end of the session and after a hook failure, go through write_report_files, so a new report file has one place that masks it. Behaviour is unchanged. Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…asked A released baseline stores clear node ids in targets and messages and no owner. When its tests no longer run, the rewrite keeps the rows and writes them masked. 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>
Closed
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
…oadmap at 0.11.0 Signed-off-by: Flavio Oliva <ffroliva@gmail.com>
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.
Release 0.10.0. See
CHANGELOG.md, section[0.10.0], anddocs/reports/2026-11-28-0.10.0-decisions.md.Changes in this pull request
__version__0.9.0 → 0.10.0, with the two plugin manifests andtests/test_packaging.py.CHANGELOG.md:[Unreleased]moved to[0.10.0] - 2026-11-28, footer links updated.AGENTS.md,README.mdand both copies of the user skill.(
CHANGELOG.md, Security).README.mdandREADME.zh-CN.mdname 0.10.0 as the current release.Not in 0.10.0
in this release.
kinds (Journal sources and insight kinds from BootUI 2.5.0 (transactions, ORM, authorization) #299), swallowed-exception message masking (Swallowed-exception findings: masked message and required reasons for accepted findings #253) and trace and journal masking on the matrix path (Trace and journal masking on the matrix masking path #302) are
on the 0.11.0 milestone.
Checks
sharpit-0.10.0-py3-none-any.whlbuilt locally: it containssharpit/ui/static/and notests/,scripts/orreplica/files.scripts/ci/no_superpowers.pyexits 0.mainat a925b7c; the one later change (fix: bind GitHub credentials to the repository host #354, the GitHub refreshtoken) is covered by its unit tests, because a live refresh needs a real GitHub credential.
scripts/ci/ship_scan.py.Review findings
website/docs/index.mdnamed 0.9.0 as the current releasetests/test_packaging.py::test_status_line_names_the_current_versionFAILED ...[website/docs/index.md-**Status: alpha (]:assert '**Status: alpha (0.10.0' in '# sharpit ...'ROADMAP.mdstill described 0.10.0 as the next releaseCHANGELOG.md; the masking change is planned for 0.11.0This pull request replaces #356, whose commits from the security fix lacked a
Signed-off-bytrailer.