team-ljyzipelo

공개
206줄13 KB
1{
2 "schemaVersion": 1,
3 "productionHead": "df292b44ac4da78ab5e27576a6e226991b1db2c5",
4 "productionPr": "https://github.com/Team-LJY/zipelo/pull/35",
5 "productionSha256": {
6 "Cargo.lock": "bb094be9b047cc7a9100492e1e7aa69ddbbc2a3d8bf2c4e8eaa49024160fd2c3",
7 "Cargo.toml": "26fcf2d89f9078f3fce6500212c19f9ff630338b568c753f611944297ebafba5",
8 "SHA256SUMS": "6737037c8b906ffdad418c8e8b817dfae5b06049da784e11254771ba0d619a48",
9 "contract.json": "2b6d84bb571df34b34ae608864ec88502ffc1439298756499a47b309a9c9d225",
10 "src/lib.rs": "3b2019fd963600155fd4dc01f55fef7f3e5c8ceec944a36597de984d5a8b7e8b",
11 "src/storage.rs": "cc4e74eb52f1016792857aebdddf2c52430fbddc6714117edc9d843d5a2b65df"
12 },
13 "branch": "fix/rust-memory-zip-create-regressions",
14 "ownership": {
15 "production": "backend; no edits by this test change",
16 "tests": "bugfix; only tests/rust-memory-zip-create/",
17 "integration": "manager and backend; new combined head required"
18 },
19 "tests": {
20 "publicApiFunctions": 42,
21 "privateStorageFunctions": 11,
22 "totalFunctions": 53,
23 "functions": {
24 "api.rs": [],
25 "lifecycle.rs": [
26 "input_checkpoints_partition_bytes_into_at_most_64k",
27 "stored_cancel_at_every_observed_checkpoint_returns_no_artifact",
28 "deflate_cancel_at_every_observed_checkpoint_returns_no_artifact",
29 "stored_injected_deadline_at_every_observed_checkpoint_is_sticky",
30 "deflate_injected_deadline_at_every_observed_checkpoint_is_sticky",
31 "cancellation_at_return_discards_finished_zip",
32 "budget_failure_blocks_cleanup_callbacks_and_preserves_cause",
33 "invalid_timeout_rejected_before_callbacks",
34 "cancellation_at_start_precedes_unsupported_option"
35 ],
36 "limits.rs": [
37 "caller_input_exact_and_one_over",
38 "aggregate_input_not_just_each_entry_is_bounded",
39 "hard_input_limit_and_larger_caller_cannot_bypass",
40 "zero_input_budget_allows_empty_file_only",
41 "artifact_counts_as_one_additional_entry",
42 "hard_input_count_1024_and_one_over",
43 "output_exact_and_one_byte_over_caller_budget",
44 "stored_output_hard_limit_exact_and_one_over",
45 "processed_is_input_plus_zip_without_rewrite_double_charge",
46 "processed_budget_covers_all_input_before_writer_creation",
47 "central_directory_overflow_is_checked_before_write_and_return",
48 "zero_output_or_processed_budget_cannot_publish_empty_file",
49 "maximal_caller_values_do_not_overflow_small_creation"
50 ],
51 "names.rs": [
52 "rejects_root_drive_backslash_and_dot_components",
53 "rejects_every_ascii_control_and_windows_dangerous_character",
54 "rejects_reserved_stems_case_extensions_and_trimmed_spaces",
55 "rejects_trailing_space_dot_and_space_only_components",
56 "rejects_unicode_including_korean_and_decomposed_names",
57 "component_255_accepted_256_rejected",
58 "full_name_1024_accepted_1025_rejected",
59 "safe_ascii_punctuation_and_nonreserved_stems_remain_accepted",
60 "exact_and_ascii_case_duplicates_conflict",
61 "ancestor_collision_is_rejected_in_both_orders_and_cases",
62 "common_prefix_without_separator_is_not_a_collision",
63 "sibling_directory_case_spelling_is_preserved"
64 ],
65 "roundtrip.rs": [
66 "stored_empty_file_roundtrip",
67 "deflate_empty_file_roundtrip",
68 "stored_preserves_order_contents_crc_method_and_fixed_time",
69 "deflate_preserves_order_contents_crc_method_and_fixed_time",
70 "default_method_is_deflate",
71 "csharp_ascii_hello_fixture_roundtrip",
72 "empty_archive_is_invalid",
73 "unsupported_flags_stop_before_input_or_output"
74 ],
75 "storage.rs": [
76 "memory_storage_patch_does_not_double_charge_extent",
77 "memory_storage_budget_failure_precedes_allocation_and_is_sticky",
78 "memory_storage_processed_failure_precedes_extension",
79 "memory_storage_checked_processed_sum_rejects_overflow",
80 "memory_storage_seek_modes_preserve_bytes_and_reject_holes",
81 "memory_storage_cancelled_patch_is_atomic_and_latched",
82 "memory_storage_expired_real_clock_rejects_patch_without_callback",
83 "memory_storage_injected_deadline_remains_after_callback_recovers",
84 "memory_storage_first_failure_dominates_later_clock_and_callback",
85 "memory_storage_typed_failure_survives_io_and_zip_wrapping",
86 "memory_storage_drop_cannot_clear_preexisting_failure"
87 ],
88 "support.rs": []
89 },
90 "parameterizedScenarios": "Multiple cases per function; function count is not a run/pass count."
91 },
92 "wiringRequired": {
93 "status": "Not applied. Backend owns production manifest and private module connection.",
94 "cargoTomlAppend": "[[test]]\nname = \"memory_zip_create\"\npath = \"../../tests/rust-memory-zip-create/api.rs\"\n",
95 "storageRsAppend": "#[cfg(test)]\n#[path = \"../../../tests/rust-memory-zip-create/storage.rs\"]\nmod memory_zip_storage_tests;\n",
96 "privateAccess": "Tests compile as a child module of production storage, not a copied implementation. No public test hooks or production exports needed."
97 },
98 "oracles": [
99 "Roundtrip through existing zip reader with known CRC 0xcbf43926 for ASCII 123456789 and CRC 0 for empty files.",
100 "Inspect only newly generated normal ZIP structures: local/central CRC and lengths, no ZIP64 sentinels/extra fields, expected count and final footer adjacency. No malformed EOCD fixture or old blocked reproduction.",
101 "Compare stored and deflated order/name/content/CRC/method/fixed DOS time. Same Rust output used to calculate small exact budgets; never compare full C# ZIP bytes.",
102 "Private sink tests inspect bytes, position and capacity before/after failed writes; force first errors without real allocator failure.",
103 "For each successful trace checkpoint, separately inject Cancelled or Deadline, require Err and no later callbacks. Covers Input, patch Write/Seek, Finish and Return actually observed by that trace."
104 ],
105 "csharpEvidence": [
106 {
107 "path": "tests/runtime/RuntimeTests.cs:218",
108 "mapping": "hello.txt bytes [7,8,9], processed/output/entry failure cases; copied intent only, original unchanged."
109 },
110 {
111 "path": "tests/runtime/RuntimeTests.cs:239",
112 "mapping": "ASCII case duplicate and ancestor conflicts. Linux-only allowed names/backslash behavior deliberately not claimed as parity."
113 },
114 {
115 "path": "src/Zipelo.Core/OutputPathPolicy.cs:53",
116 "mapping": "ASCII reserved stems, component length, controls, trailing dot/space; Unicode excluded."
117 }
118 ],
119 "staticReview": {
120 "productionReviewed": [
121 "src/lib.rs",
122 "src/storage.rs"
123 ],
124 "observations": [
125 "Private storage checks input + maximum logical extent before reserve/resize. Rewrites do not double charge.",
126 "Gate first failure is sticky; pre-existing gate failure blocks later callbacks and storage writes/seeks/flushes.",
127 "Owned inputs are moved and then dropped; no recovery/zeroization guarantee.",
128 "Upstream ZipWriter::finish consumes writer and may implicitly finalize again before backend-only failure is returned. stderr and all backend cleanup work are not suppressed; existing contract discloses this limitation."
129 ],
130 "newConfirmedDefects": [],
131 "conclusion": "Static source review and regression sources only. No dynamic correctness or vulnerability-free claim."
132 },
133 "validation": {
134 "rustfmt": "Installed 1.99.1 rustfmt format and check completed. Default stable shim initially lacked rustfmt; no installation or toolchain settings changed.",
135 "localProductionMatchesFixedRemoteBlobs": true,
136 "build": false,
137 "typeCheck": false,
138 "testExecution": false,
139 "runLimitations": [
140 "42 public tests and 11 private tests are not yet wired or executed.",
141 "Callback Deadline tests prove injected stop behavior only. Private expired-Instant test initializes an already expired deadline and preexisting sink state; it is not an elapsed-wait or concurrent timing test.",
142 "Allocation and Engine wrapping checks are type-mapping tests, not actual allocator/OOM or codec failure reproductions.",
143 "No hard CPU/heap/preemption, worker/process/filesystem/IPC/UI, Windows execution, full C# parity or product acceptance validation."
144 ]
145 },
146 "centralCommandsAfterWiring": [
147 "sha256sum -c tests/rust-memory-zip-create/SHA256SUMS",
148 "cargo +1.99.1 build --locked --offline --manifest-path experiments/rust-memory-zip-create/Cargo.toml --lib --target-dir tests/rust-memory-zip-create/target",
149 "cargo +1.99.1 test --locked --offline --manifest-path experiments/rust-memory-zip-create/Cargo.toml --lib --target-dir tests/rust-memory-zip-create/target -- --test-threads=1",
150 "cargo +1.99.1 test --locked --offline --manifest-path experiments/rust-memory-zip-create/Cargo.toml --test memory_zip_create --target-dir tests/rust-memory-zip-create/target -- --test-threads=1"
151 ],
152 "centralRules": "Verify exact integrated head and all files first. Require discovery of 42 public and 11 private tests; zero tests is not a pass. Report each run and fixed head separately. Stop on mismatched source or unexpected targets.",
153 "preserved": "No existing source, fixture, expectation, lock, PR28-34 head, security reproduction or execveat action changed. No download/install/build/test execution/VM/user archive/merge/C# deletion.",
154 "revisionHistory": [
155 {
156 "baseTestHead": "287d4dfe288247b37c6a26f82003f8f26e4a90cc",
157 "change": "Two test call sites now require ZipFile::name() decoding success with expect(), then compare the decoded name with the original string expectation. No fallback, default, test rename, count change or production edit.",
158 "files": [
159 "roundtrip.rs",
160 "support.rs",
161 "contract.json",
162 "SHA256SUMS"
163 ],
164 "apiEvidence": "zip 9.5.0 src/read/zipfile.rs:97: pub fn name(&self) -> ZipResult<Cow<'_, str>>",
165 "preservedHistoricalExecution": {
166 "integrationHead": "91ffbd43241f669b9a7af3a51876bb86fb690685",
167 "productionHead": "4989f14a026399ba0f09107097cc217d82d01510",
168 "testHead": "287d4dfe288247b37c6a26f82003f8f26e4a90cc",
169 "kind": "Author-side integration execution, not independent verification",
170 "toolchain": "Rust/Cargo 1.99.1, locked/offline",
171 "buildLib": {
172 "exitCode": 0
173 },
174 "testLib": {
175 "exitCode": 0,
176 "discovered": 11,
177 "passed": 11,
178 "failed": 0,
179 "ignored": 0,
180 "measured": 0,
181 "filteredOut": 0
182 },
183 "collector": "Initial combined-stream matcher failed because two newline-free Drop stderr diagnostics interrupted one passing result line. Raw log retained. One separate-stream lib repeat confirmed the same 11 passing names and two Cancelled Drop stderr diagnostics; collector negative/positive checks 14 passed.",
184 "testPublicApi": {
185 "exitCode": 101,
186 "discovered": 0,
187 "executed": 0,
188 "compileErrors": 2,
189 "error": "E0369",
190 "locations": [
191 "roundtrip.rs:67",
192 "support.rs:59"
193 ],
194 "cause": "Compared Result<Cow<str>, ZipError> directly with &str."
195 }
196 },
197 "currentRevisionValidation": {
198 "staticChecks": "rustfmt --check, exact two-call-site diff, unchanged 42 public and 11 private function names and expectations, SHA256 manifest and remote blobs",
199 "build": false,
200 "typeCheck": false,
201 "testExecution": false,
202 "pending": "Manager must create a new integrated head before execution. Do not combine prior production/lib results with this revised test head."
203 }
204 }
205 ]
206}