team-ljyzipelo

공개

시스템 폰트 회귀와 검증 계약 추가

작성자
코노모리 카논
작성 시각
커밋
5ff9b434d303ddda1689baabe6b1e6085854f9ae
부모
8600cee
이 시점의 파일 보기

변경된 파일 9개

+955-0
추가tests/rust-ui-system-font-regressions/Cargo.lock+7-0
@@ -0,0 +1,7 @@
1추가: # This file is automatically @generated by Cargo.
2추가: # It is not intended for manual editing.
3추가: version = 4
4추가:
5추가: [[package]]
6추가: name = "zipelo-ui-system-font-regressions"
7추가: version = "0.1.0"
추가tests/rust-ui-system-font-regressions/Cargo.toml+16-0
@@ -0,0 +1,16 @@
1추가: [package]
2추가: name = "zipelo-ui-system-font-regressions"
3추가: version = "0.1.0"
4추가: edition = "2024"
5추가: rust-version = "1.99"
6추가: license = "MIT"
7추가: publish = false
8추가: autotests = false
9추가: autoexamples = false
10추가: autobenches = false
11추가:
12추가: [[test]]
13추가: name = "linux_system_font"
14추가: path = "linux_loader.rs"
15추가:
16추가: [workspace]
추가tests/rust-ui-system-font-regressions/SHA256SUMS+8-0
@@ -0,0 +1,8 @@
1추가: ad22d828d9cc49c5a6a0209eb14f36106382d0c0b87d258b3ec434d38b4a8a4c Cargo.lock
2추가: 8375b90457bc40f05b2ec8217ff3ec51b3a4e776fe33333829aea7bb031a1f54 Cargo.toml
3추가: 508aa604b8945d6b80ce200578f4553a2ab5ade636f39ae9908458dcdd89914a contract.json
4추가: 3b021784474cd1232cbf75b451c5d8956da41d52591132b415ddcd183f56fc55 linux_loader.rs
5추가: 0ff05f10b72224e65247d18e749487ff16861e6f67c4246df243851f8529eca8 review.json
6추가: 4e39d6efc26ec3df756c6ba4762c92d6a4b673ccef641d2bf860b96766076542 run-plan.json
7추가: dd101427573d9eecd78747f195e03655fdb1c7851a9990122ef5734fcf50485d source-pins.json
8추가: 90fb650e51981af03eae0882562099265fcf3ddc41f63dc92c51235c6c2321ab static_check.py
추가tests/rust-ui-system-font-regressions/contract.json+85-0
@@ -0,0 +1,85 @@
1추가: {
2추가: "schema": "zipelo.ui-system-font-regressions.v1",
3추가: "source_head": "8600cee802bc08bfad171278133a22d94b64b597",
4추가: "source_tree": "fda600fd8dc72c712305a2ce82e4eef90a1a5695",
5추가: "branch": "fix/rust-ui-system-font-regressions",
6추가: "stage": "Source/static only. Rust compile/discovery/test/GUI have not been performed.",
7추가: "scope": "Only new tests path. Original UI, font loader, 31 regressions, Cargo lockfiles and historical evidence stay frozen.",
8추가: "deliverables": [
9추가: "Cargo.lock",
10추가: "Cargo.toml",
11추가: "SHA256SUMS",
12추가: "contract.json",
13추가: "linux_loader.rs",
14추가: "review.json",
15추가: "run-plan.json",
16추가: "source-pins.json",
17추가: "static_check.py"
18추가: ],
19추가: "new_tests": [
20추가: "linux_loader_preserves_installed_bytes_and_korean_face_index"
21추가: ],
22추가: "counts": {
23추가: "new_linux_loader": 1,
24추가: "reused_ui": 31,
25추가: "planned_total": 32,
26추가: "executed": 0
27추가: },
28추가: "base_app_sha256": "1cddb84c6a8c5e4188be79220c92532351e51979d7ad0edbc0a12ac5381ed72c",
29추가: "assembly": "#[path] compiles the exact unchanged system_font.rs as a test module, making pub(super) callable by the parent. No implementation copying, cfg rewriting, std replacement, syscall interposition or production seam.",
30추가: "loader_acceptance": [
31추가: "One real Linux production load() call reads installed Noto bytes and returns face_index=1.",
32추가: "Independently read before/after bytes equal the loader result, are nonempty, and preserve file device/inode/length/mtime/ctime.",
33추가: "Font input <=32MiB before the read; three vectors nominally <=96MiB. This is an environment precheck, not a hard memory bound against concurrent growth.",
34추가: "No font bytes stored in repository, logs or artifacts. Boolean equality assertions avoid dumping font content on failure.",
35추가: "Equal reads/identity do not establish atomic snapshot, collection parsing, glyph rendering or input authenticity."
36추가: ],
37추가: "ui_reuse": "Run the original ui_memory target and 31 exact names. These are reused tests, not new coverage; they exercise the headless library, not app.rs or font initialization.",
38추가: "app_creation": "Static only: production fs::read propagates the original io::Error via ?, load delegates, and app maps it to Error::AppCreation(Box::new(e)) before run_native. Runtime failure/downcast identity/early exit have not been observed.",
39추가: "failure_injection": "No Linux path/read seam. Missing/unreadable error checks from PR52's proposed plan cannot be induced using owned fixtures. Leave unverified without font move/chmod/mount/privilege/environment changes.",
40추가: "unverified": [
41추가: "Linux missing/unreadable font, actual errno/error identity and AppCreation early exit before window creation.",
42추가: "Font parse, face collection validity, Korean glyph rendering, production GUI startup, IME and accessibility.",
43추가: "Windows native compile/runtime, SystemRoot error/path branches and Malgun bytes/index/glyphs. No Windows cfg simulation.",
44추가: "Other OS Unsupported runtime, input ABA/concurrent changes, hostile font/environment, hard I/O or allocation limits."
45추가: ],
46추가: "dependencies": {
47추가: "new_external": 0,
48추가: "new_loader_graph": "std only",
49추가: "ui_graph": "unchanged existing manifest and lock"
50추가: },
51추가: "execution_plan": "run-plan.json",
52추가: "reused_ui_tests": [
53추가: "atomic_generation_replacement_rejects_old_selection",
54추가: "cancellation_after_terminal_does_not_rewrite_success",
55추가: "cancellation_before_work_returns_real_cancelled_result",
56추가: "close_cancel_retraction_keeps_existing_cancel_request",
57추가: "close_confirmation_does_not_cancel_and_can_be_retracted",
58추가: "close_waits_for_join_and_preserves_terminal",
59추가: "completed_during_confirmation_still_requires_choice",
60추가: "completion_receiver_loss_recovers_payload_from_join",
61추가: "controller_rejects_real_foreign_terminal_without_applying_payload",
62추가: "disconnected_progress_preserves_first_missing_sequence",
63추가: "error_retry_uses_new_operation_and_clears_previous_payload",
64추가: "full_completion_channel_returns_ownership_instead_of_dropping",
65추가: "full_queue_is_transport_failure_not_user_cancel",
66추가: "gzip_default_queue_fits_without_ui_drain",
67추가: "gzip_preview_preserves_original_bytes",
68추가: "headless_values_satisfy_thread_transfer_bounds",
69추가: "joined_task_without_received_terminal_is_delivery_failure",
70추가: "native_gzip_callback_error_survives_simultaneous_queue_full",
71추가: "normal_frame_controls_retain_running_handle_until_explicit_join",
72추가: "original_observer_error_beats_disconnected_queue",
73추가: "original_observer_error_beats_full_queue",
74추가: "original_observer_error_still_delivers_its_raw_event_when_possible",
75추가: "oversized_queue_is_rejected_without_spawning",
76추가: "progress_gap_keeps_real_terminal_but_cannot_apply_payload",
77추가: "repeated_cancel_sets_request_once",
78추가: "repeated_start_is_rejected_until_join_even_if_thread_finished",
79추가: "thread_panic_is_joined_without_synthesized_terminal",
80추가: "ui_event_wrapper_excludes_old_operation_before_current_sequence",
81추가: "ustar_default_queue_fits_without_ui_drain",
82추가: "ustar_exact_ids_and_content_limitation_are_retained",
83추가: "zip_default_queue_fits_without_ui_drain"
84추가: ]
85추가: }
추가tests/rust-ui-system-font-regressions/linux_loader.rs+48-0
@@ -0,0 +1,48 @@
1추가: #![cfg(target_os = "linux")]
2추가:
3추가: #[path = "../../experiments/rust-ui-memory-app/src/system_font.rs"]
4추가: mod system_font;
5추가:
6추가: use std::{fs, os::unix::fs::MetadataExt};
7추가:
8추가: const FONT: &str = "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc";
9추가: const MAX_FONT_BYTES: u64 = 32 * 1024 * 1024;
10추가:
11추가: fn identity(value: &fs::Metadata) -> (u64, u64, u64, i64, i64, i64, i64) {
12추가: (
13추가: value.dev(),
14추가: value.ino(),
15추가: value.len(),
16추가: value.mtime(),
17추가: value.mtime_nsec(),
18추가: value.ctime(),
19추가: value.ctime_nsec(),
20추가: )
21추가: }
22추가:
23추가: #[test]
24추가: fn linux_loader_preserves_installed_bytes_and_korean_face_index() {
25추가: let metadata_before = fs::metadata(FONT).expect("설치된 Noto 글꼴 확인 실패");
26추가: assert!(metadata_before.is_file(), "일반 글꼴 파일이어야 함");
27추가: assert!(
28추가: (1..=MAX_FONT_BYTES).contains(&metadata_before.len()),
29추가: "글꼴 입력 상한 초과 또는 빈 파일임"
30추가: );
31추가: let before = fs::read(FONT).expect("기준 글꼴 읽기 실패");
32추가: assert_eq!(before.len() as u64, metadata_before.len());
33추가:
34추가: let loaded = system_font::load().expect("생산 Linux 로더 실패");
35추가: assert_eq!(loaded.face_index, 1);
36추가: assert_eq!(loaded.bytes.len(), before.len());
37추가: assert!(loaded.bytes == before, "생산 로더와 설치 글꼴 bytes가 다름");
38추가:
39추가: let after = fs::read(FONT).expect("글꼴 보존 확인 실패");
40추가: let metadata_after = fs::metadata(FONT).expect("글꼴 identity 확인 실패");
41추가: assert!(after == before, "시험 중 설치 글꼴 bytes가 변경됨");
42추가: assert_eq!(identity(&metadata_before), identity(&metadata_after));
43추가: println!(
44추가: "font_bytes={} face_index={} input_unchanged=true",
45추가: loaded.bytes.len(),
46추가: loaded.face_index
47추가: );
48추가: }
추가tests/rust-ui-system-font-regressions/review.json+29-0
@@ -0,0 +1,29 @@
1추가: {
2추가: "source_head": "8600cee802bc08bfad171278133a22d94b64b597",
3추가: "base_head": "f7fc8cbece281e2f9a6374b4640ca4dd9d321fbc",
4추가: "scope": "PR52 app/loader diff, caller path, dependency/lock preservation and existing 31 UI regressions",
5추가: "findings": [
6추가: {
7추가: "kind": "static-preservation",
8추가: "location": "experiments/rust-ui-memory-app/src/app.rs:160",
9추가: "evidence": "Reversing only module import, load expression, FontData bytes and index changes reconstructs the exact base app hash. AppCreation mapping precedes run_native."
10추가: },
11추가: {
12추가: "kind": "static-preservation",
13추가: "location": "experiments/rust-ui-memory-app/src/system_font.rs:12",
14추가: "evidence": "Linux path and face_index=1 preserved; fs::read returns original I/O error through ?."
15추가: },
16추가: {
17추가: "kind": "coverage-gap",
18추가: "location": "tests/rust-ui-system-fonts/contract.json",
19추가: "evidence": "Planned missing/unreadable owned-fixture cases lack a path/read injection seam. This regression contract leaves them unverified."
20추가: },
21추가: {
22추가: "kind": "static-only-platform",
23추가: "location": "experiments/rust-ui-memory-app/src/system_font.rs:25",
24추가: "evidence": "Windows var_os, absolute Disk prefix and Malgun/index0 reviewed as source only; no native support claim."
25추가: }
26추가: ],
27추가: "optional_minimum_seam": "If runtime error coverage is required later, frontend can provide an internal reader/path injection boundary retaining the fixed default plus a test-callable pre-run_native initialization path reusing the original AppCreation mapping. Proposal only; no production hook added or requested here.",
28추가: "conclusion": "No confirmed defect found within this limited diff review. Explicit error/platform coverage gaps remain; this is not overall safety assurance."
29추가: }
추가tests/rust-ui-system-font-regressions/run-plan.json+94-0
@@ -0,0 +1,94 @@
1추가: {
2추가: "schema": "zipelo.ui-system-font-run-plan.v1",
3추가: "gate": "No Rust compile/discovery/run or GUI build before fixed head/manifest review. Source parsing, rustfmt, offline lock/metadata and static checks only now.",
4추가: "preflight": [
5추가: "Use current room blocking exclusive flock for every write/build/cache access. Recheck git status and pinned inputs inside lock.",
6추가: "Verify 95 source Git blobs/modes/SHA256 and new manifest. Use installed Rust 1.99.1 and existing cache, locked/offline only.",
7추가: "Dedicated target and fresh exclusive validation directory under this tests path, canonical and owned. Refuse reuse after failure.",
8추가: "Native Linux only. Record installed Noto file metadata/size <=32MiB and SHA256 before/after; never save font bytes.",
9추가: "Original UI full manifest remains a pre-PR52 historical pin. source-pins.json is the explicit new overlay; do not weaken or claim passage of the old full check against changed app.rs."
10추가: ],
11추가: "groups": [
12추가: {
13추가: "name": "linux_loader",
14추가: "manifest": "tests/rust-ui-system-font-regressions/Cargo.toml",
15추가: "target": "linux_system_font",
16추가: "exact_names": [
17추가: "linux_loader_preserves_installed_bytes_and_korean_face_index"
18추가: ],
19추가: "count": 1,
20추가: "filtered_per_case": 0
21추가: },
22추가: {
23추가: "name": "ui_reuse",
24추가: "manifest": "experiments/rust-ui-memory-app/Cargo.toml",
25추가: "target": "ui_memory",
26추가: "count": 31,
27추가: "filtered_per_case": 30,
28추가: "exact_names": [
29추가: "atomic_generation_replacement_rejects_old_selection",
30추가: "cancellation_after_terminal_does_not_rewrite_success",
31추가: "cancellation_before_work_returns_real_cancelled_result",
32추가: "close_cancel_retraction_keeps_existing_cancel_request",
33추가: "close_confirmation_does_not_cancel_and_can_be_retracted",
34추가: "close_waits_for_join_and_preserves_terminal",
35추가: "completed_during_confirmation_still_requires_choice",
36추가: "completion_receiver_loss_recovers_payload_from_join",
37추가: "controller_rejects_real_foreign_terminal_without_applying_payload",
38추가: "disconnected_progress_preserves_first_missing_sequence",
39추가: "error_retry_uses_new_operation_and_clears_previous_payload",
40추가: "full_completion_channel_returns_ownership_instead_of_dropping",
41추가: "full_queue_is_transport_failure_not_user_cancel",
42추가: "gzip_default_queue_fits_without_ui_drain",
43추가: "gzip_preview_preserves_original_bytes",
44추가: "headless_values_satisfy_thread_transfer_bounds",
45추가: "joined_task_without_received_terminal_is_delivery_failure",
46추가: "native_gzip_callback_error_survives_simultaneous_queue_full",
47추가: "normal_frame_controls_retain_running_handle_until_explicit_join",
48추가: "original_observer_error_beats_disconnected_queue",
49추가: "original_observer_error_beats_full_queue",
50추가: "original_observer_error_still_delivers_its_raw_event_when_possible",
51추가: "oversized_queue_is_rejected_without_spawning",
52추가: "progress_gap_keeps_real_terminal_but_cannot_apply_payload",
53추가: "repeated_cancel_sets_request_once",
54추가: "repeated_start_is_rejected_until_join_even_if_thread_finished",
55추가: "thread_panic_is_joined_without_synthesized_terminal",
56추가: "ui_event_wrapper_excludes_old_operation_before_current_sequence",
57추가: "ustar_default_queue_fits_without_ui_drain",
58추가: "ustar_exact_ids_and_content_limitation_are_retained",
59추가: "zip_default_queue_fits_without_ui_drain"
60추가: ]
61추가: }
62추가: ],
63추가: "commands": [
64추가: "python3 -B tests/rust-ui-system-font-regressions/static_check.py <fixed-manifest-sha256>",
65추가: "cargo test --manifest-path <group-manifest> --locked --offline --test <group-target> --no-run --message-format=json",
66추가: "<unique-group-binary> --list --format terse",
67추가: "<unique-group-binary> --exact <name> --test-threads=1 --nocapture"
68추가: ],
69추가: "order": "Group1 compile/discover/run then group2. Validate complete unique exact discovery sets, run sorted names once. Require 1 passed/0 failed/0 ignored/0 measured and the per-group filtered count. Stop first error, missing record, timeout or changed input; no retry or expectation/source change.",
70추가: "bounds": {
71추가: "compile_seconds": 120,
72추가: "discovery_seconds": 30,
73추가: "per_case_seconds": 30,
74추가: "per_command_log_bytes": 8388608,
75추가: "font_file_bytes": 33554432,
76추가: "font_vectors_nominal_bytes": 100663296,
77추가: "termination_grace_seconds": 2,
78추가: "reap_grace_seconds": 5,
79추가: "cleanup_observation_seconds": 10,
80추가: "parallel_cases": 1
81추가: },
82추가: "supervision": "Parent streams capped raw logs. Deadline/overflow signals only owned process group, then bounded wait/reap and pipe EOF. Never assert signals interrupt uninterruptible I/O. Unconfirmed state is failure.",
83추가: "cleanup": "No font/production writes or new fixtures. Retain own logs and target artifacts, verify owned children ended. Never erase failed or historical evidence.",
84추가: "evidence": "Record argv/cwd/allowlisted env, toolchain, binaries SHA256, source/font before-after hashes, exact discovered/executed/filtered names, raw logs, PIDs/wait/EOF/residuals and evidence class. Loader is real file-read evidence; UI is reused headless regression; AppCreation errors stay static-only.",
85추가: "deferred_gui": "Production GUI build and separated Xvfb startup/rendering need a later explicit execution scope. PR47 harness has its own loader and cannot validate this loader.",
86추가: "forbidden": [
87추가: "System font move/permission change/copy/bundle",
88추가: "mount/privilege workaround",
89추가: "fake Windows cfg execution",
90추가: "network/install/download",
91추가: "real archives or OS worker/held probes",
92추가: "changes outside owned tests"
93추가: ]
94추가: }
추가tests/rust-ui-system-font-regressions/source-pins.json+575-0
@@ -0,0 +1,575 @@
1추가: {
2추가: "head": "8600cee802bc08bfad171278133a22d94b64b597",
3추가: "files": [
4추가: {
5추가: "path": "experiments/rust-app-core-memory/Cargo.lock",
6추가: "git_blob": "37b438af0cb4997dc0e9745e3985e77e31dbb3d0",
7추가: "mode": "100644",
8추가: "sha256": "a96a436875a8365e5b7e8f837a02df818b400790615076b83903f12c3ad7116e"
9추가: },
10추가: {
11추가: "path": "experiments/rust-app-core-memory/Cargo.toml",
12추가: "git_blob": "625f39eb96a492a2f4673b1e9065f6331e73a3e9",
13추가: "mode": "100644",
14추가: "sha256": "d47e6b080a13005dd3c195f64d42f581bbc2050062ca4396fc41e32317a76c98"
15추가: },
16추가: {
17추가: "path": "experiments/rust-app-core-memory/LICENSE",
18추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc",
19추가: "mode": "100644",
20추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62"
21추가: },
22추가: {
23추가: "path": "experiments/rust-app-core-memory/SHA256SUMS",
24추가: "git_blob": "526e870c3e8667de26bbb3ad408521cb33df22e9",
25추가: "mode": "100644",
26추가: "sha256": "13afa3d9bf53fd5a1c69af085842b722953dd36de1d63d305fea93bf78580b8d"
27추가: },
28추가: {
29추가: "path": "experiments/rust-app-core-memory/THIRD-PARTY-NOTICES.txt",
30추가: "git_blob": "951447a0637ecc008123dbc2e8a8743741144d83",
31추가: "mode": "100644",
32추가: "sha256": "b6ee40e53b19b59bdcc9464ecd759364264ee5ce9c320cf5616d0f656ec1df68"
33추가: },
34추가: {
35추가: "path": "experiments/rust-app-core-memory/contract.json",
36추가: "git_blob": "716afdb8b471ef0e5403ba9a5c4a25f9a01e70e5",
37추가: "mode": "100644",
38추가: "sha256": "beffc5271a3355b8ef784d3d15179f4172d2af5c2dc71c1072ae4673e2971c3f"
39추가: },
40추가: {
41추가: "path": "experiments/rust-app-core-memory/dependencies.json",
42추가: "git_blob": "3e550f1fbc0331f27972a3cafd412d87cf11611d",
43추가: "mode": "100644",
44추가: "sha256": "39294cd19d2eb2ad02cf034e527c690348ca07492986b05000d11a053b6aa7e1"
45추가: },
46추가: {
47추가: "path": "experiments/rust-app-core-memory/sources.json",
48추가: "git_blob": "74a3dec78cc76fe45aa7822e07549ec130657604",
49추가: "mode": "100644",
50추가: "sha256": "a1d536e851130f37fb02c1269cebe8933e43fecf30403da8978e0726746ac15e"
51추가: },
52추가: {
53추가: "path": "experiments/rust-app-core-memory/src/lib.rs",
54추가: "git_blob": "3bea6de7efe5657614a4747f2b071abe35de21d9",
55추가: "mode": "100644",
56추가: "sha256": "2540ab5f801d78f27e4d2a0a751f15378863ba5b14a4d564b3be4dc996cb7571"
57추가: },
58추가: {
59추가: "path": "experiments/rust-memory-gzip-reader/Cargo.lock",
60추가: "git_blob": "a638f9b00ea1d76a99ccd93ea465ef9df4163c7a",
61추가: "mode": "100644",
62추가: "sha256": "511197f27b89d37c86f82ae1e8dda4229a3e5082ede9274efe8480df6e650d24"
63추가: },
64추가: {
65추가: "path": "experiments/rust-memory-gzip-reader/Cargo.toml",
66추가: "git_blob": "1b1b77e23d39cde1f05e55f73b62f68cf77dd9c6",
67추가: "mode": "100644",
68추가: "sha256": "ae76aededbb85cdd6c9227b4c06a1c8fef1bb7f203f1703e787b68f30ccfab6a"
69추가: },
70추가: {
71추가: "path": "experiments/rust-memory-gzip-reader/LICENSE",
72추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc",
73추가: "mode": "100644",
74추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62"
75추가: },
76추가: {
77추가: "path": "experiments/rust-memory-gzip-reader/SHA256SUMS",
78추가: "git_blob": "e248c4827c2fb2e82a5e92f80deb0d744209c65c",
79추가: "mode": "100644",
80추가: "sha256": "13e41e7d8ce2442cd8d93b1229211a5257e0568acc3466d5f9ec37f03c72a736"
81추가: },
82추가: {
83추가: "path": "experiments/rust-memory-gzip-reader/THIRD-PARTY-NOTICES.txt",
84추가: "git_blob": "f56aa8d736e78465701ac62fa5ad26d4d7dc05c9",
85추가: "mode": "100644",
86추가: "sha256": "655ad3bee8c41a593c2b00cbb0a12be11e7246c41dda00319c223dd3f904910e"
87추가: },
88추가: {
89추가: "path": "experiments/rust-memory-gzip-reader/contract.json",
90추가: "git_blob": "02729ca349d5629b1a9fcd7040441db2e2660065",
91추가: "mode": "100644",
92추가: "sha256": "1346c0b6f0ce5221acb9aef5067b0169e08ea6752f4db41a8b9c36b10ef9b43b"
93추가: },
94추가: {
95추가: "path": "experiments/rust-memory-gzip-reader/dependencies.json",
96추가: "git_blob": "bf9da9b737d9d574d5e31fb8343f844b61e4c192",
97추가: "mode": "100644",
98추가: "sha256": "3f71220451f8cd55dafdb6e6ae901572ec7bbe1be9c93d78953b44244aec6b07"
99추가: },
100추가: {
101추가: "path": "experiments/rust-memory-gzip-reader/src/budget.rs",
102추가: "git_blob": "0fa6fd1cdb541896540b7003168e5db71c11cb4b",
103추가: "mode": "100644",
104추가: "sha256": "b0d0b891a048712baba2038b8439d809a0359638f390b806f88496733753d61c"
105추가: },
106추가: {
107추가: "path": "experiments/rust-memory-gzip-reader/src/lib.rs",
108추가: "git_blob": "1811dfc7ec0917da607727e7942b5a268ac7330a",
109추가: "mode": "100644",
110추가: "sha256": "a865a114fdb9d79b66226387b9f0e3fa601aad29cfe65ab443c946d6cbd74062"
111추가: },
112추가: {
113추가: "path": "experiments/rust-memory-ustar-reader/Cargo.lock",
114추가: "git_blob": "4016006d7b01deb8efebff0e1d44218a0dd4b376",
115추가: "mode": "100644",
116추가: "sha256": "2a5d774e8cd96caa426d2d97d9c112062a57c156a026ae588932bced0af015ae"
117추가: },
118추가: {
119추가: "path": "experiments/rust-memory-ustar-reader/Cargo.toml",
120추가: "git_blob": "42de96e4aa4c89a243ad988fa7a7f724ff70dc01",
121추가: "mode": "100644",
122추가: "sha256": "08f2cb43c2f541c4420deab0c6097ce732cd7ca6e32f9895c9cbc48dc7722734"
123추가: },
124추가: {
125추가: "path": "experiments/rust-memory-ustar-reader/LICENSE",
126추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc",
127추가: "mode": "100644",
128추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62"
129추가: },
130추가: {
131추가: "path": "experiments/rust-memory-ustar-reader/SHA256SUMS",
132추가: "git_blob": "b8868532047fb561fc9fc987b1cbbb9c8daab298",
133추가: "mode": "100644",
134추가: "sha256": "a7cf6f6ad510173bf9ccbf0245ad20fd06cad08bcab4cc601031006e95305d28"
135추가: },
136추가: {
137추가: "path": "experiments/rust-memory-ustar-reader/THIRD-PARTY-NOTICES.txt",
138추가: "git_blob": "8540c10d9c03253ce1ed31142fe98229ab6d90cf",
139추가: "mode": "100644",
140추가: "sha256": "e4d82397ea8ad7780bfcf97344548f2a7784e2ae6384441e54193b351bf8dad6"
141추가: },
142추가: {
143추가: "path": "experiments/rust-memory-ustar-reader/contract.json",
144추가: "git_blob": "8ae86c21671984209bc30973605d61327259aa16",
145추가: "mode": "100644",
146추가: "sha256": "21cb673b63a14af1641406d8adb20cfcfd47adfad1ce15ff3c7c2d9840077b06"
147추가: },
148추가: {
149추가: "path": "experiments/rust-memory-ustar-reader/dependencies.json",
150추가: "git_blob": "f9d8b8d2f82f758894ad2698c50107b2341fb183",
151추가: "mode": "100644",
152추가: "sha256": "7c793eb80dbc167fddc8c0660123507fc80c6ebb763cbd06821f6b95735b9271"
153추가: },
154추가: {
155추가: "path": "experiments/rust-memory-ustar-reader/src/budget.rs",
156추가: "git_blob": "1eab0733b90b66fc12b5db2931fb7dcb08d80c13",
157추가: "mode": "100644",
158추가: "sha256": "5d511a2519ed26e0fa8fb84b2d8cc0479679e9c3b5815a3c0e20790a283c923e"
159추가: },
160추가: {
161추가: "path": "experiments/rust-memory-ustar-reader/src/header.rs",
162추가: "git_blob": "d278d372076b40715c6f73e1f0c67b54293566ca",
163추가: "mode": "100644",
164추가: "sha256": "263c2a610d522c0f5bf24ceef14be184735b4858a40277963252bae439d4112e"
165추가: },
166추가: {
167추가: "path": "experiments/rust-memory-ustar-reader/src/lib.rs",
168추가: "git_blob": "ce8e3b751a53a66f5d0cfaab15ffdeea92fae98f",
169추가: "mode": "100644",
170추가: "sha256": "9b57f771c1d89ffc74aea604d7f3476202ad62914c91a5246802706294e5bfcd"
171추가: },
172추가: {
173추가: "path": "experiments/rust-memory-zip-create/Cargo.lock",
174추가: "git_blob": "aed6fe07391fce292edebb5206f98a617d2c4376",
175추가: "mode": "100644",
176추가: "sha256": "bb094be9b047cc7a9100492e1e7aa69ddbbc2a3d8bf2c4e8eaa49024160fd2c3"
177추가: },
178추가: {
179추가: "path": "experiments/rust-memory-zip-create/Cargo.toml",
180추가: "git_blob": "899e96fbbd98053ff521d7f29aa2b682fccafb08",
181추가: "mode": "100644",
182추가: "sha256": "c8483ab032ce94e35ba84b56a4b127e669358f7e9f9b945b3ba60b472ab87b0e"
183추가: },
184추가: {
185추가: "path": "experiments/rust-memory-zip-create/SHA256SUMS",
186추가: "git_blob": "b6738fe846fa737f5cacd53147a1492e917b73d5",
187추가: "mode": "100644",
188추가: "sha256": "c4d5651a956429a97e830906c132b537dca6e1c7c491f8148cbdd27d1cb63469"
189추가: },
190추가: {
191추가: "path": "experiments/rust-memory-zip-create/contract.json",
192추가: "git_blob": "6be643ca9603b688f705eae172bb276d4afff35a",
193추가: "mode": "100644",
194추가: "sha256": "d3fc6cc43fa7f70f0a6cfb5e441348a3c011dac8d8e08b3061c0df5fce8e9206"
195추가: },
196추가: {
197추가: "path": "experiments/rust-memory-zip-create/src/lib.rs",
198추가: "git_blob": "08cea1778ec21e4403f752901de9bfc7fa1ee8c9",
199추가: "mode": "100644",
200추가: "sha256": "3b2019fd963600155fd4dc01f55fef7f3e5c8ceec944a36597de984d5a8b7e8b"
201추가: },
202추가: {
203추가: "path": "experiments/rust-memory-zip-create/src/storage.rs",
204추가: "git_blob": "1b61dd18f5e41e86ffdde752fc6ebc828a2c1b8c",
205추가: "mode": "100644",
206추가: "sha256": "1f81f5b1830eaf5f5e5e510841e10f3dd692f6d310a1871ce46fe4445dff9706"
207추가: },
208추가: {
209추가: "path": "experiments/rust-ui-memory-app/Cargo.lock",
210추가: "git_blob": "ac33c507896385a564b5c43c7c0ee5038b8e2777",
211추가: "mode": "100644",
212추가: "sha256": "d591ec67b8f1a1ea448b6bdd971e0b8c039a33a492c8f068b085bdd20b3a64ae"
213추가: },
214추가: {
215추가: "path": "experiments/rust-ui-memory-app/Cargo.toml",
216추가: "git_blob": "eb63fb6b15134eccce5223f35ee82e300ffc4d25",
217추가: "mode": "100644",
218추가: "sha256": "7a74a5d5be456dc6d080c0dd78a25eaf8bd12ef43a3b921f26bbb7e35901040f"
219추가: },
220추가: {
221추가: "path": "experiments/rust-ui-memory-app/LICENSE",
222추가: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc",
223추가: "mode": "100644",
224추가: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62"
225추가: },
226추가: {
227추가: "path": "experiments/rust-ui-memory-app/THIRD-PARTY-NOTICES.txt",
228추가: "git_blob": "e8bbe2fcdbd2fc0e7a7755f581c0776de54ec2d9",
229추가: "mode": "100644",
230추가: "sha256": "5b98107ae51806d6d4cb4337bea3b979f55070eba6dc7c0c294e13e7686ab4c6"
231추가: },
232추가: {
233추가: "path": "experiments/rust-ui-memory-app/src/app.rs",
234추가: "git_blob": "31cbd6e783de8a081a1948d47d43635da255ebfa",
235추가: "mode": "100644",
236추가: "sha256": "5bef670594b8edf6d9b979871da56447342c92126fd56c6acd9eb7e3a9cece95"
237추가: },
238추가: {
239추가: "path": "experiments/rust-ui-memory-app/src/controller.rs",
240추가: "git_blob": "2adeae347a3309f33ea6ee546565239167285747",
241추가: "mode": "100644",
242추가: "sha256": "51dc979b88e395c209444900511aa7d56bcc8ccc31205fca22191f25dc6468e2"
243추가: },
244추가: {
245추가: "path": "experiments/rust-ui-memory-app/src/lib.rs",
246추가: "git_blob": "0f0f5e2bcbaccb8a2ca21336e4061ae784f22c0d",
247추가: "mode": "100644",
248추가: "sha256": "58d303d44c6b8580168f14c3ceb0eb878fc7a003f197f162584286873a904ddc"
249추가: },
250추가: {
251추가: "path": "experiments/rust-ui-memory-app/src/runtime.rs",
252추가: "git_blob": "1389c589ab7e8c54b97e170ba1f36304ef3a07e8",
253추가: "mode": "100644",
254추가: "sha256": "c1c1dde16263ea7ed4cf5808b3182e21878b8ffadfe8850974a8cbdbd4607b3f"
255추가: },
256추가: {
257추가: "path": "experiments/rust-ui-memory-app/src/system_font.rs",
258추가: "git_blob": "1dbe29039a1fde2686366422eb04c30a4068f7bc",
259추가: "mode": "100644",
260추가: "sha256": "f15657021dcb48bf3d0bb570dbcea1e36c4f7c9694cde21be972e350580851f7"
261추가: },
262추가: {
263추가: "path": "experiments/rust-ui-memory-app/src/transport.rs",
264추가: "git_blob": "39c50acd5d1943009483f9198d3a7e0a9fe2a903",
265추가: "mode": "100644",
266추가: "sha256": "7aef227ed4424e13cfa750373a9e1f32bebae12308589c81d051f41ea84991ac"
267추가: },
268추가: {
269추가: "path": "tests/rust-memory-gzip-reader/Cargo.lock",
270추가: "git_blob": "46a7653b949febc573a3429aa7811b8c34508dc6",
271추가: "mode": "100644",
272추가: "sha256": "5932825be6b65fda2dc957a18992db63673e6eecdd55853fb743c133f359262c"
273추가: },
274추가: {
275추가: "path": "tests/rust-memory-gzip-reader/Cargo.toml",
276추가: "git_blob": "b803e4a1c2495736b3758e4d993e40a86ef7f50d",
277추가: "mode": "100644",
278추가: "sha256": "2e8476195852aaec340015755ecb37ef8fa65d5ba375f8c7a60e3b8d0643ed1e"
279추가: },
280추가: {
281추가: "path": "tests/rust-memory-gzip-reader/SHA256SUMS",
282추가: "git_blob": "cb0292aab9f320eca2fd4b3395c10f84ca898ff6",
283추가: "mode": "100644",
284추가: "sha256": "1633895d78cca4c38f63c6efdf164d2c2d5ca1561c7eeb87dc5144159f05fd77"
285추가: },
286추가: {
287추가: "path": "tests/rust-memory-gzip-reader/budgets.rs",
288추가: "git_blob": "0ec6e8818c277600841f4f37d069a5acce1c306e",
289추가: "mode": "100644",
290추가: "sha256": "d1b5132d656d514d73ac0f510991fab70d0c8783b9a10bf6314149a6d7a3649c"
291추가: },
292추가: {
293추가: "path": "tests/rust-memory-gzip-reader/checkpoints.rs",
294추가: "git_blob": "5fa98cc9affaa4554562308663716ea5b2841636",
295추가: "mode": "100644",
296추가: "sha256": "6e995ed0edf29c0b4f513ddb0a9e56b427cefbd58e78351674ad0e4ee490de74"
297추가: },
298추가: {
299추가: "path": "tests/rust-memory-gzip-reader/contract.json",
300추가: "git_blob": "c6d4feae43bd9e67ffd1009b3b0dff653f7952ff",
301추가: "mode": "100644",
302추가: "sha256": "aa6640e76fd821168afe6e78ae6f29aed27514a4100b5abab8054625d7aef79b"
303추가: },
304추가: {
305추가: "path": "tests/rust-memory-gzip-reader/fixtures.hex",
306추가: "git_blob": "80e41d988d8d13c45b54d640468ca4939e84d7fa",
307추가: "mode": "100644",
308추가: "sha256": "e0768b8c44a7e6586bc423eea561da49eecbf5114130d88992b2c6c5893ae355"
309추가: },
310추가: {
311추가: "path": "tests/rust-memory-gzip-reader/fixtures.json",
312추가: "git_blob": "d52a90d943151d7ba2c9dc1da76addccd661e4e4",
313추가: "mode": "100644",
314추가: "sha256": "329cbac0a9b5b064ef1db4c59d83860c97a6d2819e4659405b75e17bdc82b45d"
315추가: },
316추가: {
317추가: "path": "tests/rust-memory-gzip-reader/format.rs",
318추가: "git_blob": "302adf4151f5f5c8100133eab82ad6f5e72003d5",
319추가: "mode": "100644",
320추가: "sha256": "b5a6c624e9911aa4e818612cc7a868a43313ee1e1c63b6352b8410ed896154c5"
321추가: },
322추가: {
323추가: "path": "tests/rust-memory-gzip-reader/generate_fixtures.py",
324추가: "git_blob": "e48f324c331e429312c434761b1f40920957ca0d",
325추가: "mode": "100644",
326추가: "sha256": "1cde1dd2f913820f77458e5accfcdb91aec5a1319e3c0fb2d91fd7e385690831"
327추가: },
328추가: {
329추가: "path": "tests/rust-memory-gzip-reader/main.rs",
330추가: "git_blob": "de62741b5834c691c67a0a606417237d3a45108b",
331추가: "mode": "100644",
332추가: "sha256": "036865bd2661062ea59d84362fdd747d9ce79d9b78400f12be3bea7703466020"
333추가: },
334추가: {
335추가: "path": "tests/rust-memory-gzip-reader/static_check.py",
336추가: "git_blob": "74f7ca66d71692e7bec4f690ab6595d5344b0dfb",
337추가: "mode": "100644",
338추가: "sha256": "c37887322e014c6b96c71f0e979856a2be88713af57462e4436697ee7034407e"
339추가: },
340추가: {
341추가: "path": "tests/rust-memory-gzip-reader/static_check_helper_tests.py",
342추가: "git_blob": "e5ab9c60a4107c6ed21995f35d4b2a695de86e1d",
343추가: "mode": "100644",
344추가: "sha256": "de4908b609ddb6789777901875ea224f962a9f96e9f17cd85765bb05d8231beb"
345추가: },
346추가: {
347추가: "path": "tests/rust-memory-gzip-reader/support.rs",
348추가: "git_blob": "b0a0bd05bc3f7d331fad375cbb0d0eddbd825b48",
349추가: "mode": "100644",
350추가: "sha256": "a4d39c7b9b9270eb31fb3e73d9ebd57c9ba78a99b73851944bdd4d645e8d5fc5"
351추가: },
352추가: {
353추가: "path": "tests/rust-memory-ustar-reader/Cargo.lock",
354추가: "git_blob": "62a03ba78153130ca889b63c7be046264f8ede1f",
355추가: "mode": "100644",
356추가: "sha256": "6e4cce2848f1e4b120b28722fb73956dca7f759419029e299b6c09acc1e0dfc5"
357추가: },
358추가: {
359추가: "path": "tests/rust-memory-ustar-reader/Cargo.toml",
360추가: "git_blob": "1dc8fe5f69638e504c6f88a4ba4f1562b285f39f",
361추가: "mode": "100644",
362추가: "sha256": "5a7e53d47ff3c08b5531ed1fed5e574d917ed5b7f8af0a52c8de401ca6bcb792"
363추가: },
364추가: {
365추가: "path": "tests/rust-memory-ustar-reader/SHA256SUMS",
366추가: "git_blob": "0093ed9578bab969ea69bb332d36fb5d980c4846",
367추가: "mode": "100644",
368추가: "sha256": "5740d93c2429dc81f9859c6fe29fdac9cf417f8783c07029a1f28a1f3a4d37fe"
369추가: },
370추가: {
371추가: "path": "tests/rust-memory-ustar-reader/budget.rs",
372추가: "git_blob": "60ccf1de5f9f17ec0ad9e569fbe167241ea2472d",
373추가: "mode": "100644",
374추가: "sha256": "c3d80703b31a3e9712509168b0b1d947b985918d40aac6dfa8e4f4c0f31569f3"
375추가: },
376추가: {
377추가: "path": "tests/rust-memory-ustar-reader/callbacks.rs",
378추가: "git_blob": "3676cc4adda6596d4ea6d14741e70268bded1356",
379추가: "mode": "100644",
380추가: "sha256": "fe9f476dbee65e044adc3edd8f58c7a5183ec92b6802e05a0ac010319e0170f4"
381추가: },
382추가: {
383추가: "path": "tests/rust-memory-ustar-reader/contract.json",
384추가: "git_blob": "08b8b17997818ee2685149f2cc0781cf2da1982a",
385추가: "mode": "100644",
386추가: "sha256": "a4e4eb34896295b85dacc22dfa9344eba12854d912e20fc83c7f788b83bbbef9"
387추가: },
388추가: {
389추가: "path": "tests/rust-memory-ustar-reader/format.rs",
390추가: "git_blob": "80eecfd680669804add50ea14195eacd21de3a3e",
391추가: "mode": "100644",
392추가: "sha256": "40934ec14e2e30994170118dbf9350c29a28ef9ae65aa4b10748216a35314c8b"
393추가: },
394추가: {
395추가: "path": "tests/rust-memory-ustar-reader/main.rs",
396추가: "git_blob": "b993568c08adcfd0be8648108432e3e3219961dd",
397추가: "mode": "100644",
398추가: "sha256": "50714865d7b6e53e0419ca0e26536f62237117b743dc98097912fe453d78c558"
399추가: },
400추가: {
401추가: "path": "tests/rust-memory-ustar-reader/names.rs",
402추가: "git_blob": "89c9df6bf935b7084aa24fedd3cd6ccf18307b23",
403추가: "mode": "100644",
404추가: "sha256": "2611bfd6b8ca37bccb6110fbc954b15e810741d453edd6349efc0cdb114180c2"
405추가: },
406추가: {
407추가: "path": "tests/rust-memory-ustar-reader/selection.rs",
408추가: "git_blob": "e35f28c7c7897bda7270ad4a9f9bb925fd8d2c8e",
409추가: "mode": "100644",
410추가: "sha256": "b62dc7bbefee258dd110632aeff9140d512fb881a7d5edc7054ca31784cd6d99"
411추가: },
412추가: {
413추가: "path": "tests/rust-memory-ustar-reader/static_check.py",
414추가: "git_blob": "ebeb48b3c016a57b0e883a4de409c99800a6b2f0",
415추가: "mode": "100644",
416추가: "sha256": "e0d113edb4b150be4a5ecb1abb055fab91218461bc168bbf9787041c4fe2f09e"
417추가: },
418추가: {
419추가: "path": "tests/rust-memory-ustar-reader/support.rs",
420추가: "git_blob": "a280942626fab1e193d3d6ed8ca87d139c9b1d4e",
421추가: "mode": "100644",
422추가: "sha256": "6c30a2c7ce9598f9e89d0f28b6a0512d1abb10462b1777a8c9042f9591c2bae7"
423추가: },
424추가: {
425추가: "path": "tests/rust-memory-zip-create/SHA256SUMS",
426추가: "git_blob": "b3fa66b24d8878f42a324df91440f7845dd88aa5",
427추가: "mode": "100644",
428추가: "sha256": "be63110eb2df851d26a7a6c929d4b0d6c1c1f7d0ddff47de2e3034350fc48b00"
429추가: },
430추가: {
431추가: "path": "tests/rust-memory-zip-create/api.rs",
432추가: "git_blob": "7f8ff939763613aa35c226e5884085a6965e8c6e",
433추가: "mode": "100644",
434추가: "sha256": "69239e5ef0c9d78fa5db14ef45cfcc49b8be79ffd68402d98d61173282377ad5"
435추가: },
436추가: {
437추가: "path": "tests/rust-memory-zip-create/contract.json",
438추가: "git_blob": "9d154572a4f76db6ee702d70c7f39923f7af21ff",
439추가: "mode": "100644",
440추가: "sha256": "68ad1c93c78a73bcbecfc5413cdfcabbd70142daf5bc0ac33640e0975b4bfd21"
441추가: },
442추가: {
443추가: "path": "tests/rust-memory-zip-create/lifecycle.rs",
444추가: "git_blob": "09c271403d06557cf98151929e538ee22dc43921",
445추가: "mode": "100644",
446추가: "sha256": "ddb80e1ad74197fe5fd57356a1ff918ee60eeea442eb1997a585d1f9afb9bbc0"
447추가: },
448추가: {
449추가: "path": "tests/rust-memory-zip-create/limits.rs",
450추가: "git_blob": "727b74081ebe164942a2a570c5cfa7c18e96d313",
451추가: "mode": "100644",
452추가: "sha256": "2abd7c04fb7e1b614179d38f9f865e655c8468df3002069c8058f3e84bb1b4e5"
453추가: },
454추가: {
455추가: "path": "tests/rust-memory-zip-create/names.rs",
456추가: "git_blob": "7545050d770bb62be53cbd492d2f5d901065fb5f",
457추가: "mode": "100644",
458추가: "sha256": "dcd350774e6c597401f70de3bbf32be7f37187ecc6adf3260698346226ee1f11"
459추가: },
460추가: {
461추가: "path": "tests/rust-memory-zip-create/roundtrip.rs",
462추가: "git_blob": "ed0cc4a0aa775c65215cd5f3671b6932ab927094",
463추가: "mode": "100644",
464추가: "sha256": "6e9688326e9e31bb8cdedc013bd03d1d656ac3067e341f69d62ba5abed21c21a"
465추가: },
466추가: {
467추가: "path": "tests/rust-memory-zip-create/storage.rs",
468추가: "git_blob": "08aefae839d9ede99396062e17d670d8b8ee3efe",
469추가: "mode": "100644",
470추가: "sha256": "76a63e576d5db521d3b2af179a1251681ddbac5a2f7a62b3015eb75adcda0ee2"
471추가: },
472추가: {
473추가: "path": "tests/rust-memory-zip-create/support.rs",
474추가: "git_blob": "a1bba5fd57e8edbe29df6d13c7597583a9e4c3cc",
475추가: "mode": "100644",
476추가: "sha256": "971bdf33eb3e7d5ea64293fd70063e166019a47a229f3900fdcd416af8cdccb5"
477추가: },
478추가: {
479추가: "path": "tests/rust-ui-memory-app/SHA256SUMS",
480추가: "git_blob": "3a181927e444a8653bd0ac55ff3141faee92d2e1",
481추가: "mode": "100644",
482추가: "sha256": "4896269f9fc034ee306e24a4fcbdf44b97c95798a1fbd876a0ae8a32d5d8b081"
483추가: },
484추가: {
485추가: "path": "tests/rust-ui-memory-app/contract.json",
486추가: "git_blob": "c6be500af1528649e3ee599dbd9bf0e8aa1e5e84",
487추가: "mode": "100644",
488추가: "sha256": "5a9a48f08dea0d3b103a359251bde06dd82e2568be02bdb905f5b0ceb7bb6dd9"
489추가: },
490추가: {
491추가: "path": "tests/rust-ui-memory-app/dependencies.json",
492추가: "git_blob": "974263c30900ca5c97e430006a07188c477fb302",
493추가: "mode": "100644",
494추가: "sha256": "5ee41a973a0e976fbb6fe36d4a3fcb0ed026e638e997042a0bef8c2f238f0599"
495추가: },
496추가: {
497추가: "path": "tests/rust-ui-memory-app/dependency_audit.py",
498추가: "git_blob": "9f1fdd3425a79dde475b76705545f0ace4e98a74",
499추가: "mode": "100644",
500추가: "sha256": "8536779d3551eb86a82f4c8b814bb26ddeaff04f992d3e080ae06321f10e3453"
501추가: },
502추가: {
503추가: "path": "tests/rust-ui-memory-app/files.json",
504추가: "git_blob": "d8a83b43bfcf0b6c056a42f4f2c54fced4af5c9a",
505추가: "mode": "100644",
506추가: "sha256": "97c0bc5c804d85fb523da4c76abff2bec3aed3ae1e02b68db1c19792e9843808"
507추가: },
508추가: {
509추가: "path": "tests/rust-ui-memory-app/fixtures/payload.txt",
510추가: "git_blob": "4420a227971404a8d65c92a95cd96868822e9082",
511추가: "mode": "100644",
512추가: "sha256": "ce7c1973b4eab97e4e49257ce4dbc5cb35c5a1eaae7c666a04b548fe1fd41dba"
513추가: },
514추가: {
515추가: "path": "tests/rust-ui-memory-app/fixtures/sample.gz",
516추가: "git_blob": "2c3647b19081c0fc72243f847412fbbd67c12e71",
517추가: "mode": "100644",
518추가: "sha256": "6adcdc0775bca7b8c1ff8e41adeecf8a724f876f8b469f7f8fc611406a626e61"
519추가: },
520추가: {
521추가: "path": "tests/rust-ui-memory-app/fixtures/sample.tar",
522추가: "git_blob": "6e3bf5fb02e4686b69d8e88be0d2f68df4c7dd0c",
523추가: "mode": "100644",
524추가: "sha256": "910cb4573b57fd26f122376f3f4eae0e4397163b83e32a3c850758d42f88dc55"
525추가: },
526추가: {
527추가: "path": "tests/rust-ui-memory-app/license-supplement.json",
528추가: "git_blob": "4ea3c4e4af294beb1f7216252ad2892addb2153a",
529추가: "mode": "100644",
530추가: "sha256": "09aca74cb3f20f1ed5b3e03fd647c80ef8e872f6ff97e17882cf2fda8b108b2c"
531추가: },
532추가: {
533추가: "path": "tests/rust-ui-memory-app/reference-ui.lock",
534추가: "git_blob": "8ece34821ead493e020bcdc07996d1a51ae94bcb",
535추가: "mode": "100644",
536추가: "sha256": "865d69b95660fefe8c9ad6129d2692cff8007ecc3d55de1a049fe162173f434d"
537추가: },
538추가: {
539추가: "path": "tests/rust-ui-memory-app/regressions.rs",
540추가: "git_blob": "7bd471cf648854e5b8c534c4aa0658d1259f2f9f",
541추가: "mode": "100644",
542추가: "sha256": "4eec2f9e036bc0fc04a1ff0af31aa28e593c185f8d1d230c8105a8fefc92fc4d"
543추가: },
544추가: {
545추가: "path": "tests/rust-ui-memory-app/sources.json",
546추가: "git_blob": "fc1e788191ed5bf0f74e6b150a1f7d62e18163bc",
547추가: "mode": "100644",
548추가: "sha256": "f6a7b3df44869c206ff517f32653885c5fcd2f335ef4e8eff94d6ab626ca4119"
549추가: },
550추가: {
551추가: "path": "tests/rust-ui-memory-app/static_check.py",
552추가: "git_blob": "76cf33d6efdff8113c3d2b0cab13fcc8ab3b91d7",
553추가: "mode": "100644",
554추가: "sha256": "6a756de6da66731b1ea9eaaacedfbe32096bd6a918eab591a392bc45529184f5"
555추가: },
556추가: {
557추가: "path": "tests/rust-ui-system-fonts/SHA256SUMS",
558추가: "git_blob": "b4da374d81a8ded161bbae6a874fe6a29d9863b9",
559추가: "mode": "100644",
560추가: "sha256": "14ff411b1a3a96bfd957c0713a9782f1cba27b98543f03cfc4709bac96603db7"
561추가: },
562추가: {
563추가: "path": "tests/rust-ui-system-fonts/contract.json",
564추가: "git_blob": "7449ce3649a0c92d04be0553b90bc06c0ea9b826",
565추가: "mode": "100644",
566추가: "sha256": "c3fab0200d3ce39f8cf2411eab698811b12037d45aeb22984a9be7f6be4d3902"
567추가: },
568추가: {
569추가: "path": "tests/rust-ui-system-fonts/sources.json",
570추가: "git_blob": "62cae50416a370477e4192c577b262410672cddf",
571추가: "mode": "100644",
572추가: "sha256": "5d62336ecbbf963b9957849e27785a3d7a8f9342951244097cbd1db70b1450ca"
573추가: }
574추가: ]
575추가: }
추가tests/rust-ui-system-font-regressions/static_check.py+93-0
@@ -0,0 +1,93 @@
1추가: import hashlib
2추가: import json
3추가: from pathlib import Path, PurePosixPath
4추가: import re
5추가: import stat
6추가: import sys
7추가: import tomllib
8추가:
9추가: ROOT = Path(__file__).resolve().parents[2]
10추가: HERE = Path(__file__).resolve().parent
11추가:
12추가:
13추가: def require(value, message):
14추가: if not value:
15추가: raise ValueError(message)
16추가:
17추가:
18추가: def digest(path):
19추가: return hashlib.sha256(path.read_bytes()).hexdigest()
20추가:
21추가:
22추가: def checked_path(name, base):
23추가: path = PurePosixPath(name)
24추가: require(not path.is_absolute() and str(path) == name, "상대 경로가 아님")
25추가: require(all(part not in ("", ".", "..") for part in name.split("/")), "경로 요소 오류")
26추가: current = base
27추가: for part in path.parts:
28추가: current = current / part
29추가: require(not current.is_symlink(), "symlink 입력 거부")
30추가: require(stat.S_ISREG(current.lstat().st_mode), "일반 파일이 아님")
31추가: return current
32추가:
33추가:
34추가: def main():
35추가: require(not sys.flags.optimize, "일반 Python 모드가 필요함")
36추가: require(len(sys.argv) == 2 and re.fullmatch(r"[0-9a-f]{64}", sys.argv[1]), "manifest hash 필요")
37추가: require(digest(HERE / "SHA256SUMS") == sys.argv[1], "manifest hash 불일치")
38추가: contract = json.loads((HERE / "contract.json").read_text())
39추가: seen = set()
40추가: data = (HERE / "SHA256SUMS").read_text()
41추가: require(data.endswith("\n"), "manifest 끝 줄바꿈 누락")
42추가: for line in data.splitlines():
43추가: match = re.fullmatch(r"([0-9a-f]{64}) ([A-Za-z0-9_./-]+)", line)
44추가: require(match is not None, "manifest 행 오류")
45추가: expected, name = match.groups()
46추가: require(name not in seen, "manifest 중복")
47추가: seen.add(name)
48추가: require(digest(checked_path(name, HERE)) == expected, "시험 입력 hash 불일치: " + name)
49추가: require(seen == set(contract["deliverables"]) - {"SHA256SUMS"}, "manifest 파일 집합 불일치")
50추가: pins = json.loads((HERE / "source-pins.json").read_text())
51추가: paths = set()
52추가: for entry in pins["files"]:
53추가: require(entry["path"] not in paths, "source 중복")
54추가: paths.add(entry["path"])
55추가: path = checked_path(entry["path"], ROOT)
56추가: raw = path.read_bytes()
57추가: blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
58추가: require(blob == entry["git_blob"] and digest(path) == entry["sha256"], "source pin 불일치: " + entry["path"])
59추가: mode = "100755" if path.stat().st_mode & 0o111 else "100644"
60추가: require(mode == entry["mode"], "source mode 불일치")
61추가: test_source = (HERE / "linux_loader.rs").read_text()
62추가: names = re.findall(r"#\[test\]\s*fn (\w+)", test_source)
63추가: require(names == contract["new_tests"], "신규 선언 이름 불일치")
64추가: require('#[path = "../../experiments/rust-ui-memory-app/src/system_font.rs"]' in test_source, "원본 모듈 재사용 누락")
65추가: require('#![cfg(target_os = "linux")]' in test_source, "Linux 시험 경계 누락")
66추가: original = json.loads((ROOT / "tests/rust-ui-memory-app/contract.json").read_text())
67추가: old_source = (ROOT / "tests/rust-ui-memory-app/regressions.rs").read_text()
68추가: old_names = re.findall(r"#\[test\]\s*fn (\w+)", old_source)
69추가: require(old_names == original["validation"]["names"], "기존 UI 선언 불일치")
70추가: require(sorted(old_names) == contract["reused_ui_tests"] and len(old_names) == 31, "재사용 UI 이름 불일치")
71추가: app = (ROOT / "experiments/rust-ui-memory-app/src/app.rs").read_text()
72추가: mapping = "system_font::load().map_err(|e| eframe::Error::AppCreation(Box::new(e)))?"
73추가: require(mapping in app and app.index(mapping) < app.index("eframe::run_native("), "AppCreation 정적 경계 변경")
74추가: require("FontData::from_owned(font.bytes)" in app and "data.index = font.face_index;" in app, "폰트 값 연결 변경")
75추가: historical = app.replace('#[path = "system_font.rs"]\nmod system_font;\n\n', "", 1)
76추가: historical = historical.replace(
77추가: "let font = " + mapping + ";",
78추가: 'let font = std::fs::read("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc")\n'
79추가: " .map_err(|e| eframe::Error::AppCreation(Box::new(e)))?;", 1)
80추가: historical = historical.replace("FontData::from_owned(font.bytes)", "FontData::from_owned(font)", 1)
81추가: historical = historical.replace("data.index = font.face_index;", "data.index = 1;", 1)
82추가: require(hashlib.sha256(historical.encode()).hexdigest() == contract["base_app_sha256"], "폰트 외 UI 변경 발견")
83추가: manifest = tomllib.loads((HERE / "Cargo.toml").read_text())
84추가: require(not manifest.get("dependencies") and not manifest.get("dev-dependencies"), "신규 의존성 발견")
85추가: lock = tomllib.loads((HERE / "Cargo.lock").read_text())
86추가: require([p["name"] for p in lock["package"]] == ["zipelo-ui-system-font-regressions"], "loader lock graph 변경")
87추가: print(json.dumps({"source_pins": len(paths), "new_tests_declared": len(names),
88추가: "reused_ui_tests_declared": len(old_names), "rust_compiled": False,
89추가: "rust_executed": False, "app_creation_evidence": "static-only"}))
90추가:
91추가:
92추가: if __name__ == "__main__":
93추가: main()