Files
Agent-Workbench/docs/desktop-credentials-b-tests.tap
2026-10-31 11:50:51 +08:00

137 lines
6.2 KiB
Plaintext

TAP version 13
# Subtest: actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
ok 1 - actual Windows CurrentUser DPAPI roundtrips owned UTF-8 and rejects damaged bytes and wrong entropy
---
duration_ms: 1703.112
type: 'test'
...
# Subtest: only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
ok 2 - only explicitly supplied keys persist; new provider restores original revisions and public views contain no key
---
duration_ms: 2823.1817
type: 'test'
...
# Subtest: registry and cipher commit failure restores original routing, keys, block and every database row
ok 3 - registry and cipher commit failure restores original routing, keys, block and every database row
---
duration_ms: 1872.4547
type: 'test'
...
# Subtest: a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
ok 4 - a two-key import with a protection failure rolls back all registry and cipher entries and retains its preview
---
duration_ms: 1892.0773
type: 'test'
...
# Subtest: connection revision changes retain the original saved block and report a source mismatch on restart
ok 5 - connection revision changes retain the original saved block and report a source mismatch on restart
---
duration_ms: 2825.6882
type: 'test'
...
# Subtest: disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
ok 6 - disable skips real restart loading, explicit enable restores, delete preserves memory and forget removes both
---
duration_ms: 2609.0633
type: 'test'
...
# Subtest: corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
ok 7 - corrupt saved block and another SID do not load; failures are visible without returning ciphertext or plaintext
---
duration_ms: 2682.8404
type: 'test'
...
# Subtest: legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
ok 8 - legacy persistence requires a new explicit key and binds config and credential revisions; stale requests cannot save
---
duration_ms: 2361.2135
type: 'test'
...
# Subtest: owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
ok 9 - owned plaintext keys never reach SQLite pages, WAL, config or public execution exports
---
duration_ms: 1256.7214
type: 'test'
...
# Subtest: model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
ok 10 - model registry keeps original credentials/endpoint intact, rejects stale edits, and forgets only volatile keys on restart
---
duration_ms: 914.4979
type: 'test'
...
# Subtest: config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
ok 11 - config import previews exact revisions, keeps secrets volatile, syncs only when enabled and preserves manual edits on conflicts
---
duration_ms: 753.8609
type: 'test'
...
# Subtest: real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
ok 12 - real HTTP pool fails over 429 to another model and never repeats completed tools; attempts seal actual request bytes and Run identity
---
duration_ms: 2729.1166
type: 'test'
...
# Subtest: pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
ok 13 - pool rotation and weights select members on new Runs; disabled and missing credentials are excluded without requests
---
duration_ms: 3857.7792
type: 'test'
...
# Subtest: 401 blocks the credential revision; updating the key restores availability without leaking error echoes
ok 14 - 401 blocks the credential revision; updating the key restores availability without leaking error echoes
---
duration_ms: 2080.9134
type: 'test'
...
# Subtest: queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
ok 15 - queued request cancellation and in-flight disable release only owned leases and do not dispatch another HTTP request
---
duration_ms: 958.8689
type: 'test'
...
# Subtest: compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
ok 16 - compiled model-center HTTP API persists public profiles, blocks forged origins, and local operations never invoke a model
---
duration_ms: 2084.6897
type: 'test'
...
# Subtest: model registry disk failures restore routing, pool profiles and credential references without partial updates
ok 17 - model registry disk failures restore routing, pool profiles and credential references without partial updates
---
duration_ms: 957.6324
type: 'test'
...
# Subtest: model selection and saved configuration commit together and failures preserve the original mode and endpoint
ok 18 - model selection and saved configuration commit together and failures preserve the original mode and endpoint
---
duration_ms: 711.9416
type: 'test'
...
# Subtest: configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
ok 19 - configuration imports roll back the entire batch and retain one usable preview after validation or commit failure
---
duration_ms: 726.4839
type: 'test'
...
# Subtest: hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
ok 20 - hot upgrade refreshes retained model and importer methods while preserving credential and routing objects
---
duration_ms: 751.8999
type: 'test'
...
# Subtest: hot upgrade refuses active probes and restores retained model methods if installation fails
ok 21 - hot upgrade refuses active probes and restores retained model methods if installation fails
---
duration_ms: 728.8236
type: 'test'
...
1..21
# tests 21
# suites 0
# pass 21
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 20118.8961