Skip to content

chore(release): v0.7.0 - #475

Open
ffumero2003 wants to merge 12 commits into
mainfrom
chore-release-issue-474-v0-6-1
Open

ffumero2003 wants to merge 12 commits into
mainfrom
chore-release-issue-474-v0-6-1

Conversation

@ffumero2003

@ffumero2003 ffumero2003 commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Context

Prepares the next release of @backblaze-labs/b2-sdk. Originally cut as 0.6.1; re-cut as 0.7.0 because the range contains caller-visible behavior changes that a patch must not ship (per RELEASE.md, breaking pre-1.0 changes take a minor bump under ### Changed).

This PR updates version and release notes and also changes SDK finish-error handling in src/upload/finish.ts, src/upload/cancel.ts, and src/errors/index.ts. The proposed split of this behavior fix into a separate PR remains pending.

Breaking changes (now under ### Changed, marked BREAKING:)

  • Non-idempotent native mutations are no longer auto-replayed (fix(http): don't replay non-idempotent native mutations on retryable errors #406). create-key, create-bucket, copy-file and hide-file now surface connection failures and HTTP 408/5xx without automatic retry (reauthorization, 429 backoff and read/download retries still apply). Replaying these risked duplicate resources. Callers must check the operation's result before manually retrying a mutation.
  • 5xx large-file finish failures are no longer auto-cancelled (fix: non-zero exit on sync errors, validate upload concurrency, treat 5xx finish as ambiguous #428). A 5xx from b2_finish_large_file is treated as ambiguous, so a possibly-committed large file may remain; check the result before retrying. The rejected error type is unchanged — still B2Error, so instanceof B2Error && status >= 500 handlers continue to match. (This reverts the earlier FinishLargeFileResponseBodyError wrapping that would have broken those handlers.)

Changes

  • Version → 0.7.0; .changes/v0.7.0.md + regenerated CHANGELOG.md (via changie).
  • Moved the two entries above from ### Fixed to ### Changed with BREAKING: markers.
  • Dropped the maintainer-tooling-only ### Changed entry (not user-actionable).
  • Release date set to 2026-11-30.
  • MIGRATION.md reverted (the earlier finish-error section is removed; the raw client still rejects 5xx with B2Error).

Risk

The finish changes alter error propagation and cleanup for ambiguous 5xx responses. A regression could change caller error handling or cancel a file whose finish may have committed; upload, stream, and copy regressions cover these paths.

How to revert

Revert the release merge commit if the release needs to be rolled back. If the finish change is split out, revert its fix commit separately and reassess ambiguous-finish cleanup behavior.

Verification

  • pnpm run changelog:check: generated history current, fragments valid.
  • pnpm biome check src, pnpm typecheck, pnpm build: clean.
  • pnpm vitest run src/upload src/copy src/errors: 23 files, 600 tests passed. The stream and large-copy paths now each pin the 5xx-finish contract (B2Error, zero b2_cancel_large_file, one finish-ambiguous event), mutation-checked.

Before tagging: merge main is already in; dispatch Integration (real B2) on main once and confirm green (the new release gate), then tag.

Closes #474

Bump the package to 0.6.1 and assemble the pending Changie fragments (20 Fixed, 1 Changed) into the 0.6.1 changelog section.

@goanpeca goanpeca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Findings

Severity Location Finding and requested change
Important package.json:3, .changes/v0.6.1.md Breaking change shipped as a patch. Since #428, high-level large-file finish 5xx failures reject with FinishLargeFileResponseBodyError, which does not extend B2Error; existing instanceof B2Error handlers stop matching, as MIGRATION.md acknowledges. #406 also stops replaying native create-key, create-bucket, copy-file and hide-file calls on connection failures and 408/5xx. RELEASE.md:90-98 puts breaking pre-1.0 changes in a minor bump under ### Changed; as 0.6.1, every ^0.6.0 consumer gets it automatically. Either keep the old error contract, or release 0.7.0 with these entries under ### Changed and marked BREAKING:.
Important MIGRATION.md:13-16, .changes/v0.6.1.md The migration note overstates the scope. client.raw.finishLargeFile() still rejects a 5xx with B2Error (for example ServiceUnavailableError); it raises FinishLargeFileResponseBodyError only when the response body can't be read (src/raw/index.ts:1072-1078). The 5xx wrapping happens in the high-level finalizer (src/upload/finish.ts:57-67). Name the affected high-level operations and state the raw-client behavior separately.
Important branch; PR checklist Branch predates the new release gate; live integration is red. #467 on main moved PR integration runs to the b2-simulator, and made release.yml require a recent green Integration (real B2) run on main that includes the release commit. The checklist still describes the old flow. Merge main (clean), then dispatch Integration (real B2) on main after merge and before tagging. The Node 24 failure (live-contracts.test.ts:186-190: a wrong-SHA-1 part rejected with an unexpected classification) is likely transient: the PR changes no source, Node 22 passed in the same run, and the same tree passed real B2 on main before and after. The log doesn't show the actual error, so get a green re-run before release.
Nit .changes/v0.6.1.md:1 Stale release date (2026-11-27, not yet tagged; v0.6.0 was dated its tag day). Regenerated when the version is re-run.
Nit PR body Outdated description. It says 21 fragments and a security hold; the diff consumes 23 fragments, the generated notes include a Security section, and release:security now passes (0 open alerts). The packed-tarball smoke has now been run (passes).
Nit .changes/v0.6.1.md ### Changed The only Changed entry is maintainer tooling (#401 release process), which SDK users can't act on. Consider dropping it from the user changelog.
Pre-existing scripts/smoke-published-package.test.mjs:271 Smoke-helper tests fail unguarded. 3/8 fail on main and here: the fake-package fixture lacks enum exports that package-export-probes.mjs:26 checks (DownloadHeaderName). No workflow or verify step runs this file.
Pre-existing scripts/build-release-artifact.mjs:15, scripts/verify-release-channel.test.mjs:11 Release scripts break under the pinned pnpm 11 standalone binary. They run node $npm_execpath, which points at a native executable, so build:release and test:release-channel fail locally. CI passes with the JS distribution.

What holds up

  • pnpm changelog:check passes; every source-changing PR since v0.6.0 has a fragment (only doc-comment PRs #458-#460 and #465 have none).
  • Only version, changelog and consumed fragments change; no source, dependency or lockfile changes.
  • Release security passes with 0 open Dependabot alerts; milestone has only this PR and #474 open (expected).

Verification

Check Result
Frozen install; merge with current main Pass; clean merge
Full pnpm verify (merged tree) Pass: 2,961 tests, 9 skipped
test:slow, test:coverage, audit:deps, changelog:check Pass
build:release, verify:release-channel --published Pass, b2-sdk-typescript/0.6.1
Packed 0.6.1 tarball smoke Pass: ESM/CJS, 48 export files, 12 subpath probes
release:security, release:milestone Pass; 2 expected open items
Raw 503 on finishLargeFile Rejects with B2Error (ServiceUnavailableError)
Browser, Bun, cross-platform CI Pass (published results)

Not run: credentialed live tests locally, signed-tag and OIDC publish steps.

5xx responses from b2_finish_large_file stay ambiguous (no automatic
cancellation) but are rethrown as the original B2Error, as in 0.6.0.
Ambiguity is tracked out of band so the error type does not change in a
patch release. Drops the MIGRATION.md section that described the type change.
@ffumero2003 ffumero2003 changed the title chore(release): v0.6.1 chore(release): v0.7.0 Nov 30, 2026
@ffumero2003

Copy link
Copy Markdown
Contributor Author

Thanks for the thorough review, @goanpeca. Addressed at c00996c:

Your finding Resolution
Breaking change shipped as a patch (5xx finish + #406) Fixed. Re-cut as 0.7.0. Both are now under ### Changed marked BREAKING:. The 5xx finish additionally keeps rejecting with B2Error (error type unchanged), so instanceof B2Error handlers still match — only the no-auto-cancel behavior changed. #406's non-replay stays as-is (it's a safety fix) and is disclosed as breaking.
MIGRATION.md overstates scope Fixed. Removed the MIGRATION.md section I'd added. The raw client (client.raw.finishLargeFile()) still rejects a 5xx with B2Error; the changelog now scopes the change to the high-level finalizer only.
Branch predates the release gate; live integration red Fixed (merge) / deferred (dispatch). Merged main (clean). The Node 24 live-contracts failure was from two tests I'd added against the old in-process simulator; they now use the standalone resetRemoteSimulator harness and pass. The Integration (real B2) dispatch on main is a post-merge, pre-tag step — will run it and confirm green before tagging.
Stale release date Fixed — 2026-11-30.
Outdated PR description Fixed — rewritten for 0.7.0 with the breaking changes called out.
### Changed is maintainer tooling only Fixed — dropped the #401 release-tooling entry from the user changelog.
Smoke-helper tests fail unguarded (pre-existing) Deferred — pre-existing on main, no workflow runs that file; out of scope for this release. Happy to file a follow-up.
Release scripts break under pnpm 11 standalone (pre-existing) Deferred — pre-existing; CI uses the JS distribution and passes. Follow-up candidate.

Re-requesting your review.

@ffumero2003
ffumero2003 requested a review from goanpeca November 30, 2026 15:33

@goanpeca goanpeca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Findings

Severity Location Finding and requested change
Important PR body; issue #474; milestone v0.7.0 Release metadata contradicts the PR. #474's body (context, gate commands, acceptance criteria, signed-tag step) still says 0.6.1, and the milestone description still calls it the v0.6.1 release; following that checklist runs the wrong gates and tags the wrong version. The PR body says "no SDK source" changes, yet the head changes src/errors/index.ts, src/upload/cancel.ts and src/upload/finish.ts plus regression suites; a chore(release) squash would hide that behavior fix. Update #474 and the milestone to 0.7.0, and either split the source fix into a fix: PR merged first or make the body (scope, risk, rollback) and squash subject state it.
Important src/upload/cancel.ts:22, :237 The exported cleanup-event docs describe the wrong error identity. AmbiguousFinishCleanupFailureEvent.error is documented as the "error thrown to the caller". On the 5xx path the caller gets the original B2Error, while the event carries a separate FinishLargeFileResponseBodyError from the WeakMap whose cause is that B2Error. Consumers comparing event.error with the caught error will be misled. Describe event.error as reconciliation metadata (for 5xx, cause is the thrown B2Error; other ambiguous paths throw the wrapper itself), and add an identity assertion to the 5xx regression test. The marker logic itself is sound: upload, copy and stream all route through it, and the stream's markErrored keeps the error's identity.
Nit branch history; AGENTS.md:161 Commit policy. 155f0bd (90), c00996c (79) and 099a603 (78) subjects exceed 72 characters; af271fc and 45534ec have bodies. Squash-merge with a compliant single-line subject.
Nit .changes/v0.7.0.md ### Changed (finish entry) "Check the result before retrying" gives callers no handle. The thrown B2Error has no fileId; the ambiguous ID is only on the onCleanupFailure event (reason: 'finish-ambiguous', error.fileId). Name that event, or say to list file versions or unfinished large files by name.
Nit src/upload/cancel.ts:304 The non-object branch of the marker lookup is uncovered. Trivial; coverage gates pass.
Pre-existing scripts/build-release-artifact.mjs:15, scripts/verify-release-channel.test.mjs:11 test:release-channel fails under the pnpm 11 standalone binary (npm_execpath points at a native executable), so pnpm verify stops there locally. CI is unaffected.
Pre-existing biome.json:2, src/upload/part-url-pool.ts:13 Lint noise on main: Biome schema 2.5.8 vs CLI 2.5.12 (info; #438 bumps it) and a non-fatal jsdoc/sort-tags warning.

Verification

Check Result
pnpm verify All steps pass except the pre-existing test:release-channel; vitest 124 files, 2,963 pass, 9 skipped
Remaining verify steps run individually (build, verify:release-channel, docs, verify:*, verify:exports) Pass
test:coverage, test:slow, changelog:check Pass; finish.ts and cancel.ts 100% lines
Focused finish suites on the pinned remote simulator 7/7 pass
Mutation: rethrow B2Error without the marker 5 tests fail (caught); the definite-400 control passes
Mutation: always wrap (old #428 behavior) 6 tests fail (caught)
0.6.0 baseline 5xx was not ambiguous, so 0.6.0 cancelled after a finish 5xx; the BREAKING: wording is accurate
Release policy, workflow verifier, docs-consistency suites Pass
Published CI Node, Bun, browsers, coverage, build, simulator integration, security: pass

Merge blockers: draft status, the two Important findings, and review-risk (dismiss or supersede the CHANGES_REQUESTED on bc7a3a3, then 2 authorized approvals for the high tier). After merge and before tagging, confirm Integration (real B2) is green on the merge commit.

Not run: live B2, signed-tag and OIDC publish steps. Nothing was posted to GitHub.

@ffumero2003
ffumero2003 marked this pull request as ready for review December 1, 2026 15:19
@quality-keeper

quality-keeper Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Quality Keeper — Advisory Review

Source: backblaze-labs/b2-sdk-typescript

Advisory only — this is not a required status check. Quality Keeper reviewed this repository snapshot and is reporting what it found. It changes no status and merges nothing; suggested scaffolds are starting points, not proof.

Quality Keeper assessed the repository, executed checks, and collected results, covering 22 quality expectations.

Evidence adequacy

  • authorization_boundaries_need_permission_behavior_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • credential_handling_assets_need_non_exposure_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • sensitive_operations_need_diagnostic_non_exposure_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • published_sdk_packages_need_integration_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • outbound_calling_assets_need_timeout_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • cancellation_or_idempotency_controls_need_behavior_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • published_sdk_packages_need_reliability_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • code_assets_need_unit_testing: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.
  • predicate_filter_functions_need_direct_unit_tests: Evidence adequacy: unknown — no supported path coverage report was located. Report revision and assertion strength remain unverified.

Detected Capabilities

  • src:93af7fbf74e9e411 — backblaze-labs/b2-sdk-typescript: Cancellation or idempotency control, Credentials, Authorization boundary, CI workflows, Docs, Exports, Frontend build tooling, Package dependencies, Predicate filter functions, Publish config, Scripts, Sensitive operation diagnostics, Source modules, Typescript project config, Outbound calls, CLI

Five repository-quality areas

Hard expectations keep their exact Evidence State. Advisory applicability questions are separate. Implementation or suite presence is not proof of a trusted run.

Area Hard expectations Evidence States Implementation status Advisory questions
Observability 0 — not_applicable 1 0
Product Analytics 0 — not_applicable 1 0
User Feedback 0 — not_applicable 1 0
Reliability 3 pending_run 3 implemented 3 0
Security 5 missing 1, pending_run 2, verified 2 implemented 4, not_detected 1 1
Other registered quality 14 missing 1, pending_run 11, verified 2 not_evaluated 14 1
Observability — 0 hard, 0 advisory

Can operators understand and diagnose repository-owned runtime behavior?

Hard expectations

None selected.

Applicability Review Gaps (advisory)

None.

Product Analytics — 0 hard, 0 advisory

Does repository-owned product analytics instrumentation behave safely and as declared?

Hard expectations

None selected.

Applicability Review Gaps (advisory)

None.

User Feedback — 0 hard, 0 advisory

Do repository-owned feedback and support-intake flows behave safely and accessibly?

Hard expectations

None selected.

Applicability Review Gaps (advisory)

None.

Reliability — 3 hard, 0 advisory

Does repository-owned software fail, recover, time out, and report health predictably?

Hard expectations

  • Cancellation or idempotency controls need behavior testing — Testing Type reliability_resilience_testing — Evidence State pending_run
    • Why it applies: Production source declares a cancellation primitive or idempotency control, so its externally observable behavior needs repository-owned verification.
    • Implementation presence: implemented
    • Implementation explanation: A repository-owned health contract, outbound call, retry policy, cancellation/idempotency control, or reliability alert definition is present. Presence does not prove correct failure, timeout, retry, recovery, or alert behavior. Detection establishes presence only and does not imply PASS; Evidence State remains pending_run.
    • Implementation provenance:
      • interpretation / declares_cancellation_or_idempotency_control
    • Applicability signals: component_roles:source_code, declares_cancellation_or_idempotency_control, production_capabilities:declares_cancellation_or_idempotency_control
    • Behavior suite / source: candidate — cancellation_idempotency_tests [scripts/release-policy.test.mjs, scripts/select-qk-checks.test.mjs, src/auth/reauth-coalescer.test.ts, src/backup/client.test.ts, src/backup/raw.test.ts, +48 more (full list in structured evidence)]
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • cancellation_idempotency_tests via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.
  • Outbound calling assets need timeout testing — Testing Type reliability_resilience_testing — Evidence State pending_run
    • Why it applies: Production source contains a recognized outbound network-client call site, so explicit timeout behavior needs repository-owned verification.
    • Implementation presence: implemented
    • Implementation explanation: A repository-owned health contract, outbound call, retry policy, cancellation/idempotency control, or reliability alert definition is present. Presence does not prove correct failure, timeout, retry, recovery, or alert behavior. Detection establishes presence only and does not imply PASS; Evidence State remains pending_run.
    • Implementation provenance:
      • interpretation / makes_outbound_calls
    • Applicability signals: component_roles:source_code, makes_outbound_calls, production_capabilities:makes_outbound_calls
    • Behavior suite / source: candidate — outbound_timeout_tests [.sdkharness/tests/unit/guard.test.cjs, scripts/changelog-version.test.mjs, scripts/release-policy.test.mjs, src/auth/file.node.test.ts, src/errors/errors.test.ts, +16 more (full list in structured evidence)]
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • outbound_timeout_tests via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.
  • Published sdk packages need reliability testing — Testing Type reliability_resilience_testing — Evidence State pending_run
    • Why it applies: The interpreted asset is a published package or library with a detected external service or network boundary — consumers depend on predictable error classification and failure-path behavior, so those paths need verification against the declared public contract. Timeout and retry expectations are selected separately when their owned call sites or policies are detected.
    • Implementation presence: implemented
    • Implementation explanation: A repository-owned health contract, outbound call, retry policy, cancellation/idempotency control, or reliability alert definition is present. Presence does not prove correct failure, timeout, retry, recovery, or alert behavior. Detection establishes presence only and does not imply PASS; Evidence State remains pending_run.
    • Implementation provenance:
      • interpretation / makes_outbound_calls
    • Applicability signals: component_roles:source_code, has_publish_config, makes_outbound_calls, production_capabilities:has_publish_config, production_capabilities:makes_outbound_calls
    • Behavior suite / source: candidate — failure_path_tests [.sdkharness/tests/unit/guard.test.cjs, scripts/changelog-version.test.mjs, scripts/release-policy.test.mjs, scripts/select-qk-checks.test.mjs, src/auth/file.node.test.ts, +37 more (full list in structured evidence)]
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • failure_path_tests via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.

Applicability Review Gaps (advisory)

None.

Security — 5 hard, 1 advisory

Do static controls and repository-owned security behaviors protect the intended boundaries?

Hard expectations

  • Authorization boundaries need permission behavior testing — Testing Type dynamic_security_testing — Evidence State pending_run
    • Why it applies: The interpreted asset contains a production authorization, role, permission, tenant, resource, or ownership boundary, so repository-owned tests must prove forbidden cross-boundary access is denied.
    • Implementation presence: implemented
    • Implementation explanation: A repository-owned authentication, authorization, credential-handling, secure-default, or security-audit boundary is present. Presence does not prove the boundary behaves securely. Detection establishes presence only and does not imply PASS; Evidence State remains pending_run.
    • Implementation provenance:
      • interpretation / has_authorization_boundary
    • Applicability signals: has_authorization_boundary, production_capabilities:has_authorization_boundary
    • Behavior suite / source: candidate — authorization_boundary_behavior_suite [.sdkharness/tests/unit/governance-refusal.test.cjs, .sdkharness/tests/unit/legal-hold-refusal.test.cjs, scripts/docs-front-matter.test.mjs, scripts/release-policy.test.mjs, scripts/release-workflow-policy.test.mjs, +70 more (full list in structured evidence)]
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • authorization_boundary_behavior_suite via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.
  • Credential handling assets need non exposure testing — Testing Type dynamic_security_testing — Evidence State pending_run
    • Why it applies: The interpreted asset contains production credential, token, password, API-key, redaction, or sanitization handling, so repository-owned tests must prove sensitive values are not logged, returned, or durably exposed.
    • Implementation presence: implemented
    • Implementation explanation: A repository-owned authentication, authorization, credential-handling, secure-default, or security-audit boundary is present. Presence does not prove the boundary behaves securely. Detection establishes presence only and does not imply PASS; Evidence State remains pending_run.
    • Implementation provenance:
      • interpretation / handles_credentials
    • Applicability signals: handles_credentials, production_capabilities:handles_credentials
    • Behavior suite / source: candidate — secret_non_exposure_behavior_suite [scripts/release-policy.test.mjs, scripts/select-qk-checks.test.mjs, scripts/smoke-published-package.test.mjs, src/auth/auth.test.ts, src/auth/file.node.test.ts, +36 more (full list in structured evidence)]
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • secret_non_exposure_behavior_suite via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.
  • Sensitive operations need diagnostic non exposure testing — Testing Type dynamic_security_testing — Evidence State missing
    • Why it applies: The interpreted asset declares a sensitive operation that accepts a signing secret or sensitive custom header, so operation-specific tests must prove non-exposure across every diagnostic surface and path; an unrelated log-security test is not coverage.
    • Implementation presence: not_detected
    • Implementation explanation: The standards-owned implementation contract was evaluated from frozen Interpretation and Harvest facts, but no registered signal was detected. This does not alter Evidence State (missing).
    • Applicability signals: has_sensitive_operation_diagnostics, production_capabilities:has_sensitive_operation_diagnostics
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • sensitive_operation_diagnostic_non_exposure_suite via sensitive_operation_diagnostics/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: registered implementation signal not detected; normalized trusted run binding not present; Evidence State remains missing
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.
  • Code and configuration assets need static security analysis — Testing Type static_security_analysis — Evidence State verified
    • Why it applies: The interpreted asset contains code, configuration, dependencies, secrets coordinates, infrastructure-as-code, or service boundaries, so static security analysis is required before runtime evidence is trusted.
    • Implementation presence: implemented
    • Implementation explanation: Harvest found an accepted repository-owned static security control or analysis artifact for this expectation. Presence does not prove every required control or a passing Evidence State. Detection establishes presence only and does not imply PASS; Evidence State remains verified.
    • Implementation provenance:
      • harvest / dependency_audit_command @ backblaze-labs/b2-sdk-typescript
    • Applicability signals: has_frontend_build_tooling, has_package_dependencies, production_capabilities:has_frontend_build_tooling, production_capabilities:has_package_dependencies, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / current
    • Safe provenance:
      • credential_handling_static_review via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • dependency_audit_command via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • dependency_audit_command via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • fuzz_testing via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • openssf_scorecard via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sast_workflow via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sast_workflow via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sbom_generation via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — already verified before this run.
  • Published packages need provenance proof — Testing Type static_security_analysis — Evidence State verified
    • Why it applies: The interpreted asset is a published package with source code, so published release artifacts should carry provenance metadata (npm provenance, SLSA attestation, or sigstore signature) to protect the supply chain.
    • Implementation presence: implemented
    • Implementation explanation: Harvest found an accepted repository-owned static security control or analysis artifact for this expectation. Presence does not prove every required control or a passing Evidence State. Detection establishes presence only and does not imply PASS; Evidence State remains verified.
    • Implementation provenance:
      • harvest / sdk_provenance_proof @ backblaze-labs/b2-sdk-typescript
    • Applicability signals: component_roles:source_code, has_exports, has_publish_config, production_capabilities:has_exports, production_capabilities:has_publish_config
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / current
    • Safe provenance:
      • sdk_provenance_proof via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — already verified before this run.

Applicability Review Gaps (advisory)

  • dynamic_security_testing for src:93af7fbf74e9e411 — The asset contains authentication-shaped source but no application/service runtime surface Quality Keeper can confirm. An SDK, MCP server, CLI, or library may validate or forward credentials without owning web login or request rejection; a human should confirm whether an authentication-rejection expectation applies.
    • Present facts: has_authentication_boundary
    • Next: Confirm whether this testing type applies.
Other registered quality — 14 hard, 1 advisory

Registered Testing Types not assigned to one of the five focused areas.

Hard expectations

  • Packaged or runnable assets need build verification — Testing Type build_verification — Evidence State pending_run
    • Why it applies: The interpreted asset has package, script, workflow, UI, service, CLI, edge-runtime, or game-runtime signals, so it needs a reproducible build or equivalent construction check.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_ci_workflows, has_frontend_build_tooling, has_package_dependencies, has_scripts, production_capabilities:has_ci_workflows, production_capabilities:has_frontend_build_tooling, production_capabilities:has_package_dependencies, production_capabilities:has_scripts, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • ci_build_check via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • clean_build_command via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • package_artifact_validation via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: Investigate the failed, blocked, or skipped sibling check; a passing sibling does not satisfy the whole expectation.
  • Published packages need sdk build artifact review — Testing Type build_verification — Evidence State pending_run
    • Why it applies: The interpreted asset is a published package with source code, so the distribution manifest completeness, pack tarball integrity, and declared file list need verification as part of the release artifact.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: component_roles:source_code, has_exports, has_publish_config, production_capabilities:has_exports, production_capabilities:has_publish_config
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • python_dist_inspection_proof via python_dist_inspection/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • python_dist_inspection_proof via python_dist_inspection/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • python_package_metadata_proof via python_package_metadata/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sdk_pack_tarball_proof via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sdk_pack_tarball_proof via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sdk_package_metadata_proof via sdk_repo_local_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sdk_package_metadata_proof via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: Investigate the failed, blocked, or skipped sibling check; a passing sibling does not satisfy the whole expectation.
  • Consumer or platform boundaries need compatibility testing — Testing Type compatibility_testing — Evidence State pending_run
    • Why it applies: The interpreted asset is published or consumed across environments (published package, exported API, command-line tool, or edge target), so compatibility across platforms, versions, and consumers needs verification.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_exports, has_publish_config, production_capabilities:has_exports, production_capabilities:has_publish_config, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • declared_dependency_integration via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • platform_matrix_ci via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — exercised this run.
  • Published typescript packages need type declaration check — Testing Type compatibility_testing — Evidence State pending_run
    • Why it applies: The interpreted asset is a published TypeScript package (tsconfig.json or has_types in package.json detected), so generated .d.ts declaration files and type resolution must be verified from a consumer project's perspective.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_exports, has_publish_config, has_typescript_project_config, production_capabilities:has_exports, production_capabilities:has_publish_config, production_capabilities:has_typescript_project_config
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • sdk_type_declaration_check via sdk_repo_local_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • sdk_type_declaration_check via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — exercised this run.
  • Every asset needs configuration review — Testing Type configuration_artifact_review — Evidence State verified
    • Why it applies: Every interpreted asset needs a static review of its declared files, manifests, configuration, and artifacts so Quality Keeper can explain its shape before evidence is harvested.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains verified; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: none recorded
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / current
    • Safe provenance:
      • manifest_shape_review via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • policy_as_code_check via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • required_artifact_presence via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • work_product_review_record via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — already verified before this run.
  • Public or network boundaries need contract testing — Testing Type contract_testing — Evidence State pending_run
    • Why it applies: The interpreted asset publishes or exposes a boundary that other software depends on (network API, CLI, package exports, or an importable Go external client), so the public interface contract needs verification.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_exports, has_publish_config, production_capabilities:has_exports, production_capabilities:has_publish_config, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not located
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • api_schema_validation via test_source_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • consumer_contract_suite via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • public_api_surface_contract via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; repository-owned behavior suite not located; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: It was selected but produced no result — opt in (e.g. --include-expensive) or fix the command; do not just re-select it.
  • Published sdk packages need integration testing — Testing Type integration_testing — Evidence State pending_run
    • Why it applies: The interpreted asset is a published package or library that creates an integration boundary for consumers, so the package's integration paths, API contracts, and external service behaviors need integration-level verification.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: component_roles:source_code, has_exports, has_publish_config, production_capabilities:has_exports, production_capabilities:has_publish_config
    • Behavior suite / source: not located
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • ci_integration_check via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • local_integration_suite via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; repository-owned behavior suite not located; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: It was selected but produced no result — opt in (e.g. --include-expensive) or fix the command; do not just re-select it.
  • Every asset needs discoverability review — Testing Type metadata_discoverability_review — Evidence State verified
    • Why it applies: Every interpreted asset needs enough metadata and documentation for humans and systems to identify what it is and how to work with it.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains verified; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: none recorded
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / current
    • Safe provenance:
      • repository_metadata_check via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — already verified before this run.
  • Runnable assets need runtime smoke testing — Testing Type runtime_smoke_testing — Evidence State pending_run
    • Why it applies: The interpreted asset has runtime behavior, so it needs a lightweight startup, import, liveness, or smoke check before deeper evidence is trusted.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • health_endpoint_smoke via deploy_health_check_promotion/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • startup_smoke_command via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — exercised this run.
  • Documented assets need specification conformity review — Testing Type specification_conformity_review — Evidence State pending_run
    • Why it applies: The asset carries documentation, so documented commands, setup instructions, examples, and claims need to stay aligned with the implementation.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_docs, production_capabilities:has_docs
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • docs_vs_code_drift_report via repo_local_static/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • documented_command_verification via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — exercised this run.
  • Published packages with docs need example validation — Testing Type specification_conformity_review — Evidence State pending_run
    • Why it applies: The interpreted asset is a published package with detected documentation, so code examples in README, docs, or examples directories should be compiled or type-checked to confirm they match the actual public API.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_docs, has_exports, has_publish_config, production_capabilities:has_docs, production_capabilities:has_exports, production_capabilities:has_publish_config
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • sdk_example_validation via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: None — exercised this run.
  • Cli sdk iac assets need system testing — Testing Type system_testing — Evidence State pending_run
    • Why it applies: The interpreted asset is a CLI, published package/SDK, or IaC provider that makes outbound calls to a real external dependency, so its own entry point needs an end-to-end test of that real flow — not just unit or integration coverage of individual pieces.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_exports, has_publish_config, makes_outbound_calls, production_capabilities:has_exports, production_capabilities:has_publish_config, production_capabilities:makes_outbound_calls, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • ci_e2e_check via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • local_e2e_suite via local_e2e_suite_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: It was selected but produced no result — opt in (e.g. --include-expensive) or fix the command; do not just re-select it.
  • Code assets need unit testing — Testing Type unit_testing — Evidence State pending_run
    • Why it applies: The interpreted asset contains runnable or reusable source code, so the smallest testable units need isolated verification.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains pending_run; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: component_roles:source_code, has_frontend_build_tooling, has_package_dependencies, has_source_modules, production_capabilities:has_frontend_build_tooling, production_capabilities:has_package_dependencies, production_capabilities:has_source_modules, production_capabilities:provides_cli, provides_cli
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: unbound
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • ci_unit_test_check via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • coverage_report via workflow_context_static/pipeline_context @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
      • local_unit_test_suite via package_script_content/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; normalized trusted run binding not present; Evidence State remains pending_run
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: Investigate why the check did not exercise (skips / blocked / no assertions).
  • Predicate filter functions need direct unit tests — Testing Type unit_testing — Evidence State missing
    • Why it applies: The interpreted asset declares at least one exported filter/predicate/matcher function, so that exact function needs direct test coverage, not just general unit-test presence elsewhere in the codebase.
    • Implementation presence: not_evaluated
    • Implementation explanation: Implementation detection was not evaluated because no applicable standards-owned detection contract was available. Evidence State remains missing; if verified, that verdict still comes only from Evaluate's accepted evidence.
    • Applicability signals: has_predicate_filter_functions, production_capabilities:has_predicate_filter_functions
    • Behavior suite / source: not required by the selected criteria
    • Native GitHub result: not observed
    • Structured summary: not_observed
    • Trusted run: not required by the selected criteria
    • Revision / freshness: e811f3ae65f30b6bb529e952353748a838dffa61 / unknown
    • Safe provenance:
      • direct_predicate_function_tests via predicate_function_coverage/repo_local @ backblaze-labs/b2-sdk-typescript; 2026-12-01T15:51:13.107061+00:00
    • Partial/unbound proof: implementation detection not evaluated; Evidence State remains missing
    • Owner / target: backblaze-labs/b2-sdk-typescript / src:93af7fbf74e9e411
    • Next: No seed proposal — an operator must design acceptable evidence for this expectation.

Applicability Review Gaps (advisory)

  • performance_efficiency_testing for src:93af7fbf74e9e411 — The asset has a runtime, user interface, CLI entrypoint, or outbound service/object-storage client behavior but no deployment, edge-runtime, or game-loop signal. Performance-efficiency applicability is ambiguous — does this SDK/CLI need performance bounds, such as throughput, latency, or memory on large transfers? Measuring performance of a non-deployed sample is premature; a human should confirm whether it runs under a performance budget.
    • Present facts: makes_outbound_calls, provides_cli
    • Next: Confirm whether this testing type applies.

Result

  • 9 expectations are covered by acceptable evidence.
  • 13 still need attention — Quality Keeper cannot count them as covered yet.

Covered

Quality Keeper found acceptable evidence for one or more expectations in these Testing Types.

  • Compatibility Testing — 2 expectations covered (Ran and passed).
    Checks the software works across the consumers, platforms, or versions it claims to support.
    • What Quality Keeper ran:
      • pnpm run verify:release → passed — 101 passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).
  • Configuration & Artifact Review — 1 expectation covered (Verified before execution).
    Checks that config files, manifests, and build artifacts are present, well-formed, and say what they should.
  • Metadata & Discoverability Review — 1 expectation covered (Verified before execution).
    Checks that a repository or package is findable and understandable — description, topics, README, keywords.
  • Runtime Smoke Testing — 1 expectation covered (Ran and passed).
    Quickly checks that the built thing starts and responds — proof the software is alive, not necessarily fully correct.
    • What Quality Keeper ran:
      • pnpm run smoke:published → passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).
  • Specification Conformity Review — 2 expectations covered (Ran and passed).
    Checks that documented assets actually match the specification or documented behavior they claim.
    • What Quality Keeper ran:
      • pnpm run lint:docs → passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).
  • Static Security Analysis — 2 expectations covered (Verified before execution).
    Scans code and configuration for security problems without running it — secrets, unsafe patterns, misconfigurations.
    • What Quality Keeper ran:
      • pnpm run audit:deps → passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • pnpm run test:audit:deps → passed — 7 passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).

Needs attention

Quality Keeper does not yet have acceptable evidence for these Testing Types.

Some have partial checks that need to run, be fixed, or be connected. Others need new proof or seeded tests. In both cases, Quality Keeper cannot count them as covered yet.

  • Build Verification
    Confirms the software actually builds/packages into a runnable or publishable artifact.
    • Ran with mixed results — failure present — what Quality Keeper ran:
      • pnpm run build → passed @. (asset scope) — declared in package.json
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • pnpm run test:known-defects → failed — 3 passed, 1 failed @. (asset scope) — declared in package.json
        • Why: 1 test(s) failed
        • cause: inconclusive — A test assertion failed, but no unambiguous execution-subject binding is recorded for this result; a failing assertion alone does not identify which component is at fault. (needs review)
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).
  • Contract Testing
    Checks that a public or network boundary (API, SDK surface, schema) matches its agreed shape.
    • Blocked before execution: expensive/invasive check gated for safety; opt in explicitly with --include-expensive to run it
  • Dynamic Security Testing
    Exercises security behavior before release or against a staged runtime, including access controls, secret safety, secure defaults, and sanitized audit records.
  • Integration Testing
    Checks that two or more components work together — a module plus a real dependency, service, or datastore.
    • Blocked before execution: expensive/invasive check gated for safety; opt in explicitly with --include-expensive to run it
  • Reliability & Resilience Testing
    Checks that the software behaves predictably when dependencies fail, time out, degrade, or recover — without mistaking retry libraries, health routes, or alert files for proof.
  • System / End-to-End Testing
    Drives a real user or system flow through the whole application, end to end.
    • Blocked before execution: expensive/invasive check gated for safety; opt in explicitly with --include-expensive to run it
  • Unit Testing
    Exercises individual functions or modules in isolation.
    • Ran and blocked — what Quality Keeper ran:
      • pnpm run test → blocked (auth/credential) — 2387 passed, 583 failed, 2 skipped @. (asset scope) — declared in package.json
        • Why: Authorization/credential failure during the run
        • attributed cause: credentials/account — Authorization/credential failure during the run
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • pnpm run test:all → blocked (auth/credential) — 2387 passed, 583 failed, 2 skipped @. (asset scope) — declared in package.json
        • Why: Authorization/credential failure during the run
        • attributed cause: credentials/account — Authorization/credential failure during the run
        • Repository Run Contract prerequisites:
          • ✓ [install] pnpm install --frozen-lockfile --ignore-scripts @. (from pnpm-lock.yaml)
      • Full command output/logs are in the run artifacts (see Proof below).

Quality Keeper changes no Evidence State. Pending, missing, executed-but-not-exercised, and review items are not passing, and seeded scaffolds are next actions, not evidence, until applied and re-evaluated.

Full breakdown (22 expectations)
Area Status Expectation Why it applies
Build Verification Ran with mixed results — failure present packaged_or_runnable_assets_need_build_verification The interpreted asset has package, script, workflow, UI, service, CLI, edge-runtime, or game-runtime signals, so it needs a reproducible build or equivalent construction check.
Build Verification Ran with mixed results — failure present published_packages_need_sdk_build_artifact_review The interpreted asset is a published package with source code, so the distribution manifest completeness, pack tarball integrity, and declared file list need verification as part of the release artifact.
Compatibility Testing Ran and passed consumer_or_platform_boundaries_need_compatibility_testing The interpreted asset is published or consumed across environments (published package, exported API, command-line tool, or edge target), so compatibility across platforms, versions, and consumers needs verification.
Compatibility Testing Ran and passed published_typescript_packages_need_type_declaration_check The interpreted asset is a published TypeScript package (tsconfig.json or has_types in package.json detected), so generated .d.ts declaration files and type resolution must be verified from a consumer project's perspective.
Configuration & Artifact Review Verified before execution every_asset_needs_configuration_review Every interpreted asset needs a static review of its declared files, manifests, configuration, and artifacts so Quality Keeper can explain its shape before evidence is harvested.
Contract Testing Selected but not executed public_or_network_boundaries_need_contract_testing The interpreted asset publishes or exposes a boundary that other software depends on (network API, CLI, package exports, or an importable Go external client), so the public interface contract needs verification.
Dynamic Security Testing Missing — no proof yet authorization_boundaries_need_permission_behavior_testing The interpreted asset contains a production authorization, role, permission, tenant, resource, or ownership boundary, so repository-owned tests must prove forbidden cross-boundary access is denied.
Dynamic Security Testing Missing — no proof yet credential_handling_assets_need_non_exposure_testing The interpreted asset contains production credential, token, password, API-key, redaction, or sanitization handling, so repository-owned tests must prove sensitive values are not logged, returned, or durably exposed.
Dynamic Security Testing Missing — no proof yet sensitive_operations_need_diagnostic_non_exposure_testing The interpreted asset declares a sensitive operation that accepts a signing secret or sensitive custom header, so operation-specific tests must prove non-exposure across every diagnostic surface and path; an unrelated log-security test is not coverage.
Integration Testing Selected but not executed published_sdk_packages_need_integration_testing The interpreted asset is a published package or library that creates an integration boundary for consumers, so the package's integration paths, API contracts, and external service behaviors need integration-level verification.
Metadata & Discoverability Review Verified before execution every_asset_needs_discoverability_review Every interpreted asset needs enough metadata and documentation for humans and systems to identify what it is and how to work with it.
Reliability & Resilience Testing Missing — no proof yet outbound_calling_assets_need_timeout_testing Production source contains a recognized outbound network-client call site, so explicit timeout behavior needs repository-owned verification.
Reliability & Resilience Testing Missing — no proof yet cancellation_or_idempotency_controls_need_behavior_testing Production source declares a cancellation primitive or idempotency control, so its externally observable behavior needs repository-owned verification.
Reliability & Resilience Testing Missing — no proof yet published_sdk_packages_need_reliability_testing The interpreted asset is a published package or library with a detected external service or network boundary — consumers depend on predictable error classification and failure-path behavior, so those paths need verification against the declared public contract. Timeout and retry expectations are selected separately when their owned call sites or policies are detected.
Runtime Smoke Testing Ran and passed runnable_assets_need_runtime_smoke_testing The interpreted asset has runtime behavior, so it needs a lightweight startup, import, liveness, or smoke check before deeper evidence is trusted.
Specification Conformity Review Ran and passed documented_assets_need_specification_conformity_review The asset carries documentation, so documented commands, setup instructions, examples, and claims need to stay aligned with the implementation.
Specification Conformity Review Ran and passed published_packages_with_docs_need_example_validation The interpreted asset is a published package with detected documentation, so code examples in README, docs, or examples directories should be compiled or type-checked to confirm they match the actual public API.
Static Security Analysis Verified before execution code_and_configuration_assets_need_static_security_analysis The interpreted asset contains code, configuration, dependencies, secrets coordinates, infrastructure-as-code, or service boundaries, so static security analysis is required before runtime evidence is trusted.
Static Security Analysis Verified before execution published_packages_need_provenance_proof The interpreted asset is a published package with source code, so published release artifacts should carry provenance metadata (npm provenance, SLSA attestation, or sigstore signature) to protect the supply chain.
System / End-to-End Testing Selected but not executed cli_sdk_iac_assets_need_system_testing The interpreted asset is a CLI, published package/SDK, or IaC provider that makes outbound calls to a real external dependency, so its own entry point needs an end-to-end test of that real flow — not just unit or integration coverage of individual pieces.
Unit Testing Ran and blocked code_assets_need_unit_testing The interpreted asset contains runnable or reusable source code, so the smallest testable units need isolated verification.
Unit Testing Missing — no proof yet predicate_filter_functions_need_direct_unit_tests The interpreted asset declares at least one exported filter/predicate/matcher function, so that exact function needs direct test coverage, not just general unit-test presence elsewhere in the codebase.

Proof

See quality-run.json, quality-run.html, testing-strategy.json in the Artifacts section of the Actions run.


New to these terms? Start with the Quality Keeper Standards Wiki to learn what each testing type means, why it applies, and what counts as evidence.

@ffumero2003

Copy link
Copy Markdown
Contributor Author

@goanpeca addressed in b715fcf:

  • Fixed: issue release: prepare v0.7.0 #474 and the v0.7.0 milestone description now refer to 0.7.0.
  • Fixed: the AmbiguousFinishCleanupFailureEvent.error docs in src/upload/cancel.ts now describe it as reconciliation metadata: on the 5xx path its cause is the B2Error thrown to the caller, and other ambiguous paths throw the wrapper itself. The 5xx regression test now asserts event.error.cause is the caught B2Error.
  • Fixed: the v0.7.0 finish note now points callers to onCleanupFailure and error.fileId.
  • Verification: pnpm verify passes (2,963 passed, 9 skipped), test:coverage and changelog:check pass.
  • Pending: the behavior fix in src/errors, cancel.ts and finish.ts is being split into its own fix: PR with a separate issue, ahead of the release PR. The PR body and squash subject will follow once that is decided.
  • Deferred: the pre-existing test:release-channel failure under the pnpm 11 standalone binary, and the Biome and jsdoc/sort-tags lint noise on main.

@ffumero2003

Copy link
Copy Markdown
Contributor Author

@goanpeca follow-up on the bundled finish-handling change: I took the second option you offered. The PR body now states the SDK source and behavior change (finish.ts, cancel.ts, errors/index.ts) with scope, Risk and How to revert sections, and it uses Closes #474. Issue #474 is amended to the 0.7.0 contents (2 Changed, 19 Fixed), consistent with dropping the maintainer-tooling entry. I did not split it into a separate fix: PR; say so if you would still prefer that.

@ffumero2003

Copy link
Copy Markdown
Contributor Author

@goanpeca update (head 1a9d366): #488 (remove the signed-tag check from the release workflow) is merged, and this branch now includes main. The merge conflicted on one changelog fragment: #488 trimmed the signature wording out of .changes/unreleased/11-changed.yaml, which this release already omits from the v0.7.0 notes because it is maintainer tooling. I resolved it by deleting that fragment, and I dropped #488's new tooling-only fragment the same way, so the v0.7.0 notes are unchanged (2 Changed, 19 Fixed). On the merged tree: changelog:check passes ("generated history is current"), test:release-policy is 90/90, verify:release passes, and lint and spelling are clean. The date and the split decision are unchanged.

This branch has not been deployed

No deployments
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.

release: prepare v0.7.0

2 participants