Datasets:
Download scripts/reusable_support/batch05_case_reports_v5.py from CrossSWE/CrossSWE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 54.7 kB
-
https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/scripts/reusable_support/batch05_case_reports_v5.py
- Command line
-
hf download hf://datasets/CrossSWE/CrossSWE-Bench/scripts/reusable_support/batch05_case_reports_v5.py
-
curl -L -o batch05_case_reports_v5.py https://huggingface.co/datasets/CrossSWE/CrossSWE-Bench/resolve/main/scripts/reusable_support/batch05_case_reports_v5.py
54.7 kB
| """Read native cases from frozen batch05 protocols; missing output never passes.""" | |
| import collections | |
| import hashlib | |
| import xml.etree.ElementTree as ET | |
| import json | |
| from pathlib import Path | |
| import re | |
| PROVIDER=[ | |
| 'places the executable and nothing else','marks the executable executable', | |
| 'asks for the version it was given, without resolving dist-tags', | |
| 'sends credentials to the registry and not to the download host', | |
| 're-hosts an npm tarball URL onto the registry that served the metadata', | |
| 'keeps a registry subpath that does not end in a slash', | |
| 'refuses an archive that ends inside the executable', | |
| 'accepts an executable a concurrent call already placed','refuses a destination that is not a file', | |
| 'refuses a tarball that does not match its checksum','refuses a checksum the signature does not cover', | |
| 'refuses an unsigned package','refuses a package the registry published no checksum for', | |
| 'reports a tarball that carries no executable'] | |
| PNPM_P2P=[ | |
| 'links and runs the installed platform binary without changing aliases or manifest', | |
| 'rejects a published package whose platform dependency is missing', | |
| 'preserves the existing binary in a development checkout', | |
| 'rejects a corrupt wrapper manifest instead of treating it as a development checkout'] | |
| PNPM_F2P=[ | |
| 'downloads the native binary on first use, then reuses it','propagates the exit code of the native binary', | |
| 'runs `pnpx` as `pnpm dlx`','prefers the installed platform package over a download', | |
| 'refuses a download the published checksum does not cover', | |
| 'refuses a download signed by a key the environment does not name', | |
| 'refuses a registry that publishes no signature','takes an unsigned download when Corepack is told to skip', | |
| 'keeps checksum verification when Corepack signature checks are disabled', | |
| 'reports a key set it cannot read instead of silently trusting npm', | |
| 'reports a disabled network instead of reaching for one'] | |
| def parse_spec(stdout, expected, suite, returncode): | |
| text=re.sub(r'\x1b\[[0-9;]*m','',stdout) | |
| fields={};positions=[] | |
| for match in re.finditer(r'(?m)^\s*\u2139\s+(tests|suites|pass|fail|cancelled|skipped|todo|duration_ms)\s+(\d+(?:\.\d+)?)\s*$',text): | |
| key,value=match.groups();assert key not in fields,'Duplicate native summary' | |
| fields[key]=float(value) if key=='duration_ms' else int(value);positions.append(match.start()) | |
| assert set(fields)=={'tests','suites','pass','fail','cancelled','skipped','todo','duration_ms'},'Missing native spec completion summary' | |
| assert fields['tests']==len(expected) and fields['suites']==1 | |
| assert not any(fields[k] for k in ['cancelled','skipped','todo']) | |
| # Failed-case diagnostics repeat titles after the summary; only execution rows count. | |
| body=text[:min(positions)];rows=[];parents=[] | |
| for match in re.finditer(r'(?m)^\s*([\u2714\u2716])\s+(.+?)\s+\([0-9.]+ms\)\s*$',body): | |
| mark,name=match.groups() | |
| if name==suite:parents.append(mark=='\u2714') | |
| else: | |
| assert name in expected,('Unexpected native test',name) | |
| rows.append({'id':name,'passed':mark=='\u2714'}) | |
| assert collections.Counter(r['id'] for r in rows)==collections.Counter(expected),'Native spec selected case inventory mismatch' | |
| passed=sum(r['passed'] for r in rows);failed=len(rows)-passed | |
| assert fields['pass']==passed and fields['fail']==failed and parents==[not bool(failed)] | |
| assert returncode==int(bool(failed)),'Native spec exit disagrees with cases' | |
| return rows,{'format':'node:test/spec','count_unit':'native node:test leaf case','selected_native_tests':len(rows), | |
| 'passed':passed,'failed':failed,'name_filtered_cases_not_reported':True,'native_summary':fields} | |
| def parse_report(iid, repository, kind, stdout, stderr, returncode, cell): | |
| if iid in ['buildpkg-pnpm-14110','buildpkg-pnpm-14825','buildpkg-pnpm-15106']: | |
| try:return parse_remaining(iid,repository,kind,stdout,stderr,returncode,cell) | |
| except (ValueError,KeyError,TypeError,IndexError,OSError,AssertionError,ET.ParseError) as exc: | |
| return [],['Incomplete/malformed native evidence: '+type(exc).__name__+': '+str(exc)],{} | |
| phase='p2p' if kind=='pass_to_pass' else 'f2p' | |
| rows,issues,meta=[],[],{} | |
| try: | |
| if iid=='buildpkg-pnpm-12400': | |
| raw=[json.loads(line[len('CROSSSWE_CASE '):]) for line in stdout.splitlines() if line.startswith('CROSSSWE_CASE ')] | |
| summaries=[json.loads(line[len('CROSSSWE_SUMMARY '):]) for line in stdout.splitlines() if line.startswith('CROSSSWE_SUMMARY ')] | |
| binding=[json.loads(line[len('CROSSSWE_RUNTIME_BINDING '):]) for line in stdout.splitlines() if line.startswith('CROSSSWE_RUNTIME_BINDING ')] | |
| names=(['private_npm_credentials','ordinary_parent_environment','public_pnpm_config','package_stamps','lifecycle_stamps','explicit_extra_env','working_directories','node_and_arguments','child_error_propagation'] if phase=='p2p' else | |
| ['public_platform_flags','public_value_edges','many_public_keys','private_pnpm_credentials','mixed_public_private','nested_inheritance']) | |
| apis=['pnpm','postinstall','run_script'] if repository=='pnpm' else ['provider'] | |
| expected=[api+'/'+name for api in apis for name in names] | |
| assert [r['name'] for r in raw]==expected and len(summaries)==len(binding)==1 | |
| ready=binding[0];assert ready['node_version']=='v24.0.0' and ready['production_edits_by_setup'] is False | |
| assert ready['candidate_source_files'] and len(ready['rust_binary']['sha256'])==64 | |
| artifacts=Path(cell)/'native-artifacts' | |
| assert json.loads((artifacts/'runtime/ready.json').read_text())==ready | |
| for api in apis: | |
| for name in names: | |
| execution=json.loads((artifacts/'cases'/repository/phase/api/(name+' space \u4e2d\u6587')/'execution.json').read_text()) | |
| assert execution['command'] and isinstance(execution['child'],dict) | |
| assert execution['child']['node']=='v24.0.0' and execution['child']['pid']>0 | |
| rows=[{'id':r['name'],'passed':r['status']=='pass'} for r in raw] | |
| assert all(r['status'] in ['pass','fail'] for r in raw) | |
| passed=sum(r['passed'] for r in rows);failed=len(rows)-passed;summary=summaries[0] | |
| assert summary['passed']==passed and summary['failed']==failed and summary['skipped']==0 | |
| assert returncode==int(bool(failed)) | |
| return rows,[],{'format':'frozen real process runtime contract','count_unit':'live Node24/Rust lifecycle API scenario', | |
| 'selected_native_tests':len(rows),'passed':passed,'failed':failed,'native_child_process_receipts_verified':len(rows), | |
| 'rust_binary_sha256':ready['rust_binary']['sha256'],'bound_source_files':len(ready['candidate_source_files'])} | |
| if iid!='buildpkg-pnpm-13922':raise ValueError('Unsupported batch05 protocol') | |
| expected=(PNPM_P2P if phase=='p2p' else PNPM_F2P) if repository=='pnpm' else ([PROVIDER[-2]] if phase=='p2p' else PROVIDER) | |
| if '\u2139 tests ' in stdout: | |
| suite=('ordinary package-manager installation' if phase=='p2p' else 'corepack entry point') if repository=='pnpm' else 'downloadPnpmExecutable' | |
| rows,meta=parse_spec(stdout,expected,suite,returncode) | |
| if 'MODULE_NOT_FOUND' in stdout+stderr: | |
| missing=re.findall(r"Cannot find module '([^']+)'",stdout+stderr) | |
| assert repository=='pnpm' and phase=='f2p' and missing | |
| assert all(p.endswith(('/bin/pnpm.mjs','/bin/pnpx.mjs')) for p in missing),'Missing dependency, not a frozen absent production entry point' | |
| meta['missing_production_entrypoints']=sorted(set(missing)) | |
| meta['diagnostic_class']='Real native assertions on Corepack entrypoints absent in frozen buggy source; gold adds those production files.' | |
| return rows,issues,meta | |
| report=json.loads((Path(cell)/(repository+'-'+kind+'-tap-report.json')).read_text()) | |
| assert not report['parser_errors'] and not report['bailouts'] | |
| assert report['summaries'] and all(s['plan']['start'] is not None and s['plan']['end'] is not None for s in report['summaries']) | |
| assertions=report['assertions'];selected=[];filtered=[] | |
| for row in assertions: | |
| assert not row.get('todo') | |
| if row.get('skip'): | |
| assert repository=='get-pnpm' and phase=='p2p' | |
| assert re.search(r'filter|does not match|test name',str(row['skip']),re.I) | |
| filtered.append(row) | |
| else:selected.append(row) | |
| assert collections.Counter(r['name'] for r in selected)==collections.Counter(expected),'Native selected case inventory mismatch' | |
| assert len(filtered)==(13 if repository=='get-pnpm' and phase=='p2p' else 0) | |
| assert all(type(r['ok']) is bool for r in selected) | |
| rows=[{'id':repository+'/'+phase+'/'+str(r.get('fullname',''))+' > '+r['name'],'passed':r['ok']} for r in selected] | |
| assert returncode==int(any(not r['passed'] for r in rows)),'Native exit disagrees with cases' | |
| meta={'count_unit':'native node:test leaf case','selected_native_tests':len(selected), | |
| 'passed':sum(r['passed'] for r in rows),'failed':sum(not r['passed'] for r in rows), | |
| 'name_filtered_cases':len(filtered),'tap_complete_summaries':len(report['summaries'])} | |
| except (ValueError,KeyError,TypeError,IndexError,OSError,AssertionError) as exc: | |
| issues.append('Incomplete/malformed native evidence: '+type(exc).__name__+': '+str(exc)) | |
| ids=[r['id'] for r in rows] | |
| if not rows or len(ids)!=len(set(ids)):issues.append('Empty or duplicate native case inventory') | |
| if any(x in stdout+stderr for x in ['MODULE_NOT_FOUND','ERR_MODULE_NOT_FOUND','Cannot find module','ModuleNotFoundError:']): | |
| issues.append('Import/dependency/infrastructure failure') | |
| return rows,issues,meta | |
| def sha_file(p): | |
| h=hashlib.sha256() | |
| with Path(p).open('rb') as f: | |
| for b in iter(lambda:f.read(1024*1024),b''):h.update(b) | |
| return h.hexdigest() | |
| def rust_leaf(text,stderr,expected,rc): | |
| text=re.sub(r'\x1b\[[0-9;]*m','',text) | |
| cases=re.findall(r'(?m)^test (\S+) \.\.\. (ok|FAILED)\s*$',text) | |
| assert cases==[(expected,'ok')] or cases==[(expected,'FAILED')],('Rust selected inventory',cases) | |
| summary=re.findall(r'test result: (ok|FAILED)\. (\d+) passed; (\d+) failed; (\d+) ignored; (\d+) measured; (\d+) filtered out;',text) | |
| assert len(summary)==1 and 'Running ' in stderr and 'Finished ' in stderr | |
| status,passed,failed,ignored,measured,filtered=summary[0];passed,failed,ignored,measured,filtered=map(int,[passed,failed,ignored,measured,filtered]) | |
| assert passed+failed==1 and ignored==measured==0 and passed==int(cases[0][1]=='ok') | |
| assert rc==(0 if passed else 101) and status==('ok' if passed else 'FAILED') | |
| return [dict(id=expected,passed=bool(passed))],[],dict(format='native Rust libtest',count_unit='native leaf case',selected_native_tests=1,passed=passed,failed=failed,name_filtered_cases=filtered) | |
| def node_flat(text,expected,rc): | |
| text=re.sub(r'\x1b\[[0-9;]*m','',text);fields={};positions=[] | |
| for m in re.finditer(r'(?m)^\s*\u2139\s+(tests|suites|pass|fail|cancelled|skipped|todo|duration_ms)\s+(\d+(?:\.\d+)?)\s*$',text): | |
| k,v=m.groups();assert k not in fields;fields[k]=float(v) if k=='duration_ms' else int(v);positions.append(m.start()) | |
| assert set(fields)=={'tests','suites','pass','fail','cancelled','skipped','todo','duration_ms'} | |
| assert fields['tests']==len(expected) and fields['suites']==0 and not any(fields[k] for k in ['cancelled','skipped','todo']) | |
| raw=re.findall(r'(?m)^\s*([\u2714\u2716])\s+(.+?)\s+\([0-9.]+ms\)\s*$',text[:min(positions)]) | |
| assert collections.Counter(n for mark,n in raw)==collections.Counter(expected) | |
| rows=[dict(id=n,passed=mark=='\u2714') for mark,n in raw];p=sum(r['passed'] for r in rows);f=len(rows)-p | |
| assert fields['pass']==p and fields['fail']==f and rc==int(bool(f)) | |
| return rows,[],dict(format='native node:test/spec',count_unit='native leaf case',selected_native_tests=len(rows),passed=p,failed=f,native_summary=fields) | |
| def vitest_junit(text,phase,rc): | |
| text=re.sub(r'\x1b\[[0-9;]*m','',text) | |
| a=text.index('<testsuites');b=text.index('</testsuites>',a)+len('</testsuites>') | |
| xml=ET.fromstring(text[a:b]);suites=xml.findall('.//testsuite');assert len(suites)==1 | |
| suite=suites[0];expected_file='pnpm.spec.ts' if phase=='f2p' else 'index.spec.ts' | |
| assert expected_file in suite.attrib['name'] | |
| leaves=suite.findall('testcase');assert int(suite.attrib['tests'])==len(leaves) and leaves | |
| rows=[];skipped=[] | |
| for e in leaves: | |
| name=e.attrib['classname']+' > '+e.attrib['name'] | |
| if e.find('skipped') is not None:skipped.append(name);continue | |
| assert e.find('error') is None,'Vitest infrastructure error' | |
| rows.append(dict(id=name,passed=e.find('failure') is None)) | |
| assert rows and len({r['id'] for r in rows})==len(rows) | |
| if phase=='f2p':assert len(rows)==1 and 'performs dedupe' in rows[0]['id'] | |
| else:assert not skipped | |
| p=sum(r['passed'] for r in rows);f=len(rows)-p | |
| assert int(suite.attrib.get('failures','0'))==f and int(suite.attrib.get('errors','0'))==0 | |
| assert int(suite.attrib.get('skipped','0'))==len(skipped) and rc==int(bool(f)) | |
| assert re.search(r'Test Files\s+1 (?:passed|failed)',text) and re.search(r'(?m)^\s*Tests\s+',text) | |
| return rows,[],dict(format='native Vitest configured CI JUnit plus completion summary',count_unit='native leaf case',selected_native_tests=len(rows),passed=p,failed=f,name_filtered_cases=len(skipped),junit_sha256=hashlib.sha256(text[a:b].encode()).hexdigest()) | |
| def nesting_cases(repository,phase,stdout,rc,cell): | |
| raw=[json.loads(s[len('CROSSSWE_CASE '):]) for s in stdout.splitlines() if s.startswith('CROSSSWE_CASE ')] | |
| bindings=[json.loads(s[len('CROSSSWE_RUNTIME_BINDING '):]) for s in stdout.splitlines() if s.startswith('CROSSSWE_RUNTIME_BINDING ')] | |
| summaries=[json.loads(s[len('CROSSSWE_SUMMARY '):]) for s in stdout.splitlines() if s.startswith('CROSSSWE_SUMMARY ')] | |
| assert len(bindings)==len(summaries)==1 | |
| packages=list(NESTING_UNITS) | |
| expected=(['frozen_unit_suite_'+p for p in packages] if phase=='p2p' else ['consumer_production_limit_and_test_policy']) if repository=='pnpm' else (['existing_complexity_diagnostic'] if phase=='p2p' else ['configurable_depth_'+str(n) for n in [1,2,3,5]]) | |
| assert [r['name'] for r in raw]==expected and all(r['status'] in ['pass','fail'] for r in raw) | |
| root=Path(cell)/'native-artifacts/nesting-runtime';ready=json.loads((root/'ready.json').read_text());assert ready==bindings[0] | |
| assert ready['candidate_sources'] and ready['production_logic_modified_by_setup'] is False and ready['consumer_policy_added_by_setup'] is False and ready['test_execution_uid']==65534 | |
| assert ready['registered_lints_log_sha256']==sha_file(root/'registered-lints.log') | |
| verified=[] | |
| for p in root.glob('*.json'): | |
| v=json.loads(p.read_text()) | |
| if isinstance(v,dict) and 'cmd' in v and 'log_sha256' in v: | |
| assert v['log_sha256']==sha_file(p.with_suffix('.log')) and v['cmd'] and v['finished']>=v['started'] | |
| verified.append(p.stem) | |
| assert {'provider-build','registered-lints',*['unit-build-'+p for p in packages]}<=set(verified) | |
| build=json.loads((root/'provider-build.json').read_text());assert build['exit_code']==0 and build['cmd']==['cargo','build','--release','--offline','--locked','--lib'] | |
| native_unit_count=0 | |
| for r in raw: | |
| result=json.loads((root/('case-'+repository+'-'+phase+'-'+r['name']+'.json')).read_text()) | |
| assert result['name']==r['name'] and result['status']==r['status'] and result['diagnostic']==r['diagnostic'] | |
| if repository=='pnpm' and phase=='p2p': | |
| pkg=r['name'][len('frozen_unit_suite_'):];execution=json.loads((root/('unit-run-'+pkg+'.json')).read_text()) | |
| cases=re.findall(r'(?m)^test (\S+) \.\.\. (\S+)$',(root/('unit-run-'+pkg+'.log')).read_text()) | |
| assert execution['uid']==65534 and execution['cmd']==[ready['unit_binaries'][pkg]['path']] | |
| assert sorted(n for n,s in cases)==NESTING_UNITS[pkg] and all(s=='ok' for n,s in cases) and execution['exit_code']==0 | |
| assert result['detail']==dict(passed=len(cases),failed=0,skipped=0,uid=65534);native_unit_count+=len(cases) | |
| elif repository=='perfectionist': | |
| label='existing-complexity' if phase=='p2p' else 'provider-limit-'+r['name'].rsplit('_',1)[1] | |
| assert label in verified | |
| execution=json.loads((root/(label+'.json')).read_text());assert execution['cmd'][:2]==['cargo','dylint'] and execution['exit_code']==0 | |
| else:assert {'consumer-production','consumer-policy','consumer-test-policy'}<=set(verified) | |
| rows=[dict(id=r['name'],passed=r['status']=='pass') for r in raw];p=sum(r['passed'] for r in rows);f=len(rows)-p | |
| assert summaries[0]==dict(type='summary',passed=p,failed=f,skipped=0) and rc==int(bool(f)) | |
| # Later commands append process receipts to this directory. Report only | |
| # shared setup plus the current command's receipts, so offline replay is stable. | |
| relevant={'provider-build','registered-lints',*['unit-build-'+p for p in packages]} | |
| if repository=='pnpm' and phase=='p2p':relevant.update('unit-run-'+p for p in packages) | |
| elif repository=='pnpm':relevant.update(['consumer-production','consumer-policy','consumer-test-policy']) | |
| elif phase=='p2p':relevant.add('existing-complexity') | |
| else:relevant.update('provider-limit-'+str(n) for n in [1,2,3,5]) | |
| assert relevant<=set(verified) | |
| return rows,[],dict(format='frozen live Rust/Dylint runtime contract',count_unit='frozen runtime scenario or unit-suite group',selected_native_tests=len(rows),passed=p,failed=f,full_native_unit_tests_verified=native_unit_count,process_log_receipts_verified=len(relevant),provider_library_sha256=ready['provider_library']['sha256'],bound_source_files=len(ready['candidate_sources'])) | |
| def parse_remaining(iid,repo,kind,stdout,stderr,rc,cell): | |
| phase='p2p' if kind=='pass_to_pass' else 'f2p' | |
| assert not any(s in stdout+stderr for s in ['error: could not compile','error[E0','ERR_MODULE_NOT_FOUND','MODULE_NOT_FOUND','ModuleNotFoundError:','failed to download','failed to get `']) | |
| if iid.endswith('14825'):return nesting_cases(repo,phase,stdout,rc,cell) | |
| if repo=='pnpm': | |
| if iid.endswith('14110'):name='cli_args::tests::dedupe_ignore_pnpmfile_flag_applies_to_config' if phase=='p2p' else 'dedupe::dedupe_materializes_node_modules_unless_lockfile_only' | |
| else:name='crossrepo_interrupt::'+('run_waits_for_the_interrupted_script_to_shut_down' if phase=='p2p' else 'ctrl_c_interrupts_the_script_once') | |
| return rust_leaf(stdout,stderr,name,rc) | |
| if iid.endswith('14110'):return vitest_junit(stdout,phase,rc) | |
| names=(['runs scripts from .hooks directory even if no script is present in package.json',"reports child's output",'reports the spawned lifecycle process','rejects when the spawn observer fails','runs lifecycle scripts with the shell emulator','makeEnv','throw error signal kills child','exit with error on INT signal from child'] if phase=='p2p' else ['Ctrl+C in a terminal interrupts the child once','a SIGINT sent to a process without a terminal is relayed to the child']) | |
| return node_flat(stdout,names,rc) | |
| NESTING_UNITS={'pnpm-network': ['auth::tests::a_failing_token_helper_sends_no_credential_and_does_not_fall_back', 'auth::tests::a_key_without_its_trailing_slash_lands_on_the_canonical_uri', 'auth::tests::a_slow_token_helper_does_not_block_a_second_registry_lookup', 'auth::tests::a_url_header_overlays_only_its_request_route', 'auth::tests::base64_round_trip_matches_known_vectors', 'auth::tests::basic_auth_in_url_wins_over_package_scope_auth', 'auth::tests::basic_auth_in_url_wins_over_token', 'auth::tests::basic_auth_works_without_settings', 'auth::tests::classifies_urls_that_are_secure_for_credentials', 'auth::tests::default_https_port_strips_for_lookup', 'auth::tests::empty_user_info_returns_no_basic_header', 'auth::tests::entries_round_trip_package_scope_auth', 'auth::tests::hide_auth_information_keeps_the_scheme_and_masks_the_credential', 'auth::tests::hide_auth_information_strips_control_characters', 'auth::tests::matches_explicit_port_token', 'auth::tests::matches_host_only_token', 'auth::tests::matches_path_scoped_token', 'auth::tests::nerf_dart_handles_url_with_no_path_separator', 'auth::tests::nerf_dart_returns_empty_for_malformed_url', 'auth::tests::nerf_dart_strips_default_ports_when_keying', 'auth::tests::nerf_dart_strips_protocol_query_fragment_and_filename', 'auth::tests::non_default_port_strips_for_fallback_lookup', 'auth::tests::package_scope_auth_keeps_registry_path', 'auth::tests::package_scope_auth_wins_over_registry_auth', 'auth::tests::record_route_drives_the_hook_without_a_fetch', 'auth::tests::record_route_is_a_noop_without_a_hook', 'auth::tests::redact_and_sanitize_multiline_collapses_when_a_newline_splits_credentials', 'auth::tests::redact_and_sanitize_multiline_keeps_line_breaks', 'auth::tests::redact_and_sanitize_strips_credentials_and_control_chars', 'auth::tests::redact_url_credentials_strips_embedded_basic_auth', 'auth::tests::redact_url_for_display_strips_secrets_and_control_chars', 'auth::tests::registry_with_pathname_matches_metadata_and_tarballs', 'auth::tests::registry_with_pathname_matches_with_explicit_port', 'auth::tests::returns_none_for_unmatched_url_in_empty_map', 'auth::tests::route_hook_overrides_client_credentials', 'auth::tests::route_hook_suppresses_inline_url_basic_auth', 'auth::tests::secure_lookup_rejects_plain_http_but_allows_loopback', 'auth::tests::secure_transport_restricts_all_credential_lookups_and_survives_cloning', 'auth::tests::slash_append_branch_lets_path_segment_match', 'auth::tests::slash_package_scope_auth_wins_over_registry_auth', 'auth::tests::token_helper_is_executed_lazily_and_memoized', 'auth::tests::unkeyed_creds_are_dropped_rather_than_bound_to_the_default_registry', 'priority_semaphore::tests::background_is_served_between_latency_and_overflow_downloads', 'priority_semaphore::tests::background_yields_to_latency_metadata', 'priority_semaphore::tests::cancelled_waiter_passes_its_grant_to_the_next_waiter', 'priority_semaphore::tests::downloads_keep_their_reserved_share_during_a_metadata_flood', 'priority_semaphore::tests::equal_priorities_are_granted_fifo', 'priority_semaphore::tests::metadata_outranks_downloads_beyond_the_reserve', 'priority_semaphore::tests::released_permit_with_no_waiters_returns_to_the_free_pool', 'priority_semaphore::tests::saturated_semaphore_grants_highest_priority_first', 'priority_semaphore::tests::single_permit_pool_still_serves_metadata_first', 'retry::tests::authenticated_metadata_errors_remove_urls_after_retry_exhaustion', 'retry::tests::authenticated_metadata_uses_the_shared_status_policy_and_preserves_final_response', 'retry::tests::bounded_metadata_accepts_exact_limit_after_redirect', 'retry::tests::bounded_metadata_stops_at_limit_without_retrying_oversized_bodies', 'retry::tests::default_matches_pnpm_fetch_retries', 'retry::tests::delay_for_grows_exponentially_then_caps_at_max', 'retry::tests::delay_for_saturates_instead_of_overflowing', 'retry::tests::manual_metadata_redirects_preserve_the_configured_guard', 'retry::tests::maximum_retry_budget_does_not_overflow_logging_counters', 'retry::tests::metadata_retry_diagnostics_do_not_include_response_body_or_url', 'retry::tests::metadata_retry_recovers_an_interrupted_response_body', 'retry::tests::metadata_retry_restarts_redirects_without_forwarding_origin_credentials', 'retry::tests::retry_async_does_not_retry_a_non_retryable_error', 'retry::tests::retry_async_gives_up_after_the_retry_budget', 'retry::tests::retry_async_retries_a_retryable_error_until_success', 'retry::tests::retryable_statuses_match_pnpm', 'tests::authorization::a_blank_scoped_cert_shadows_the_top_level_identity', 'tests::authorization::authorization_is_removed_on_cross_origin_redirect', 'tests::authorization::authorization_is_retained_on_same_origin_redirect', 'tests::authorization::blocked_redirect_error_redacts_token', 'tests::authorization::default_tls_rejects_an_untrusted_certificate_without_panicking', 'tests::authorization::for_installs_does_not_retain_per_registry_tls_material', 'tests::authorization::for_installs_ignores_a_per_registry_ca_that_carries_no_certificate', 'tests::authorization::for_installs_ignores_ca_entries_that_carry_no_certificate', 'tests::authorization::for_installs_with_cert_but_no_key_skips_identity', 'tests::authorization::mockito_integration_http_proxy_forwards_request_with_basic_auth', 'tests::authorization::node_extra_ca_certs_is_loaded_and_failures_are_non_fatal', 'tests::authorization::secure_auth_is_re_evaluated_for_each_redirect_target', 'tests::behavior_a_body_that_keeps::a_body_that_keeps_arriving_outlives_the_fetch_timeout', 'tests::behavior_a_body_that_keeps::a_stalled_body_fails_after_the_fetch_timeout', 'tests::behavior_a_body_that_keeps::default_network_concurrency_stays_within_floor_and_cap', 'tests::behavior_a_body_that_keeps::for_installs_falls_back_on_unencodable_user_agent', 'tests::behavior_a_body_that_keeps::max_sockets_caps_concurrent_sockets_per_origin', 'tests::behavior_a_body_that_keeps::no_max_sockets_leaves_per_origin_uncapped', 'tests::behavior_a_body_that_keeps::redirect_guard_blocks_off_allowlist_redirect_target', 'tests::behavior_a_body_that_keeps::redirect_guard_follows_allowlisted_redirect_target', 'tests::behavior_a_body_that_keeps::stalled_consumers_release_permits_on_deadline_or_cancellation', 'tests::behavior_capped_dns_resolver_limits::acquire_for_url_falls_back_to_default_when_no_overrides', 'tests::behavior_capped_dns_resolver_limits::acquire_for_url_routes_per_registry_then_falls_back', 'tests::behavior_capped_dns_resolver_limits::capped_dns_resolver_limits_concurrency', 'tests::behavior_capped_dns_resolver_limits::for_installs_builds_per_registry_clients', 'tests::behavior_capped_dns_resolver_limits::for_installs_local_address_pinned', 'tests::behavior_capped_dns_resolver_limits::for_installs_no_proxy_bypass_does_not_block_build', 'tests::behavior_capped_dns_resolver_limits::for_installs_rejects_zero_network_concurrency', 'tests::behavior_capped_dns_resolver_limits::for_installs_strict_ssl_default_is_true', 'tests::behavior_capped_dns_resolver_limits::for_installs_strict_ssl_false_relaxes_verification', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_empty_proxy_urls_treats_them_as_unset', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_invalid_proxy_url_errors', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_malformed_client_identity_errors', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_multiple_ca_pems_builds', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_pkcs1_client_key_builds', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_socks_proxy_url_builds', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_valid_ca_pem_builds', 'tests::behavior_capped_dns_resolver_limits::for_installs_with_valid_proxy_url_builds', 'tests::behavior_capped_dns_resolver_limits::install_client_resolves_hostnames_through_the_system_resolver', 'tests::behavior_capped_dns_resolver_limits::mockito_integration_no_proxy_bypasses_proxy', 'tests::behavior_capped_dns_resolver_limits::no_proxy_bypass_short_circuits_every_host', 'tests::behavior_capped_dns_resolver_limits::no_proxy_matcher_empty_entries_never_match', 'tests::behavior_capped_dns_resolver_limits::no_proxy_matcher_leading_dot_matches_subdomains', 'tests::behavior_capped_dns_resolver_limits::no_proxy_matcher_multiple_entries', 'tests::behavior_capped_dns_resolver_limits::no_proxy_matcher_reverse_dot_match', 'tests::behavior_capped_dns_resolver_limits::no_proxy_none_matches_nothing', 'tests::behavior_capped_dns_resolver_limits::no_redirect_client_returns_the_first_redirect_response', 'tests::behavior_capped_dns_resolver_limits::parse_proxy_url_auto_prefixes_missing_scheme', 'tests::behavior_capped_dns_resolver_limits::parse_proxy_url_invalid_returns_invalid_proxy_error', 'tests::behavior_capped_dns_resolver_limits::parse_proxy_url_keeps_existing_scheme', 'tests::behavior_capped_dns_resolver_limits::parse_proxy_url_socks_schemes_pass_through', 'tests::behavior_capped_dns_resolver_limits::per_registry_route_selects_the_client_for_the_requested_redirect_mode', 'tests::behavior_capped_dns_resolver_limits::socks5_proxy_connects_to_real_target', 'tests::behavior_capped_dns_resolver_limits::strip_userinfo_decodes_user_and_password', 'tests::behavior_capped_dns_resolver_limits::strip_userinfo_returns_none_when_absent', 'tests::configuration::for_installs_honors_custom_network_settings', 'tests::configuration::for_installs_with_empty_proxy_config_builds', 'tests::configuration::from_clients_uses_the_supplied_no_redirect_configuration', 'tests::configuration::https_target_uses_configured_proxy', 'tests::files::for_installs_ignores_a_blank_client_identity', 'tests::manifests::a_corrupt_block_does_not_discard_the_rest_of_a_ca_bundle', 'tests::manifests::for_installs_falls_back_to_bundled_roots_without_a_system_trust_store', 'tests::security::percent_decode_handles_common_escapes', 'tests::streaming::origin_of_extracts_scheme_host_and_port', 'tests::streaming::streamed_responses_retain_both_permits_until_consumed_or_dropped', 'tls::tests::per_registry_from_map_drops_empty_entries', 'tls::tests::per_registry_tls_default_is_empty', 'tls::tests::pick_for_url_exact_match_wins', 'tls::tests::pick_for_url_misses_when_host_differs', 'tls::tests::pick_for_url_misses_when_path_doesnt_share_prefix', 'tls::tests::pick_for_url_nerf_dart_match', 'tls::tests::pick_for_url_shorter_path_prefix', 'tls::tests::pick_for_url_strips_port_on_retry', 'tls::tests::registry_tls_is_empty_when_all_none', 'tls::tests::strip_port_handles_common_shapes', 'tls::tests::tls_config_clone_round_trip', 'tls::tests::tls_config_default_is_empty', 'tls::tests::tls_error_invalid_client_identity_includes_reason_in_display', 'token_helper::tests::a_hung_command_is_killed_at_the_deadline', 'token_helper::tests::a_non_zero_exit_is_an_error_status', 'token_helper::tests::a_spawn_failure_is_surfaced', 'token_helper::tests::a_timed_out_runner_maps_to_the_timeout_error', 'token_helper::tests::an_empty_token_is_an_error', 'token_helper::tests::keeps_a_token_that_already_carries_a_scheme', 'token_helper::tests::passes_the_full_command_to_the_runner', 'token_helper::tests::prepends_bearer_to_a_raw_token'], 'pnpm-deps-path': ['create_peer_dep_graph_hash::tests::dep_path_strings_with_leading_slash_have_it_stripped', 'create_peer_dep_graph_hash::tests::dep_path_strings_without_leading_slash_pass_through', 'create_peer_dep_graph_hash::tests::empty_input_renders_a_single_pair_of_parens', 'create_peer_dep_graph_hash::tests::long_body_is_replaced_with_short_hash', 'create_peer_dep_graph_hash::tests::pairs_render_as_name_at_version_joined_with_paren_paren', 'create_peer_dep_graph_hash::tests::segments_are_sorted_for_stability', 'dep_path_to_filename::tests::empty_input_does_not_panic', 'dep_path_to_filename::tests::exceeding_length_replaces_with_hash_suffix', 'dep_path_to_filename::tests::file_scheme_keeps_path_separators_via_plus_escape', 'dep_path_to_filename::tests::nested_peer_group_uses_double_underscore_at_boundary', 'dep_path_to_filename::tests::peer_suffix_is_flattened_with_underscores', 'dep_path_to_filename::tests::plain_name_at_version_round_trips', 'dep_path_to_filename::tests::scoped_name_keeps_at_replaces_slash_with_plus', 'dep_path_to_filename::tests::single_byte_input_does_not_panic', 'dep_path_to_filename::tests::uppercase_in_file_scheme_is_preserved_untouched', 'dep_path_to_filename::tests::uppercase_outside_file_scheme_forces_hash_suffix', 'is_runtime_dep_path::tests::matches_all_three_runtime_prefixes', 'is_runtime_dep_path::tests::matches_pnpm_test_cases', 'is_runtime_dep_path::tests::rejects_unrelated_runtimes_and_partials', 'link_path_to_peer_version::tests::collapses_leading_dot_segments', 'link_path_to_peer_version::tests::collapses_runs_of_reserved_chars_into_one_plus', 'link_path_to_peer_version::tests::dot_only_collapses_to_single_plus', 'link_path_to_peer_version::tests::empty_input_returns_empty', 'link_path_to_peer_version::tests::external_link_target_under_node_modules_matches_upstream', 'link_path_to_peer_version::tests::leading_dot_in_filename_is_dropped', 'link_path_to_peer_version::tests::non_ascii_path_segments_round_trip', 'link_path_to_peer_version::tests::replaces_path_separators_with_plus', 'link_path_to_peer_version::tests::trailing_dots_and_plusses_are_trimmed', 'link_path_to_peer_version::tests::windows_separators_collapse', 'registry_qualified::tests::parses_registry_qualified_versions', 'registry_qualified::tests::rejects_reserved_prefixes_and_non_semver', 'registry_qualified::tests::well_formed_registry_names', 'suffix_index::tests::handles_nested_parens_in_peer_segment', 'suffix_index::tests::leading_slash_legacy_with_nested_peer_strips_to_bare', 'suffix_index::tests::locates_a_patch_hash_suffix_without_peers', 'suffix_index::tests::locates_a_peer_suffix', 'suffix_index::tests::locates_both_patch_hash_and_peers', 'suffix_index::tests::no_trailing_paren_means_no_suffix', 'suffix_index::tests::runtime_dep_path_has_no_suffix', 'suffix_index::tests::scope_with_parens_does_not_confuse_suffix_scan', 'suffix_index::tests::scoped_name_with_patch_hash_and_peer_keeps_only_patch_hash', 'suffix_index::tests::scoped_name_with_patch_hash_keeps_patch_hash', 'suffix_index::tests::scoped_name_with_peer_strips_to_bare', 'suffix_index::tests::scoped_name_without_suffix_round_trips', 'try_get_package_id::tests::bare_name_version_round_trips', 'try_get_package_id::tests::matches_pnpm_test_cases', 'try_get_package_id::tests::runtime_entries_keep_name_prefix', 'try_get_package_id::tests::url_shape_drops_name_prefix'], 'pnpm-package-manifest': ['package_manager_spec::tests::a_reference_holding_an_at_sign_stays_intact', 'package_manager_spec::tests::a_scoped_name_keeps_its_own_at_sign', 'package_manager_spec::tests::dev_engines_reads_one_entry_or_a_list', 'package_manager_spec::tests::only_a_released_version_is_a_version_request', 'package_manager_spec::tests::the_build_is_not_part_of_the_version', 'tests::authorization::an_author_renders_every_part_it_was_given', 'tests::behavior::a_script_without_a_value_is_not_build_work', 'tests::behavior::create_if_needed_does_not_pin_a_package_manager', 'tests::behavior::from_value_coerces_non_object_input_to_an_empty_object', 'tests::behavior::init_should_throw_if_exists', 'tests::behavior::safe_read_surfaces_non_not_found_io_errors', 'tests::behavior::save_caps_the_indentation_unit_at_ten_characters', 'tests::behavior::save_leaves_the_original_intact_when_the_write_cannot_complete', 'tests::behavior::save_preserves_the_source_indentation', 'tests::behavior::should_execute_a_command', 'tests::behavior::should_throw_on_missing_command', 'tests::dependencies::add_dependency_errors_when_field_is_not_an_object', 'tests::dependencies::available_dependency_names_restricts_to_save_type', 'tests::dependencies::available_dependency_names_unions_all_fields_without_save_type', 'tests::dependencies::convert_dependencies_runtime_preserves_other_single_runtime_as_array', 'tests::dependencies::convert_dependencies_runtime_trims_runtime_selector', 'tests::dependencies::convert_dependencies_runtime_updates_existing_single_entry', 'tests::dependencies::convert_dependencies_runtime_writes_devengines_runtime', 'tests::dependencies::convert_engines_runtime_lifts_devengines_runtime_into_devdependencies', 'tests::dependencies::convert_engines_runtime_skips_entries_without_a_version', 'tests::dependencies::convert_engines_runtime_targets_dependencies_for_engines_field', 'tests::dependencies::convert_engines_runtime_trims_the_version', 'tests::dependencies::failed_save_preserves_existing_file_when_dependency_field_is_malformed', 'tests::dependencies::get_dependencies_should_return_peers', 'tests::dependencies::node_version_uses_devengines_then_engines_and_returns_the_range_minimum', 'tests::dependencies::remove_dependencies_clears_all_fields_without_save_type', 'tests::dependencies::remove_dependencies_with_save_type_keeps_other_dependency_fields', 'tests::dependencies::resolve_registry_dependency_handles_pinned_version', 'tests::dependencies::resolve_registry_dependency_handles_scoped_target', 'tests::dependencies::resolve_registry_dependency_passes_through_plain_specs', 'tests::dependencies::resolve_registry_dependency_picks_last_at_for_alias', 'tests::dependencies::resolve_registry_dependency_strips_npm_alias_prefix', 'tests::dependencies::resolve_registry_dependency_unversioned_npm_alias_defaults_to_latest', 'tests::dependencies::runtime_on_fail_download_reifies_runtime_dependencies', 'tests::dependencies::runtime_on_fail_ignore_preserves_explicit_runtime_dependencies', 'tests::dependencies::runtime_on_fail_ignore_removes_only_synthesized_runtime_dependencies', 'tests::dependencies::save_converts_runtime_dependencies_before_writing', 'tests::dependencies::save_sorts_dependency_fields_and_drops_empty_ones', 'tests::dependencies::should_add_dependency', 'tests::files::failed_save_preserves_existing_file_contents', 'tests::files::noop_save_does_not_rewrite_the_file', 'tests::files::save_preserves_the_final_newline_state_of_the_source_file', 'tests::lockfile::from_path_errors_no_importer_when_missing', 'tests::manifests::a_bom_after_the_start_of_the_manifest_is_still_a_parse_error', 'tests::manifests::bundle_dependencies', 'tests::manifests::extracts_license_from_modern_and_legacy_manifest_fields', 'tests::manifests::from_path_reads_a_manifest_that_starts_with_a_utf8_bom', 'tests::manifests::init_package_json_content_with_every_init_option', 'tests::manifests::init_should_create_package_json_if_not_exist', 'tests::manifests::modern_license_takes_priority_and_invalid_values_fall_back', 'tests::manifests::new_manifests_end_with_a_final_newline', 'tests::manifests::parse_manifest_bytes_accepts_undecoded_bom_prefixed_bytes', 'tests::manifests::safe_read_package_json_from_dir_reads_a_manifest_that_starts_with_a_utf8_bom', 'tests::manifests::save_and_get_written_value_returns_saved_manifest', 'tests::manifests::save_preserves_the_existing_package_json_permissions', 'tests::manifests::saving_a_bom_prefixed_manifest_keeps_the_bom_until_something_changes', 'tests::manifests::test_init_package_json_content', 'tests::runtime::convert_engines_ignores_non_array_non_object_runtime_entries', 'tests::runtime::convert_engines_runtime_handles_array_form_with_multiple_runtimes', 'tests::runtime::convert_engines_runtime_only_reifies_onfail_download', 'tests::runtime::convert_engines_runtime_preserves_explicit_user_dep', 'tests::runtime::from_path_applies_convert_engines_runtime', 'tests::runtime::save_prunes_only_removed_reified_runtime_entry_from_array', 'tests::runtime::save_prunes_removed_reified_runtime_entry'], 'pnpm-workspace-manifest-writer': ['tests::behavior::allow_builds_clearing_legacy_drops_every_legacy_key_in_the_same_write', 'tests::behavior::allow_builds_clearing_legacy_is_a_noop_when_no_legacy_key_is_present', 'tests::behavior::allow_builds_creates_and_round_trips_a_colon_key', 'tests::behavior::allow_builds_creates_block_when_absent', 'tests::behavior::allow_builds_keeps_a_trailing_comment', 'tests::behavior::allow_builds_preserves_other_keys_and_comments', 'tests::behavior::allow_builds_replaces_a_multi_word_placeholder_value', 'tests::behavior::allow_builds_replaces_a_plain_value_containing_a_quote', 'tests::behavior::allow_builds_replaces_a_value_with_a_doubled_single_quote', 'tests::behavior::allow_builds_upserts_a_key_containing_a_colon', 'tests::behavior::allow_builds_upserts_existing_entry', 'tests::behavior::allow_builds_writes_boolean_values_unquoted', 'tests::behavior::appends_entry_when_block_is_unordered', 'tests::behavior::changing_the_value_of_the_last_field_keeps_its_single_blank_line', 'tests::behavior::delete_last_field_drops_a_separator_below_a_header_written_in_a_comment', 'tests::behavior::delete_last_field_drops_a_separator_below_a_quoted_scalar_holding_a_header', 'tests::behavior::delete_last_field_drops_a_separator_below_an_unrelated_kept_chomped_scalar', 'tests::behavior::delete_last_field_keeps_a_kept_chomped_block_scalars_trailing_blank', 'tests::behavior::delete_last_field_keeps_the_blank_below_a_deeper_indented_scalar_line', 'tests::behavior::delete_last_field_keeps_the_blank_of_a_scalar_under_a_quoted_key', 'tests::behavior::delete_last_field_keeps_the_blank_of_a_scalar_under_an_apostrophe_key', 'tests::behavior::delete_last_field_leaves_no_trailing_blank_line', 'tests::behavior::delete_unset_field_is_noop', 'tests::behavior::inserts_entry_in_sorted_position', 'tests::behavior::inserts_entry_into_a_four_space_indented_block', 'tests::behavior::minimum_release_age_exclude_add_ends_a_reused_last_line_that_has_no_newline', 'tests::behavior::minimum_release_age_exclude_add_keeps_other_comments_when_one_entry_is_rewritten', 'tests::behavior::minimum_release_age_exclude_add_keeps_the_existing_entries_comments', 'tests::behavior::minimum_release_age_exclude_add_matches_the_blocks_crlf_line_endings', 'tests::behavior::minimum_release_age_exclude_added_after_packages', 'tests::behavior::minimum_release_age_exclude_block_is_created', 'tests::behavior::minimum_release_age_exclude_empty_removes_the_block', 'tests::behavior::minimum_release_age_exclude_noop_when_unchanged', 'tests::behavior::minimum_release_age_exclude_replaces_existing_block', 'tests::behavior::minimum_release_age_excludes_rejects_control_characters', 'tests::behavior::no_blank_lines_when_original_has_none', 'tests::behavior::no_op_when_entry_already_present_with_same_specifier', 'tests::behavior::overrides_are_added_after_packages', 'tests::behavior::overrides_block_is_created', 'tests::behavior::overrides_merge_into_an_existing_block', 'tests::behavior::overrides_noop_when_already_present', 'tests::behavior::overrides_quote_keys_and_values_that_need_it', 'tests::behavior::preserves_comment_when_inserting_before_commented_entry', 'tests::behavior::preserves_quotes_and_appends_new_entry', 'tests::behavior::prune_allow_builds_edits_a_flow_mapping_in_place', 'tests::behavior::prune_allow_builds_keeps_a_flow_mapping_comment_and_quoting', 'tests::behavior::prune_allow_builds_keeps_decided_entries', 'tests::behavior::prune_allow_builds_keeps_keys_with_no_provable_package_name', 'tests::behavior::prune_allow_builds_removes_undecided_entry_whose_package_is_not_resolved', 'tests::behavior::quotes_scoped_package_keys', 'tests::behavior::remove_overrides_drops_a_flow_style_block_when_emptied', 'tests::behavior::remove_overrides_drops_only_the_named_entry', 'tests::behavior::remove_overrides_drops_the_block_when_emptied_but_keeps_siblings', 'tests::behavior::remove_overrides_handles_flow_style_mappings', 'tests::behavior::remove_overrides_is_a_noop_for_absent_selectors', 'tests::behavior::remove_overrides_keeps_block_when_only_non_string_entry_remains', 'tests::behavior::remove_overrides_keeps_non_string_entries_of_a_flow_style_block', 'tests::behavior::remove_overrides_preserves_non_string_entries_in_block_style', 'tests::behavior::scaffold_allow_builds_creates_block_when_absent', 'tests::behavior::scaffold_allow_builds_leaves_a_decided_entry_alone', 'tests::behavior::set_allow_builds_rejects_control_characters', 'tests::behavior::set_object_field_with_json', 'tests::behavior::set_overrides_edits_an_inline_flow_block', 'tests::behavior::set_overrides_refuses_a_multiline_flow_block', 'tests::behavior::set_overrides_refuses_to_clobber_a_non_scalar_value', 'tests::behavior::set_overrides_rejects_control_characters', 'tests::behavior::set_overrides_updates_an_entry_of_an_inline_flow_block', 'tests::configuration::audit_config_block_is_created', 'tests::configuration::audit_config_block_with_multiple_ghsas', 'tests::configuration::config_dependencies_batch_updates_all_entries_in_one_manifest', 'tests::configuration::config_dependency_added_to_existing_block', 'tests::configuration::config_dependency_creates_block_when_absent', 'tests::configuration::config_dependency_noop_when_unchanged_returns_false', 'tests::configuration::config_dependency_preserves_other_keys_and_comments', 'tests::configuration::config_dependency_upserts_existing_entry', 'tests::configuration::ignore_ghsas_adds_key_to_existing_audit_config', 'tests::configuration::ignore_ghsas_edits_an_inline_flow_audit_config', 'tests::configuration::ignore_ghsas_empty_preserves_sibling_audit_config_keys', 'tests::configuration::ignore_ghsas_refuses_a_multiline_flow_audit_config', 'tests::configuration::patched_dependency_removes_manifest_when_last_setting_is_removed', 'tests::configuration::setting_a_field_after_deleting_the_last_one_keeps_a_single_blank_line', 'tests::dependencies::patched_dependency_creates_block_when_absent', 'tests::dependencies::patched_dependency_missing_decoded_block_returns_original_text_when_removing_block', 'tests::dependencies::patched_dependency_missing_decoded_mapping_keeps_text_before_inserting_new_block', 'tests::dependencies::patched_dependency_noops_when_unchanged', 'tests::dependencies::patched_dependency_quotes_scoped_keys_and_slash_paths', 'tests::dependencies::patched_dependency_remove_preserves_successor_comments', 'tests::dependencies::patched_dependency_removes_empty_block', 'tests::dependencies::patched_dependency_removes_empty_last_block', 'tests::dependencies::patched_dependency_removes_omitted_entries', 'tests::dependencies::set_patched_dependencies_reports_read_errors', 'tests::files::allow_builds_clearing_legacy_deletes_the_file_when_nothing_remains', 'tests::files::allow_builds_no_op_when_unchanged_keeps_file', 'tests::files::delete_last_field_removes_file', 'tests::files::ignore_ghsas_empty_removes_audit_ignore_and_keeps_siblings', 'tests::files::ignore_ghsas_empty_removes_the_audit_block_when_ignore_is_its_only_key', 'tests::files::ignore_ghsas_empty_removes_the_block', 'tests::files::ignore_ghsas_empty_with_sibling_only_is_a_noop', 'tests::files::ignore_ghsas_noop_when_already_present', 'tests::files::ignore_ghsas_rejects_control_characters', 'tests::files::ignore_ghsas_removes_the_shadowed_deprecated_list_when_both_are_present', 'tests::files::ignore_ghsas_replaces_an_existing_list', 'tests::files::ignore_ghsas_targets_the_canonical_audit_ignore_list', 'tests::files::prune_allow_builds_deletes_block_and_file_when_empty', 'tests::files::prune_allow_builds_prunes_a_dep_path_key_by_its_package_name', 'tests::files::remove_overrides_deletes_the_file_when_nothing_remains', 'tests::files::scaffold_allow_builds_no_op_when_already_scaffolded_keeps_file', 'tests::files::set_scalar_field_into_existing_file', 'tests::flow_style::a_flow_collection_of_the_wrong_kind_fails_to_parse', 'tests::flow_style::a_multiline_flow_block_is_deleted_whole_by_config_delete', 'tests::flow_style::a_multiline_flow_block_is_dropped_whole_when_it_empties', 'tests::flow_style::a_multiline_flow_mapping_is_refused_rather_than_flattened', 'tests::flow_style::a_multiline_flow_sequence_is_refused_rather_than_rewritten', 'tests::flow_style::a_new_named_catalog_is_added_to_a_flow_catalogs_mapping', 'tests::flow_style::a_whole_document_flow_mapping_is_refused_rather_than_corrupted', 'tests::flow_style::allow_build_is_added_to_a_flow_mapping', 'tests::flow_style::allow_build_is_updated_in_a_flow_mapping', 'tests::flow_style::an_aliased_block_is_refused_rather_than_corrupted', 'tests::flow_style::catalog_entry_is_added_to_a_flow_mapping', 'tests::flow_style::catalog_entry_is_updated_in_a_flow_mapping', 'tests::flow_style::config_dependency_is_added_to_a_flow_mapping', 'tests::flow_style::ignore_ghsas_are_added_to_a_flow_audit_config', 'tests::flow_style::ignore_ghsas_stay_a_flow_sequence_under_a_block_audit_config', 'tests::flow_style::minimum_release_age_excludes_stay_a_flow_sequence', 'tests::flow_style::named_catalog_entry_is_added_to_a_nested_flow_mapping', 'tests::flow_style::omitted_patched_dependency_is_dropped_from_a_flow_mapping', 'tests::flow_style::patched_dependency_is_added_to_a_flow_mapping', 'tests::flow_style::undecided_allow_build_is_added_to_a_flow_mapping', 'tests::flow_style::undecided_allow_build_leaves_a_decided_flow_entry_alone', 'tests::integrity::allow_builds_replaces_a_quoted_value_containing_a_hash', 'tests::manifests::a_manifest_already_ending_in_a_blank_line_gains_no_second_one', 'tests::manifests::a_manifest_ending_in_a_whitespace_only_line_gains_no_second_blank', 'tests::manifests::allow_builds_clearing_legacy_is_a_noop_when_the_manifest_is_missing', 'tests::manifests::allow_builds_rejects_a_manifest_with_duplicate_keys', 'tests::manifests::delete_field_without_a_manifest_is_noop', 'tests::manifests::minimum_release_age_excludes_are_added_to_the_local_manifest_values', 'tests::manifests::patched_dependency_empty_map_does_not_create_manifest', 'tests::manifests::patched_dependency_empty_map_preserves_manifest_without_patch_block', 'tests::manifests::patched_dependency_preserves_existing_manifest_content', 'tests::manifests::remove_overrides_is_a_noop_when_the_manifest_is_missing', 'tests::manifests::write_or_remove_manifest_ignores_missing_empty_manifest', 'tests::manifests::write_or_remove_manifest_reports_remove_errors', 'tests::manifests::write_or_remove_manifest_reports_write_errors', 'tests::minimum_release_age_exclude_prune::drops_a_bare_name_when_the_package_is_absent', 'tests::minimum_release_age_exclude_prune::drops_a_versioned_entry_whose_version_is_no_longer_resolved', 'tests::minimum_release_age_exclude_prune::keeps_a_bare_name_when_the_package_is_resolved', 'tests::minimum_release_age_exclude_prune::keeps_a_glob_entry_with_no_match', 'tests::minimum_release_age_exclude_prune::keeps_a_union_entry_verbatim_when_every_version_is_resolved', 'tests::minimum_release_age_exclude_prune::keeps_a_versioned_entry_whose_version_is_resolved', 'tests::minimum_release_age_exclude_prune::keeps_an_empty_list_verbatim', 'tests::minimum_release_age_exclude_prune::keeps_an_unparsable_entry_verbatim', 'tests::minimum_release_age_exclude_prune::keeps_the_bare_name_but_prunes_versions_of_a_non_semver_only_package', 'tests::minimum_release_age_exclude_prune::removes_the_file_when_the_emptied_block_was_the_only_key', 'tests::minimum_release_age_exclude_prune::rewrites_a_narrowed_version_union_canonically', 'tests::minimum_release_age_exclude_prune::skips_cleanup_without_resolved_versions', 'tests::remove_unused_catalogs::keeps_entries_referenced_only_by_workspace_overrides', 'tests::remove_unused_catalogs::keeps_the_same_package_in_each_referenced_catalog', 'tests::remove_unused_catalogs::prunes_a_flow_style_catalogs_mapping', 'tests::remove_unused_catalogs::prunes_the_entries_of_a_flow_style_named_catalog', 'tests::remove_unused_catalogs::removes_an_entirely_unused_named_catalog', 'tests::remove_unused_catalogs::removes_entries_unreferenced_by_dependencies_and_overrides', 'tests::remove_unused_catalogs::removes_the_default_catalog_when_nothing_references_it', 'tests::remove_unused_catalogs::removes_the_file_when_every_named_catalog_empties', 'tests::remove_unused_catalogs::removes_the_unused_default_catalog_entries', 'tests::remove_unused_catalogs::removes_the_unused_entries_under_catalogs_default', 'tests::remove_unused_catalogs::skips_cleanup_without_projects', 'tests::remove_unused_catalogs::updates_catalogs_and_cleans_up_in_one_write', 'tests::security::allow_builds_replaces_a_value_with_an_escaped_quote', 'tests::security::patched_dependency_removes_empty_or_null_block', 'tests::security::prune_allow_builds_prunes_an_escaped_quoted_key', 'tests::security::set_allow_builds_replaces_a_symlinked_manifest_without_following_it', 'tests::trust_policy_exclude_prune::drops_a_bare_name_when_the_package_is_absent', 'tests::trust_policy_exclude_prune::drops_a_comment_between_entries_with_the_entry_below_it', 'tests::trust_policy_exclude_prune::drops_a_versioned_entry_whose_version_is_no_longer_resolved', 'tests::trust_policy_exclude_prune::keeps_a_blank_line_between_entries_when_the_entry_above_is_pruned', 'tests::trust_policy_exclude_prune::keeps_a_block_scalar_entry_value_when_another_entry_is_pruned', 'tests::trust_policy_exclude_prune::keeps_a_comment_between_entries_when_the_entry_above_is_pruned', 'tests::trust_policy_exclude_prune::keeps_a_glob_entry_with_no_match', 'tests::trust_policy_exclude_prune::keeps_a_standalone_comment_above_the_list', 'tests::trust_policy_exclude_prune::keeps_a_surviving_entry_comment_when_a_narrowed_entry_is_rewritten', 'tests::trust_policy_exclude_prune::keeps_a_surviving_entry_trailing_comment_when_another_entry_is_pruned', 'tests::trust_policy_exclude_prune::keeps_a_union_entry_verbatim_when_every_version_is_resolved', 'tests::trust_policy_exclude_prune::keeps_a_versioned_entry_whose_version_is_resolved', 'tests::trust_policy_exclude_prune::keeps_an_empty_list_verbatim', 'tests::trust_policy_exclude_prune::keeps_an_unparsable_entry_verbatim', 'tests::trust_policy_exclude_prune::prunes_both_exclude_lists_when_both_settings_are_on', 'tests::trust_policy_exclude_prune::removes_the_file_when_the_emptied_block_was_the_only_key', 'tests::trust_policy_exclude_prune::rewrites_a_narrowed_version_union_canonically', 'tests::trust_policy_exclude_prune::skips_cleanup_without_resolved_versions', 'tests::workspace_settings::add_catalogs_rejects_control_characters', 'tests::workspace_settings::adds_a_new_catalog_after_packages', 'tests::workspace_settings::catalog_sorts_to_front_with_blank_line_style', 'tests::workspace_settings::default_catalog_goes_to_the_catalog_shorthand', 'tests::workspace_settings::default_merges_into_existing_catalog_shorthand', 'tests::workspace_settings::default_merges_into_existing_catalogs_default', 'tests::workspace_settings::empty_catalogs_does_not_create_a_file', 'tests::workspace_settings::named_catalog_added_to_existing_catalogs', 'tests::workspace_settings::named_catalogs_create_a_catalogs_block', 'tests::workspace_settings::preserves_blank_lines_when_inserting_a_catalog_between_fields', 'tests::workspace_settings::updates_named_catalog_value_preserving_comment']} | |