team-ljyzipelo

공개

초기 앱 모듈과 전용 UI 시험을 제거함

작성자
시로사키 하나
작성 시각
커밋
c8a46aa8fc58c16740a2b9ecde989d5e42970eb5
부모
25202b7
이 시점의 파일 보기

변경된 파일 50개

+0-2,689

변경 내용이 커서 일부 파일의 Diff를 생략했어요. 생략한 파일은 파일 보기나 Raw로 확인할 수 있어요.

수정experiments/rust-ui-memory-app/Cargo.lock+0-94
@@ -694,15 +694,6 @@ version = "0.10.3"
694694source = "registry+https://github.com/rust-lang/crates.io-index"
695695checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
696696
697삭제: [[package]]
698삭제: name = "constant_time_eq"
699삭제: version = "0.6.1"
700삭제: source = "registry+https://github.com/rust-lang/crates.io-index"
701삭제: checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9"
702삭제: dependencies = [
703삭제: "rustversion",
704삭제: ]
705삭제:
706697[[package]]
707698name = "core-foundation"
708699version = "0.9.4"
@@ -1381,10 +1372,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
13811372checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
13821373dependencies = [
13831374 "cfg-if",
1384삭제: "js-sys",
13851375 "libc",
13861376 "r-efi 6.0.0",
1387삭제: "wasm-bindgen",
13881377]
13891378
13901379[[package]]
@@ -2056,18 +2045,6 @@ dependencies = [
20562045 "jni-sys 0.3.1",
20572046]
20582047
2059삭제: [[package]]
2060삭제: name = "nix"
2061삭제: version = "0.31.3"
2062삭제: source = "registry+https://github.com/rust-lang/crates.io-index"
2063삭제: checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
2064삭제: dependencies = [
2065삭제: "bitflags 2.13.2",
2066삭제: "cfg-if",
2067삭제: "cfg_aliases",
2068삭제: "libc",
2069삭제: ]
2070삭제:
20712048[[package]]
20722049name = "nohash-hasher"
20732050version = "0.2.0"
@@ -3444,12 +3421,6 @@ dependencies = [
34443421 "rustc-hash 2.1.3",
34453422]
34463423
3447삭제: [[package]]
3448삭제: name = "typed-path"
3449삭제: version = "0.13.0"
3450삭제: source = "registry+https://github.com/rust-lang/crates.io-index"
3451삭제: checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
3452삭제:
34533424[[package]]
34543425name = "typenum"
34553426version = "1.20.1"
@@ -4571,20 +4542,6 @@ name = "zeroize"
45714542version = "1.9.1"
45724543source = "registry+https://github.com/rust-lang/crates.io-index"
45734544checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
4574삭제: dependencies = [
4575삭제: "zeroize_derive",
4576삭제: ]
4577삭제:
4578삭제: [[package]]
4579삭제: name = "zeroize_derive"
4580삭제: version = "1.5.0"
4581삭제: source = "registry+https://github.com/rust-lang/crates.io-index"
4582삭제: checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
4583삭제: dependencies = [
4584삭제: "proc-macro2",
4585삭제: "quote",
4586삭제: "syn 2.0.119",
4587삭제: ]
45884545
45894546[[package]]
45904547name = "zerotrie"
@@ -4619,34 +4576,6 @@ dependencies = [
46194576 "syn 3.0.10",
46204577]
46214578
4622삭제: [[package]]
4623삭제: name = "zip"
4624삭제: version = "9.5.0"
4625삭제: source = "registry+https://github.com/rust-lang/crates.io-index"
4626삭제: checksum = "0700e6c427aff64acdbf02e85fbfd946c2ee12319d1af013092f3a2178914ff8"
4627삭제: dependencies = [
4628삭제: "constant_time_eq",
4629삭제: "crc32fast",
4630삭제: "flate2",
4631삭제: "getrandom 0.4.3",
4632삭제: "indexmap",
4633삭제: "libc",
4634삭제: "memchr",
4635삭제: "nix",
4636삭제: "typed-path",
4637삭제: "windows-sys 0.61.2",
4638삭제: "zeroize",
4639삭제: ]
4640삭제:
4641삭제: [[package]]
4642삭제: name = "zipelo-app-core-memory"
4643삭제: version = "0.1.0"
4644삭제: dependencies = [
4645삭제: "zipelo-memory-gzip-reader",
4646삭제: "zipelo-memory-ustar-reader",
4647삭제: "zipelo-rust-memory-zip-create",
4648삭제: ]
4649삭제:
46504579[[package]]
46514580name = "zipelo-archive-worker"
46524581version = "0.1.0"
@@ -4673,28 +4602,6 @@ dependencies = [
46734602 "zune-core",
46744603]
46754604
4676삭제: [[package]]
4677삭제: name = "zipelo-memory-gzip-reader"
4678삭제: version = "0.1.0"
4679삭제: dependencies = [
4680삭제: "zlib-rs",
4681삭제: ]
4682삭제:
4683삭제: [[package]]
4684삭제: name = "zipelo-memory-ustar-reader"
4685삭제: version = "0.1.0"
4686삭제: dependencies = [
4687삭제: "sha2 0.10.9",
4688삭제: "subtle",
4689삭제: ]
4690삭제:
4691삭제: [[package]]
4692삭제: name = "zipelo-rust-memory-zip-create"
4693삭제: version = "0.1.0"
4694삭제: dependencies = [
4695삭제: "zip",
4696삭제: ]
4697삭제:
46984605[[package]]
46994606name = "zipelo-ui-memory-app"
47004607version = "0.1.0"
@@ -4705,7 +4612,6 @@ dependencies = [
47054612 "rfd",
47064613 "sha2 0.10.9",
47074614 "wgpu",
4708삭제: "zipelo-app-core-memory",
47094615 "zipelo-archive-worker",
47104616]
47114617
수정experiments/rust-ui-memory-app/Cargo.toml+0-5
@@ -20,7 +20,6 @@ ui-fixture = ["ui"]
2020[dependencies]
2121sha2 = "=0.10.9"
2222worker_protocol = { package = "zipelo-archive-worker", path = "../rust-archive-worker" }
23삭제: core_memory = { package = "zipelo-app-core-memory", path = "../rust-app-core-memory" }
2423eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["accesskit", "clipboard", "glow", "system_fonts", "wayland", "x11"] }
2524
2625[[bin]]
@@ -28,10 +27,6 @@ name = "zipelo-ui-memory-app"
2827path = "src/desktop.rs"
2928required-features = ["ui"]
3029
31삭제: [[test]]
32삭제: name = "ui_memory"
33삭제: path = "../../tests/rust-ui-memory-app/regressions.rs"
34삭제:
3530[[test]]
3631name = "archive_ui"
3732path = "../../tests/rust-app-ui/regressions.rs"
삭제experiments/rust-ui-memory-app/src/app.rs+0-205
@@ -1,205 +0,0 @@
1삭제: #[path = "renderer.rs"]
2삭제: mod renderer;
3삭제: #[path = "system_font.rs"]
4삭제: mod system_font;
5삭제:
6삭제: use eframe::egui::{self, Color32, FontData, FontDefinitions, FontFamily, FontId, TextStyle};
7삭제: use zipelo_ui_memory_app::{
8삭제: controller::{CloseState, Controller},
9삭제: runtime::Action,
10삭제: };
11삭제:
12삭제: #[derive(Default)]
13삭제: struct App {
14삭제: controller: Controller,
15삭제: }
16삭제:
17삭제: impl eframe::App for App {
18삭제: fn ui(&mut self, root: &mut egui::Ui, _frame: &mut eframe::Frame) {
19삭제: self.controller.poll();
20삭제: let ctx = root.ctx().clone();
21삭제: if ctx.input(|i| i.viewport().close_requested()) {
22삭제: self.controller.request_close();
23삭제: if self.controller.close != CloseState::Allowed {
24삭제: ctx.send_viewport_cmd(egui::ViewportCommand::CancelClose);
25삭제: }
26삭제: }
27삭제: if self.controller.close == CloseState::Allowed {
28삭제: ctx.send_viewport_cmd(egui::ViewportCommand::Close);
29삭제: }
30삭제: egui::Panel::top("actions").show(root, |ui| {
31삭제: ui.heading("Zipelo 메모리 작업실");
32삭제: ui.label("합성 입력 전용 / 파일 저장 미지원");
33삭제: ui.horizontal_wrapped(|ui| {
34삭제: for (label, action) in [
35삭제: ("ZIP 생성", Action::Zip),
36삭제: ("USTAR 목록과 내용", Action::Ustar),
37삭제: ("GZip 검증과 내용", Action::Gzip),
38삭제: ("합성 오류 확인", Action::InvalidGzip),
39삭제: ] {
40삭제: if ui
41삭제: .add_enabled(
42삭제: !self.controller.busy() && self.controller.close == CloseState::Open,
43삭제: egui::Button::new(label),
44삭제: )
45삭제: .clicked()
46삭제: {
47삭제: self.controller.start(action);
48삭제: }
49삭제: }
50삭제: if ui
51삭제: .add_enabled(self.controller.busy(), egui::Button::new("취소 요청"))
52삭제: .clicked()
53삭제: {
54삭제: self.controller.cancel();
55삭제: }
56삭제: if ui.button("닫기").clicked() {
57삭제: self.controller.request_close();
58삭제: }
59삭제: });
60삭제: });
61삭제: egui::Panel::bottom("status").show(root, |ui| {
62삭제: ui.label(self.controller.status_text());
63삭제: if let Some(progress) = self.controller.progress {
64삭제: ui.label(format!("{:?}: {}", progress.metric, progress.value));
65삭제: }
66삭제: ui.label("USTAR 내용 무결성 검증 정보는 제공되지 않음");
67삭제: if self.controller.busy() {
68삭제: ui.label("작업 스레드 종료 확인 전에는 다시 시작하거나 닫지 않습니다");
69삭제: }
70삭제: if let Some(error) = &self.controller.spawn_error {
71삭제: ui.label(format!(
72삭제: "작업 시작 실패: {}",
73삭제: format!("{error:?}").chars().take(256).collect::<String>()
74삭제: ));
75삭제: }
76삭제: if let Some(completion) = &self.controller.terminal {
77삭제: if !completion.outcome.is_ok() || completion.delivery.is_some() {
78삭제: let detail = match &completion.outcome {
79삭제: zipelo_ui_memory_app::runtime::Outcome::Zip(t) => {
80삭제: format!("{:?}", t.result().err())
81삭제: }
82삭제: zipelo_ui_memory_app::runtime::Outcome::Ustar(t) => {
83삭제: format!("{:?}", t.result().err())
84삭제: }
85삭제: zipelo_ui_memory_app::runtime::Outcome::Gzip(t) => {
86삭제: format!("{:?}", t.result().err())
87삭제: }
88삭제: };
89삭제: ui.label(format!(
90삭제: "반환 원인: {}",
91삭제: detail.chars().take(512).collect::<String>()
92삭제: ));
93삭제: if let Some(fault) = completion.delivery {
94삭제: ui.label(format!(
95삭제: "UI 전달 원인: {:?}, 최초 누락 {}",
96삭제: fault.kind, fault.first_missing_sequence
97삭제: ));
98삭제: }
99삭제: }
100삭제: }
101삭제: });
102삭제: egui::CentralPanel::default_margins().show(root, |ui| {
103삭제: ui.columns(2, |columns| {
104삭제: columns[0].heading("메모리 결과 목록");
105삭제: let rows: Vec<String> = self
106삭제: .controller
107삭제: .rows()
108삭제: .into_iter()
109삭제: .map(str::to_owned)
110삭제: .collect();
111삭제: for (index, name) in rows.iter().enumerate() {
112삭제: if columns[0]
113삭제: .selectable_label(
114삭제: self.controller.selected.is_some_and(|(_, _, i)| i == index),
115삭제: name,
116삭제: )
117삭제: .clicked()
118삭제: {
119삭제: if let Some(task) = &self.controller.task {
120삭제: self.controller
121삭제: .select(task.id, self.controller.generation, index);
122삭제: }
123삭제: }
124삭제: }
125삭제: columns[1].heading("선택한 내용");
126삭제: if let Some(bytes) = self.controller.selected_bytes() {
127삭제: columns[1].label(format!("원본 {} bytes / 텍스트 최대 2048자", bytes.len()));
128삭제: }
129삭제: columns[1].label(self.controller.preview());
130삭제: });
131삭제: });
132삭제: if self.controller.close == CloseState::Confirming {
133삭제: egui::Window::new("작업 중 닫기")
134삭제: .collapsible(false)
135삭제: .resizable(false)
136삭제: .show(&ctx, |ui| {
137삭제: ui.label("취소를 요청하고 작업 스레드 종료를 기다릴까요?");
138삭제: if ui.button("계속 열기").clicked() {
139삭제: self.controller.keep_open();
140삭제: }
141삭제: if ui.button("취소 후 닫기").clicked() {
142삭제: self.controller.confirm_close();
143삭제: }
144삭제: });
145삭제: }
146삭제: if self.controller.close == CloseState::Waiting {
147삭제: egui::Window::new("종료 대기")
148삭제: .collapsible(false)
149삭제: .show(&ctx, |ui| {
150삭제: ui.label("취소 요청은 전송됐습니다. 작업 종료를 기다립니다.");
151삭제: if ui.button("닫기 철회").clicked() {
152삭제: self.controller.keep_open();
153삭제: }
154삭제: });
155삭제: }
156삭제: if self.controller.busy() {
157삭제: ctx.request_repaint_after(std::time::Duration::from_millis(30));
158삭제: }
159삭제: }
160삭제: }
161삭제:
162삭제: fn main() -> eframe::Result {
163삭제: let font = system_font::load().map_err(|e| eframe::Error::AppCreation(Box::new(e)))?;
164삭제: renderer::run_native(
165삭제: "Zipelo 합성 메모리 작업",
166삭제: eframe::NativeOptions {
167삭제: viewport: egui::ViewportBuilder::default()
168삭제: .with_inner_size([1060.0, 720.0])
169삭제: .with_min_inner_size([760.0, 540.0]),
170삭제: ..Default::default()
171삭제: },
172삭제: || {
173삭제: let bytes = font.bytes.clone();
174삭제: let face_index = font.face_index;
175삭제: Box::new(move |cc| {
176삭제: let mut fonts = FontDefinitions::empty();
177삭제: let mut data = FontData::from_owned(bytes);
178삭제: data.index = face_index;
179삭제: fonts.font_data.insert("noto-kr".into(), data.into());
180삭제: fonts
181삭제: .families
182삭제: .insert(FontFamily::Proportional, vec!["noto-kr".into()]);
183삭제: cc.egui_ctx.set_fonts(fonts);
184삭제: cc.egui_ctx.set_visuals(egui::Visuals::light());
185삭제: cc.egui_ctx.style_mut_of(egui::Theme::Light, |style| {
186삭제: style
187삭제: .text_styles
188삭제: .insert(TextStyle::Body, FontId::proportional(18.0));
189삭제: style
190삭제: .text_styles
191삭제: .insert(TextStyle::Button, FontId::proportional(18.0));
192삭제: style
193삭제: .text_styles
194삭제: .insert(TextStyle::Heading, FontId::proportional(26.0));
195삭제: style.visuals.panel_fill = Color32::WHITE;
196삭제: style.visuals.override_text_color = Some(Color32::from_rgb(24, 39, 57));
197삭제: style.visuals.selection.bg_fill = Color32::from_rgb(211, 230, 246);
198삭제: style.spacing.item_spacing = egui::vec2(12.0, 10.0);
199삭제: style.spacing.button_padding = egui::vec2(14.0, 10.0);
200삭제: });
201삭제: Ok(Box::<App>::default())
202삭제: })
203삭제: },
204삭제: )
205삭제: }
삭제experiments/rust-ui-memory-app/src/controller.rs+0-292
@@ -1,292 +0,0 @@
1삭제: use crate::{
2삭제: core,
3삭제: runtime::{Action, Completion, DEFAULT_CAPACITY, Outcome, Task},
4삭제: };
5삭제:
6삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
7삭제: pub enum CloseState {
8삭제: Open,
9삭제: Confirming,
10삭제: Waiting,
11삭제: Allowed,
12삭제: }
13삭제:
14삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
15삭제: pub enum Status {
16삭제: Idle,
17삭제: Running,
18삭제: CancelRequested,
19삭제: Completed,
20삭제: Cancelled,
21삭제: NativeFailure,
22삭제: DeliveryFailure,
23삭제: Panicked,
24삭제: }
25삭제:
26삭제: pub struct Controller {
27삭제: pub task: Option<Task>,
28삭제: receiver: Option<core::Receiver>,
29삭제: pub terminal: Option<Completion>,
30삭제: pub terminal_delivery: Option<core::Delivery>,
31삭제: terminal_accepted: bool,
32삭제: pub close: CloseState,
33삭제: pub status: Status,
34삭제: pub generation: u64,
35삭제: pub progress: Option<core::Progress>,
36삭제: pub delivery_error: Option<core::DeliveryError>,
37삭제: pub selected: Option<(core::OperationId, u64, usize)>,
38삭제: pub spawn_error: Option<crate::runtime::StartFailure>,
39삭제: pub panic: Option<Box<dyn std::any::Any + Send>>,
40삭제: }
41삭제:
42삭제: impl Default for Controller {
43삭제: fn default() -> Self {
44삭제: Self {
45삭제: task: None,
46삭제: receiver: None,
47삭제: terminal: None,
48삭제: terminal_delivery: None,
49삭제: terminal_accepted: false,
50삭제: close: CloseState::Open,
51삭제: status: Status::Idle,
52삭제: generation: 0,
53삭제: progress: None,
54삭제: delivery_error: None,
55삭제: selected: None,
56삭제: spawn_error: None,
57삭제: panic: None,
58삭제: }
59삭제: }
60삭제: }
61삭제:
62삭제: impl Controller {
63삭제: pub fn busy(&self) -> bool {
64삭제: self.task.as_ref().is_some_and(|task| !task.joined())
65삭제: }
66삭제: pub fn start(&mut self, action: Action) -> bool {
67삭제: self.start_with(action, DEFAULT_CAPACITY)
68삭제: }
69삭제: pub fn start_with(&mut self, action: Action, capacity: usize) -> bool {
70삭제: if self.busy() || self.close != CloseState::Open {
71삭제: return false;
72삭제: }
73삭제: let Some(generation) = self.generation.checked_add(1) else {
74삭제: return false;
75삭제: };
76삭제: let task = match Task::spawn(action, capacity) {
77삭제: Ok(task) => task,
78삭제: Err(error) => {
79삭제: self.spawn_error = Some(error);
80삭제: return false;
81삭제: }
82삭제: };
83삭제: self.receiver = Some(core::Receiver::new(task.id));
84삭제: self.task = Some(task);
85삭제: self.generation = generation;
86삭제: self.selected = None;
87삭제: self.terminal = None;
88삭제: self.terminal_delivery = None;
89삭제: self.terminal_accepted = false;
90삭제: self.delivery_error = None;
91삭제: self.panic = None;
92삭제: self.spawn_error = None;
93삭제: self.progress = None;
94삭제: self.status = Status::Running;
95삭제: true
96삭제: }
97삭제: pub fn cancel(&mut self) -> bool {
98삭제: if !self.busy() {
99삭제: return false;
100삭제: }
101삭제: let first = self.task.as_ref().unwrap().cancellation.request();
102삭제: if self.status == Status::Running {
103삭제: self.status = Status::CancelRequested;
104삭제: }
105삭제: first
106삭제: }
107삭제: pub fn request_close(&mut self) {
108삭제: if self.close == CloseState::Open {
109삭제: self.close = if self.busy() {
110삭제: CloseState::Confirming
111삭제: } else {
112삭제: CloseState::Allowed
113삭제: };
114삭제: }
115삭제: }
116삭제: pub fn keep_open(&mut self) {
117삭제: if self.close != CloseState::Allowed {
118삭제: self.close = CloseState::Open;
119삭제: }
120삭제: }
121삭제: pub fn confirm_close(&mut self) {
122삭제: if self.close == CloseState::Confirming {
123삭제: self.close = if self.busy() {
124삭제: CloseState::Waiting
125삭제: } else {
126삭제: CloseState::Allowed
127삭제: };
128삭제: self.cancel();
129삭제: }
130삭제: }
131삭제: pub fn poll(&mut self) {
132삭제: let Some(task) = self.task.as_mut() else {
133삭제: return;
134삭제: };
135삭제: if let Some(events) = &task.events {
136삭제: // 기본 큐 한도만큼만 처리하며 frame에서 수신을 기다리지 않음.
137삭제: for event in events.try_iter().take(DEFAULT_CAPACITY) {
138삭제: match event.validate(self.receiver.as_mut().unwrap()) {
139삭제: Ok(core::Delivery::Accepted) => {
140삭제: self.progress = event.progress().or(self.progress)
141삭제: }
142삭제: Ok(core::Delivery::IgnoredStale) => {}
143삭제: Err(error) => {
144삭제: self.delivery_error.get_or_insert(error);
145삭제: task.cancellation.request();
146삭제: }
147삭제: }
148삭제: }
149삭제: }
150삭제: if self.terminal.is_none() {
151삭제: if let Some(done) = &task.completion {
152삭제: self.terminal = done.try_recv().ok();
153삭제: }
154삭제: }
155삭제: if let Some(join) = task.poll_join() {
156삭제: match join {
157삭제: Ok(Some(completion)) => self.terminal = Some(completion),
158삭제: Ok(None) => {
159삭제: if self.terminal.is_none() {
160삭제: if let Some(done) = &task.completion {
161삭제: self.terminal = done.try_recv().ok();
162삭제: }
163삭제: }
164삭제: }
165삭제: Err(panic) => {
166삭제: self.panic = Some(panic);
167삭제: self.status = Status::Panicked;
168삭제: }
169삭제: }
170삭제: if let Some(events) = &task.events {
171삭제: for event in events.try_iter() {
172삭제: match event.validate(self.receiver.as_mut().unwrap()) {
173삭제: Ok(core::Delivery::Accepted) => {
174삭제: self.progress = event.progress().or(self.progress)
175삭제: }
176삭제: Ok(core::Delivery::IgnoredStale) => {}
177삭제: Err(error) => {
178삭제: self.delivery_error.get_or_insert(error);
179삭제: }
180삭제: }
181삭제: }
182삭제: }
183삭제: if let Some(completion) = &self.terminal {
184삭제: self.terminal_accepted = false;
185삭제: match self
186삭제: .receiver
187삭제: .as_mut()
188삭제: .map(|receiver| completion.outcome.validate(receiver))
189삭제: {
190삭제: Some(Ok(core::Delivery::Accepted)) => {
191삭제: self.terminal_delivery = Some(core::Delivery::Accepted);
192삭제: self.terminal_accepted = true;
193삭제: }
194삭제: Some(Ok(core::Delivery::IgnoredStale)) => {
195삭제: self.terminal_delivery = Some(core::Delivery::IgnoredStale);
196삭제: }
197삭제: Some(Err(error)) => {
198삭제: self.delivery_error.get_or_insert(error);
199삭제: }
200삭제: None => {}
201삭제: }
202삭제: self.status = if self.panic.is_some() {
203삭제: Status::Panicked
204삭제: } else if !self.terminal_accepted
205삭제: || completion.delivery.is_some()
206삭제: || self.delivery_error.is_some()
207삭제: {
208삭제: Status::DeliveryFailure
209삭제: } else if completion.outcome.is_ok() {
210삭제: Status::Completed
211삭제: } else if completion.outcome.cancelled() {
212삭제: Status::Cancelled
213삭제: } else {
214삭제: Status::NativeFailure
215삭제: };
216삭제: } else if self.panic.is_none() {
217삭제: self.status = Status::DeliveryFailure;
218삭제: }
219삭제: if self.close == CloseState::Waiting {
220삭제: self.close = CloseState::Allowed;
221삭제: }
222삭제: }
223삭제: }
224삭제: pub fn rows(&self) -> Vec<&str> {
225삭제: if self.status != Status::Completed || !self.terminal_accepted {
226삭제: return Vec::new();
227삭제: }
228삭제: match self.terminal.as_ref().map(|c| &c.outcome) {
229삭제: Some(Outcome::Ustar(t)) => t
230삭제: .result()
231삭제: .map(|c| c.value().entries.iter().map(|e| e.name.as_str()).collect())
232삭제: .unwrap_or_default(),
233삭제: Some(Outcome::Zip(_)) => vec!["생성한 sample.zip"],
234삭제: Some(Outcome::Gzip(_)) => vec!["검증한 GZip 메모리 내용"],
235삭제: None => Vec::new(),
236삭제: }
237삭제: }
238삭제: pub fn select(&mut self, operation: core::OperationId, generation: u64, index: usize) -> bool {
239삭제: if self.task.as_ref().map(|t| t.id) != Some(operation)
240삭제: || generation != self.generation
241삭제: || index >= self.rows().len()
242삭제: {
243삭제: return false;
244삭제: }
245삭제: self.selected = Some((operation, generation, index));
246삭제: true
247삭제: }
248삭제: pub fn selected_bytes(&self) -> Option<&[u8]> {
249삭제: if self.status != Status::Completed || !self.terminal_accepted {
250삭제: return None;
251삭제: }
252삭제: let (operation, generation, index) = self.selected?;
253삭제: if self.task.as_ref()?.id != operation || generation != self.generation {
254삭제: return None;
255삭제: }
256삭제: match &self.terminal.as_ref()?.outcome {
257삭제: Outcome::Zip(t) => t.result().ok().map(|v| v.value().as_slice()),
258삭제: Outcome::Gzip(t) => t.result().ok()?.value().bytes.as_deref(),
259삭제: Outcome::Ustar(t) => {
260삭제: let value = t.result().ok()?.value();
261삭제: let id = &value.entries.get(index)?.id;
262삭제: value
263삭제: .files
264삭제: .iter()
265삭제: .find(|f| &f.id == id)
266삭제: .map(|f| f.bytes.as_slice())
267삭제: }
268삭제: }
269삭제: }
270삭제: pub fn preview(&self) -> String {
271삭제: let Some(bytes) = self.selected_bytes() else {
272삭제: return "목록에서 결과를 선택하세요".into();
273삭제: };
274삭제: if let Ok(text) = std::str::from_utf8(bytes) {
275삭제: text.chars().take(2048).collect()
276삭제: } else {
277삭제: format!("바이너리 {} bytes", bytes.len())
278삭제: }
279삭제: }
280삭제: pub fn status_text(&self) -> &'static str {
281삭제: match self.status {
282삭제: Status::Idle => "합성 작업을 선택하세요",
283삭제: Status::Running => "메모리 처리 중",
284삭제: Status::CancelRequested => "취소 요청됨 / 반환과 종료 대기",
285삭제: Status::Completed => "메모리 처리 완료",
286삭제: Status::Cancelled => "작업이 취소 결과를 반환함",
287삭제: Status::NativeFailure => "메모리 작업 실패",
288삭제: Status::DeliveryFailure => "UI 전달 실패 / 입력 파일 손상이나 사용자 취소가 아님",
289삭제: Status::Panicked => "작업 스레드 panic / 완료 결과 없음",
290삭제: }
291삭제: }
292삭제: }
수정experiments/rust-ui-memory-app/src/lib.rs+0-5
@@ -3,11 +3,6 @@
33#[cfg(all(feature = "ui-fixture", debug_assertions))]
44extern crate self as zipelo_ui_memory_app;
55
6삭제: pub use core_memory as core;
7삭제: pub mod controller;
8삭제: pub mod runtime;
9삭제: pub mod transport;
10삭제:
116pub mod archive_ui;
127
138#[cfg(feature = "ui")]
삭제experiments/rust-ui-memory-app/src/runtime.rs+0-268
@@ -1,268 +0,0 @@
1삭제: use crate::{
2삭제: core::{self, gzip, ustar, zip_create},
3삭제: transport::{DeliveryFault, Transport},
4삭제: };
5삭제: use std::{
6삭제: any::Any,
7삭제: sync::mpsc::{self, Receiver, SyncSender},
8삭제: thread::{self, JoinHandle},
9삭제: };
10삭제:
11삭제: pub const DEFAULT_CAPACITY: usize = 256;
12삭제: pub const PAYLOAD: &[u8] = include_bytes!("../../../tests/rust-ui-memory-app/fixtures/payload.txt");
13삭제: pub const GZIP: &[u8] = include_bytes!("../../../tests/rust-ui-memory-app/fixtures/sample.gz");
14삭제: pub const USTAR: &[u8] = include_bytes!("../../../tests/rust-ui-memory-app/fixtures/sample.tar");
15삭제:
16삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
17삭제: pub enum Action {
18삭제: Zip,
19삭제: Ustar,
20삭제: Gzip,
21삭제: InvalidGzip,
22삭제: }
23삭제:
24삭제: #[derive(Debug)]
25삭제: pub enum ProgressEvent {
26삭제: Zip(core::Event<zip_create::Checkpoint>),
27삭제: Ustar(core::Event<ustar::Checkpoint>),
28삭제: Gzip(core::Event<gzip::Checkpoint>),
29삭제: }
30삭제:
31삭제: impl ProgressEvent {
32삭제: pub fn validate(
33삭제: &self,
34삭제: receiver: &mut core::Receiver,
35삭제: ) -> Result<core::Delivery, core::DeliveryError> {
36삭제: match self {
37삭제: Self::Zip(e) => receiver.progress(e),
38삭제: Self::Ustar(e) => receiver.progress(e),
39삭제: Self::Gzip(e) => receiver.progress(e),
40삭제: }
41삭제: }
42삭제: pub fn progress(&self) -> Option<core::Progress> {
43삭제: match self {
44삭제: Self::Zip(e) => e.progress,
45삭제: Self::Ustar(e) => e.progress,
46삭제: Self::Gzip(e) => e.progress,
47삭제: }
48삭제: }
49삭제: }
50삭제:
51삭제: #[derive(Debug, PartialEq, Eq)]
52삭제: pub struct CallbackFailure(pub &'static str);
53삭제:
54삭제: #[derive(Debug)]
55삭제: pub enum Outcome {
56삭제: Zip(core::Terminal<Vec<u8>, zip_create::Failure>),
57삭제: Ustar(core::Terminal<ustar::Completed, ustar::Error<CallbackFailure>>),
58삭제: Gzip(core::Terminal<gzip::Completed, gzip::Error<CallbackFailure>>),
59삭제: }
60삭제:
61삭제: impl Outcome {
62삭제: pub fn validate(
63삭제: &self,
64삭제: receiver: &mut core::Receiver,
65삭제: ) -> Result<core::Delivery, core::DeliveryError> {
66삭제: match self {
67삭제: Self::Zip(e) => receiver.terminal(e),
68삭제: Self::Ustar(e) => receiver.terminal(e),
69삭제: Self::Gzip(e) => receiver.terminal(e),
70삭제: }
71삭제: }
72삭제: pub fn is_ok(&self) -> bool {
73삭제: match self {
74삭제: Self::Zip(e) => e.result().is_ok(),
75삭제: Self::Ustar(e) => e.result().is_ok(),
76삭제: Self::Gzip(e) => e.result().is_ok(),
77삭제: }
78삭제: }
79삭제: pub fn cancelled(&self) -> bool {
80삭제: match self {
81삭제: Self::Zip(t) => matches!(
82삭제: t.result(),
83삭제: Err(core::Failure {
84삭제: native: Some(zip_create::Failure::Cancelled),
85삭제: ..
86삭제: })
87삭제: ),
88삭제: Self::Ustar(t) => matches!(
89삭제: t.result(),
90삭제: Err(core::Failure {
91삭제: native: Some(ustar::Error::Reader(ustar::Failure::Cancelled)),
92삭제: ..
93삭제: })
94삭제: ),
95삭제: Self::Gzip(t) => matches!(
96삭제: t.result(),
97삭제: Err(core::Failure {
98삭제: native: Some(gzip::Error::Reader(gzip::Failure::Cancelled)),
99삭제: ..
100삭제: })
101삭제: ),
102삭제: }
103삭제: }
104삭제: pub fn next_sequence(&self) -> u64 {
105삭제: match self {
106삭제: Self::Zip(t) => t.stamp().sequence(),
107삭제: Self::Ustar(t) => t.stamp().sequence(),
108삭제: Self::Gzip(t) => t.stamp().sequence(),
109삭제: }
110삭제: }
111삭제: }
112삭제:
113삭제: #[derive(Debug)]
114삭제: pub struct Completion {
115삭제: pub outcome: Outcome,
116삭제: pub delivery: Option<DeliveryFault>,
117삭제: }
118삭제:
119삭제: pub fn execute(
120삭제: operation: core::Operation,
121삭제: action: Action,
122삭제: sender: SyncSender<ProgressEvent>,
123삭제: ) -> Completion {
124삭제: let mut transport = Transport::new(sender);
125삭제: let outcome = match action {
126삭제: Action::Zip => Outcome::Zip(operation.create_zip(
127삭제: zip_create::Request {
128삭제: entries: vec![zip_create::Entry {
129삭제: name: "sample.txt".into(),
130삭제: bytes: PAYLOAD.into(),
131삭제: }],
132삭제: options: zip_create::Options::default(),
133삭제: limits: zip_create::Limits::default(),
134삭제: timeout: std::time::Duration::from_secs(5),
135삭제: },
136삭제: |event| {
137삭제: transport.forward(
138삭제: event.stamp().sequence(),
139삭제: ProgressEvent::Zip(event),
140삭제: Ok(()),
141삭제: || zip_create::Stop::Cancelled,
142삭제: )
143삭제: },
144삭제: )),
145삭제: Action::Ustar => Outcome::Ustar(operation.ustar(
146삭제: ustar::Request {
147삭제: input: USTAR.into(),
148삭제: policy: ustar::NamePolicy::Linux,
149삭제: limits: ustar::Limits::default(),
150삭제: },
151삭제: |entries| Ok(entries.iter().map(|entry| entry.id.clone()).collect()),
152삭제: |event| {
153삭제: transport.forward(
154삭제: event.stamp().sequence(),
155삭제: ProgressEvent::Ustar(event),
156삭제: Ok(()),
157삭제: || ustar::Stop::Cancelled,
158삭제: )
159삭제: },
160삭제: )),
161삭제: Action::Gzip | Action::InvalidGzip => {
162삭제: let input = if action == Action::InvalidGzip {
163삭제: Box::from(&b"invalid"[..])
164삭제: } else {
165삭제: GZIP.into()
166삭제: };
167삭제: let mut budget = gzip::Budget::new(gzip::Limits::default()).expect("고정 기본 예산");
168삭제: Outcome::Gzip(operation.gzip(
169삭제: gzip::Request {
170삭제: input,
171삭제: selected: true,
172삭제: },
173삭제: &mut budget,
174삭제: |event| {
175삭제: transport.forward(
176삭제: event.stamp().sequence(),
177삭제: ProgressEvent::Gzip(event),
178삭제: Ok(()),
179삭제: || gzip::Stop::Cancelled,
180삭제: )
181삭제: },
182삭제: ))
183삭제: }
184삭제: };
185삭제: Completion {
186삭제: outcome,
187삭제: delivery: transport.fault,
188삭제: }
189삭제: }
190삭제:
191삭제: pub fn deliver_completion(
192삭제: sender: &SyncSender<Completion>,
193삭제: completion: Completion,
194삭제: ) -> Option<Completion> {
195삭제: match sender.try_send(completion) {
196삭제: Ok(()) => None,
197삭제: Err(mpsc::TrySendError::Full(value) | mpsc::TrySendError::Disconnected(value)) => {
198삭제: Some(value)
199삭제: }
200삭제: }
201삭제: }
202삭제:
203삭제: #[derive(Debug)]
204삭제: pub enum StartFailure {
205삭제: Capacity,
206삭제: Operation(core::AdapterFailure),
207삭제: Spawn(std::io::Error),
208삭제: }
209삭제:
210삭제: #[must_use = "작업 소유자는 종료까지 핸들을 보존해야 함"]
211삭제: pub struct Task {
212삭제: pub id: core::OperationId,
213삭제: pub cancellation: core::Cancellation,
214삭제: pub events: Option<Receiver<ProgressEvent>>,
215삭제: pub completion: Option<Receiver<Completion>>,
216삭제: handle: Option<JoinHandle<Option<Completion>>>,
217삭제: }
218삭제:
219삭제: impl Task {
220삭제: pub fn spawn(action: Action, capacity: usize) -> Result<Self, StartFailure> {
221삭제: Self::spawn_with(capacity, move |op, sender| execute(op, action, sender))
222삭제: }
223삭제: pub fn spawn_with(
224삭제: capacity: usize,
225삭제: work: impl FnOnce(core::Operation, SyncSender<ProgressEvent>) -> Completion + Send + 'static,
226삭제: ) -> Result<Self, StartFailure> {
227삭제: if capacity > DEFAULT_CAPACITY {
228삭제: return Err(StartFailure::Capacity);
229삭제: }
230삭제: let (op, cancellation) = core::Operation::start().map_err(StartFailure::Operation)?;
231삭제: let id = op.id();
232삭제: let (sender, events) = mpsc::sync_channel(capacity);
233삭제: let (done, completion) = mpsc::sync_channel(1);
234삭제: let handle = thread::Builder::new()
235삭제: .name("zipelo-memory".into())
236삭제: .spawn(move || deliver_completion(&done, work(op, sender)))
237삭제: .map_err(StartFailure::Spawn)?;
238삭제: Ok(Self {
239삭제: id,
240삭제: cancellation,
241삭제: events: Some(events),
242삭제: completion: Some(completion),
243삭제: handle: Some(handle),
244삭제: })
245삭제: }
246삭제: pub fn finished(&self) -> bool {
247삭제: self.handle.as_ref().is_none_or(JoinHandle::is_finished)
248삭제: }
249삭제: pub fn joined(&self) -> bool {
250삭제: self.handle.is_none()
251삭제: }
252삭제: pub fn poll_join(&mut self) -> Option<Result<Option<Completion>, Box<dyn Any + Send>>> {
253삭제: if !self.finished() {
254삭제: return None;
255삭제: }
256삭제: self.handle.take().map(JoinHandle::join)
257삭제: }
258삭제: }
259삭제:
260삭제: impl Drop for Task {
261삭제: fn drop(&mut self) {
262삭제: // 정상 frame 경로는 종료 확인 뒤에만 Task를 제거함. 비정상 소유권 폐기도 detach하지 않음.
263삭제: if let Some(handle) = self.handle.take() {
264삭제: self.cancellation.request();
265삭제: let _ = handle.join();
266삭제: }
267삭제: }
268삭제: }
삭제experiments/rust-ui-memory-app/src/transport.rs+0-56
@@ -1,56 +0,0 @@
1삭제: use std::sync::mpsc::{SyncSender, TrySendError};
2삭제:
3삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
4삭제: pub enum DeliveryKind {
5삭제: Full,
6삭제: Disconnected,
7삭제: }
8삭제:
9삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
10삭제: pub struct DeliveryFault {
11삭제: pub kind: DeliveryKind,
12삭제: pub first_missing_sequence: u64,
13삭제: }
14삭제:
15삭제: pub struct Transport<T> {
16삭제: sender: SyncSender<T>,
17삭제: pub fault: Option<DeliveryFault>,
18삭제: }
19삭제:
20삭제: impl<T> Transport<T> {
21삭제: pub fn new(sender: SyncSender<T>) -> Self {
22삭제: Self {
23삭제: sender,
24삭제: fault: None,
25삭제: }
26삭제: }
27삭제:
28삭제: pub fn forward<E>(
29삭제: &mut self,
30삭제: sequence: u64,
31삭제: value: T,
32삭제: original: Result<(), E>,
33삭제: stop: impl FnOnce() -> E,
34삭제: ) -> Result<(), E> {
35삭제: if self.fault.is_none() {
36삭제: self.fault = match self.sender.try_send(value) {
37삭제: Ok(()) => None,
38삭제: Err(TrySendError::Full(_)) => Some(DeliveryFault {
39삭제: kind: DeliveryKind::Full,
40삭제: first_missing_sequence: sequence,
41삭제: }),
42삭제: Err(TrySendError::Disconnected(_)) => Some(DeliveryFault {
43삭제: kind: DeliveryKind::Disconnected,
44삭제: first_missing_sequence: sequence,
45삭제: }),
46삭제: };
47삭제: }
48삭제: // 원래 observer 오류를 전달 오류보다 먼저 반환함.
49삭제: original?;
50삭제: if self.fault.is_some() {
51삭제: Err(stop())
52삭제: } else {
53삭제: Ok(())
54삭제: }
55삭제: }
56삭제: }
삭제tests/rust-ui-memory-app/SHA256SUMS+0-21
@@ -1,21 +0,0 @@
1삭제: d591ec67b8f1a1ea448b6bdd971e0b8c039a33a492c8f068b085bdd20b3a64ae experiments/rust-ui-memory-app/Cargo.lock
2삭제: 7a74a5d5be456dc6d080c0dd78a25eaf8bd12ef43a3b921f26bbb7e35901040f experiments/rust-ui-memory-app/Cargo.toml
3삭제: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 experiments/rust-ui-memory-app/LICENSE
4삭제: 5b98107ae51806d6d4cb4337bea3b979f55070eba6dc7c0c294e13e7686ab4c6 experiments/rust-ui-memory-app/THIRD-PARTY-NOTICES.txt
5삭제: 1cddb84c6a8c5e4188be79220c92532351e51979d7ad0edbc0a12ac5381ed72c experiments/rust-ui-memory-app/src/app.rs
6삭제: 51dc979b88e395c209444900511aa7d56bcc8ccc31205fca22191f25dc6468e2 experiments/rust-ui-memory-app/src/controller.rs
7삭제: 58d303d44c6b8580168f14c3ceb0eb878fc7a003f197f162584286873a904ddc experiments/rust-ui-memory-app/src/lib.rs
8삭제: c1c1dde16263ea7ed4cf5808b3182e21878b8ffadfe8850974a8cbdbd4607b3f experiments/rust-ui-memory-app/src/runtime.rs
9삭제: 7aef227ed4424e13cfa750373a9e1f32bebae12308589c81d051f41ea84991ac experiments/rust-ui-memory-app/src/transport.rs
10삭제: 5a9a48f08dea0d3b103a359251bde06dd82e2568be02bdb905f5b0ceb7bb6dd9 tests/rust-ui-memory-app/contract.json
11삭제: 5ee41a973a0e976fbb6fe36d4a3fcb0ed026e638e997042a0bef8c2f238f0599 tests/rust-ui-memory-app/dependencies.json
12삭제: 8536779d3551eb86a82f4c8b814bb26ddeaff04f992d3e080ae06321f10e3453 tests/rust-ui-memory-app/dependency_audit.py
13삭제: 97c0bc5c804d85fb523da4c76abff2bec3aed3ae1e02b68db1c19792e9843808 tests/rust-ui-memory-app/files.json
14삭제: ce7c1973b4eab97e4e49257ce4dbc5cb35c5a1eaae7c666a04b548fe1fd41dba tests/rust-ui-memory-app/fixtures/payload.txt
15삭제: 6adcdc0775bca7b8c1ff8e41adeecf8a724f876f8b469f7f8fc611406a626e61 tests/rust-ui-memory-app/fixtures/sample.gz
16삭제: 910cb4573b57fd26f122376f3f4eae0e4397163b83e32a3c850758d42f88dc55 tests/rust-ui-memory-app/fixtures/sample.tar
17삭제: 09aca74cb3f20f1ed5b3e03fd647c80ef8e872f6ff97e17882cf2fda8b108b2c tests/rust-ui-memory-app/license-supplement.json
18삭제: 865d69b95660fefe8c9ad6129d2692cff8007ecc3d55de1a049fe162173f434d tests/rust-ui-memory-app/reference-ui.lock
19삭제: 4eec2f9e036bc0fc04a1ff0af31aa28e593c185f8d1d230c8105a8fefc92fc4d tests/rust-ui-memory-app/regressions.rs
20삭제: f6a7b3df44869c206ff517f32653885c5fcd2f335ef4e8eff94d6ab626ca4119 tests/rust-ui-memory-app/sources.json
21삭제: 6a756de6da66731b1ea9eaaacedfbe32096bd6a918eab591a392bc45529184f5 tests/rust-ui-memory-app/static_check.py
삭제tests/rust-ui-memory-app/contract.json+0-118
@@ -1,118 +0,0 @@
1삭제: {
2삭제: "scope": "합성 메모리 입력만 사용하는 실제 PR42 호출 UI 후보임. 사용자 archive/선택기/파일 저장/게시/worker/tar.gz 연결 없음",
3삭제: "core_head": "23b8d1c615f24f42469138fcc63e7fce7cda4f24",
4삭제: "branch": "features/rust-ui-memory-app",
5삭제: "layout": {
6삭제: "palette": {
7삭제: "paper": "#FFFFFF",
8삭제: "ink": "#182739",
9삭제: "selection": "#D3E6F6",
10삭제: "focus": "#174C7C"
11삭제: },
12삭제: "type": "기존 설치 Noto CJK 한국어 폰트 index 1, 본문/버튼 18px, 제목 26px임",
13삭제: "structure": "상단 동작 선택, 좌측 결과 목록, 우측 내용, 하단 상태의 작업실 구조임. 부가 설명도 본문 크기로 표시함",
14삭제: "review": "기존 PR34의 파란색 선택과 한글 가독성을 계승하며 장식 카드/별도 아이콘을 추가하지 않음"
15삭제: },
16삭제: "transport": {
17삭제: "capacity": 256,
18삭제: "full": "유효 입력에서도 발생 가능한 UI 전달 한계임. 사용자 취소/손상 archive로 표시하지 않음. 대형 입력 처리를 보장하지 않음",
19삭제: "raw": "모든 checkpoint Event를 순번 변경 없이 try_send함. 최초 전달 실패 이후 suffix는 보내지 않고 first_missing_sequence로 시작 위치를 보존함. 원래 observer Err를 반환 우선순위로 유지하며 전달 실패는 별도임",
20삭제: "receiver": "원본 연속 stream을 PR42 Receiver로 검증함. 누락/중복 오류는 sticky로 보존하고 재생성하지 않음. terminal은 원형 보존하되 transport 오류가 있으면 payload 목록/내용에 적용하지 않음",
21삭제: "completion": "용량 1 별도 채널로 Terminal 소유 이동. Full/Disconnected이면 반환된 값을 작업 스레드 반환값으로 소유하여 join으로 회수함. 복제하지 않음",
22삭제: "mutex": "추가 공유 mutex를 사용하지 않아 자체 poison 경로 없음. 표준 채널 내부 구현 전체의 panic 회수를 주장하지 않음",
23삭제: "terminal_acceptance": "Accepted만 실제 현재 결과의 완료/오류 분류와 payload 적용을 허용함. IgnoredStale는 원형 진단용 보존만 하며 현재 작업은 DeliveryFailure임. terminal 누락/Receiver 누락/검증 오류도 성공으로 처리하지 않음. payload 조회는 내부 accepted latch도 요구함"
24삭제: },
25삭제: "lifecycle": {
26삭제: "frame": "poll/try_recv/try_iter/is_finished만 사용하며 실행 중 join하지 않음. 완료 수신과 join 상태를 분리하고 원본 결과를 한 번 소유함",
27삭제: "close": "확인/취소 요청 후 대기/철회 구분. 철회해도 전송한 취소는 남음. 종료 확인 전 시작/재시작/실제 닫기 금지. 확인 중 먼저 완료돼도 선택은 유지함",
28삭제: "drop": "정상 GUI frame은 busy Task를 제거하지 않음. 비정상 소유권 폐기나 앱 종료에서 Task::Drop은 취소 요청 후 동기 join하므로 blocking할 수 있음. 비차단 보장은 정상 poll/닫기 전이 범위임. 강제 종료/비선점 callback/OOM에서 유한 종료나 안전한 회수를 보장하지 않음",
29삭제: "panic": "JoinError 원형을 별도로 소유하며 Terminal이나 cleanup 성공을 합성하지 않음",
30삭제: "cancel": "요청과 실제 native 반환을 구분함. 이미 완료된 성공을 뒤늦은 취소로 바꾸지 않음. 마지막 checkpoint와 Terminal 생성 사이 경합은 확정 검증하지 않음",
31삭제: "normal_frame_regression": "gate로 실행 중인 스레드를 유지하고 poll/반복 시작/취소/닫기 확인/철회 뒤에도 같은 미join 핸들이 보존됨을 직접 회귀로 작성함. gate 해제 후 panic 종료와 명시적 poll_join을 확인함. 아직 실행하지 않았음"
32삭제: },
33삭제: "payload": {
34삭제: "ownership": "원본 typed Terminal이 bytes/목록/Usage/원래 오류를 소유함. GUI 문자열은 별도 제한된 표시임",
35삭제: "generation": "새 시작 시 checked 세대 증가 및 목록/원본 결과/선택 동시 제거. 선택 키는 실제 operation/세대/행 index임. USTAR id/name bytes는 원형 보존함",
36삭제: "preview": "최대 Unicode 2048자 표시, 비 UTF-8은 바이너리 길이만 표시. 전체 bytes는 결과에 보존함. 원문 이름/내용을 경로나 명령으로 사용하지 않음",
37삭제: "limitations": "파일 저장 미지원, 합성 입력 전용, 메모리 완료, USTAR ContentVerification::Unavailable을 화면에 표시함. ZIP 생성의 round-trip 검증이나 최종 Usage를 만들지 않음"
38삭제: },
39삭제: "fixtures": {
40삭제: "producer": "Python 3.14.4 표준 gzip.compress(mtime=0), tarfile USTAR_FORMAT과 합성 UTF-8 bytes임",
41삭제: "gzip": "payload.txt 전체 선택",
42삭제: "ustar": "자료.txt 및 empty.txt 두 파일을 선택 콜백에서 전체 선택함. UI 행 선택은 이미 검증하여 반환한 bytes 중 표시할 항목만 선택함",
43삭제: "zip": "payload.txt를 sample.txt라는 ASCII 이름으로 실제 ZIP 생성함",
44삭제: "no_drain": "세 정상 fixture 각각 UI가 중간에 progress를 전혀 배출하지 않아도 모든 Event가 기본 256 큐에 들어가고 실제 Terminal 성공/순번 일치함을 회귀로 검증하도록 작성함. 아직 실행 전이므로 event 실제 최대값/통과를 주장하지 않음"
45삭제: },
46삭제: "dependencies": {
47삭제: "external_new_outside_original_locks": 0,
48삭제: "headless_default": true,
49삭제: "ui_optional": "eframe =0.37.0, PR34 동일 features",
50삭제: "platform_counts_including_local": {
51삭제: "linux_headless": 34,
52삭제: "linux_gui": 242,
53삭제: "windows_gnu_headless": 35,
54삭제: "windows_gnu_gui": 144,
55삭제: "windows_msvc_headless": 35,
56삭제: "windows_msvc_gui": 144
57삭제: },
58삭제: "registry_lock_records": 384,
59삭제: "selected_analysis": "Windows는 metadata/tree만이며 Linux 외 빌드를 의미하지 않음",
60삭제: "reference_ui_lock": {
61삭제: "source_head": "63b80e3158c08b71ec70666a2a39216cd36752b1",
62삭제: "source_path": "experiments/rust-ui-probe/Cargo.lock",
63삭제: "copy": "tests/rust-ui-memory-app/reference-ui.lock",
64삭제: "sha256": "865d69b95660fefe8c9ad6129d2692cff8007ecc3d55de1a049fe162173f434d"
65삭제: },
66삭제: "license_supplement": "기존 PR34의 고정 upstream 보충 원문 JSON을 새 tests 폴더에 동일 bytes로 보존함. archive에 license 파일이 없는 GUI package의 출처를 함께 제공하며 최종 배포 고지는 별도임"
67삭제: },
68삭제: "validation": {
69삭제: "toolchain": "기존 Rust/Cargo/rustfmt 1.99.1 및 cache만 사용함",
70삭제: "rust_tests_declared": 31,
71삭제: "names": [
72삭제: "zip_default_queue_fits_without_ui_drain",
73삭제: "ustar_default_queue_fits_without_ui_drain",
74삭제: "gzip_default_queue_fits_without_ui_drain",
75삭제: "full_queue_is_transport_failure_not_user_cancel",
76삭제: "disconnected_progress_preserves_first_missing_sequence",
77삭제: "original_observer_error_beats_full_queue",
78삭제: "original_observer_error_beats_disconnected_queue",
79삭제: "original_observer_error_still_delivers_its_raw_event_when_possible",
80삭제: "completion_receiver_loss_recovers_payload_from_join",
81삭제: "full_completion_channel_returns_ownership_instead_of_dropping",
82삭제: "progress_gap_keeps_real_terminal_but_cannot_apply_payload",
83삭제: "thread_panic_is_joined_without_synthesized_terminal",
84삭제: "cancellation_before_work_returns_real_cancelled_result",
85삭제: "cancellation_after_terminal_does_not_rewrite_success",
86삭제: "repeated_start_is_rejected_until_join_even_if_thread_finished",
87삭제: "repeated_cancel_sets_request_once",
88삭제: "close_confirmation_does_not_cancel_and_can_be_retracted",
89삭제: "close_cancel_retraction_keeps_existing_cancel_request",
90삭제: "close_waits_for_join_and_preserves_terminal",
91삭제: "completed_during_confirmation_still_requires_choice",
92삭제: "atomic_generation_replacement_rejects_old_selection",
93삭제: "ustar_exact_ids_and_content_limitation_are_retained",
94삭제: "error_retry_uses_new_operation_and_clears_previous_payload",
95삭제: "headless_values_satisfy_thread_transfer_bounds",
96삭제: "oversized_queue_is_rejected_without_spawning",
97삭제: "gzip_preview_preserves_original_bytes",
98삭제: "ui_event_wrapper_excludes_old_operation_before_current_sequence",
99삭제: "native_gzip_callback_error_survives_simultaneous_queue_full",
100삭제: "controller_rejects_real_foreign_terminal_without_applying_payload",
101삭제: "joined_task_without_received_terminal_is_delivery_failure",
102삭제: "normal_frame_controls_retain_running_handle_until_explicit_join"
103삭제: ],
104삭제: "rust_tests_compiled": false,
105삭제: "rust_tests_discovered": false,
106삭제: "rust_tests_executed": false,
107삭제: "gui_executed": false,
108삭제: "limits": "고정 head 검토 후 회귀/GUI 실행 별도 배정. 이전 PR34/39/42 및 원본 모듈 결과를 이 후보 통과로 합산하지 않음",
109삭제: "builds": {
110삭제: "headless_lib": "Linux locked/offline exit 0",
111삭제: "gui": "Linux ui feature binary locked/offline exit 0",
112삭제: "rustfmt": "1.99.1 check exit 0",
113삭제: "metadata": "Linux headless/GUI locked/offline exit 0. Windows 두 target headless/GUI 선택 감사 완료. 미캐시 iOS를 포함한 무필터 metadata는 offline 실패로 보존함",
114삭제: "previous_head": "d188493ff6b82f4aef4c648405be07316da36eb0의 빌드와 이번 보완 source 빌드는 별도 로그로 구분함"
115삭제: }
116삭제: },
117삭제: "preservation": "새 두 디렉터리만 추가함. 기존 core/60개 원본/PR34/39/main/C# 수정 없음. 공유 로컬 Git 브랜치 전환/스테이징 없음"
118삭제: }
삭제tests/rust-ui-memory-app/dependencies.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-app/dependency_audit.py+0-69
@@ -1,69 +0,0 @@
1삭제: import hashlib
2삭제: import json
3삭제: from pathlib import Path
4삭제: import re
5삭제: import subprocess
6삭제: import sys
7삭제: import tomllib
8삭제:
9삭제: ROOT = Path(__file__).resolve().parents[2]
10삭제: HERE = Path(__file__).resolve().parent
11삭제: MANIFEST = ROOT / "experiments/rust-ui-memory-app/Cargo.toml"
12삭제: TARGETS = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu", "x86_64-pc-windows-msvc"]
13삭제:
14삭제:
15삭제: def sha(data):
16삭제: return hashlib.sha256(data).hexdigest()
17삭제:
18삭제:
19삭제: def cargo(*args):
20삭제: return subprocess.check_output(["cargo", "+1.99.1", *args, "--locked", "--offline", "--manifest-path", str(MANIFEST)], cwd=ROOT, text=True)
21삭제:
22삭제:
23삭제: def main():
24삭제: if sys.flags.optimize:
25삭제: raise RuntimeError("최적화 모드에서는 감사할 수 없음")
26삭제: locks = [tomllib.loads((ROOT / path).read_text())["package"] for path in ["tests/rust-ui-memory-app/reference-ui.lock", "experiments/rust-app-core-memory/Cargo.lock"]]
27삭제: allowed = {(p["name"], p["version"], p.get("checksum")) for lock in locks for p in lock if p.get("source")}
28삭제: current = tomllib.loads(MANIFEST.with_name("Cargo.lock").read_text())["package"]
29삭제: records = {(p["name"], p["version"], p.get("checksum")) for p in current if p.get("source")}
30삭제: if not records <= allowed:
31삭제: raise RuntimeError("기존 lock 외 registry 항목")
32삭제: results = []
33삭제: for target in TARGETS:
34삭제: for ui in [False, True]:
35삭제: flags = ["--features", "ui"] if ui else ["--no-default-features"]
36삭제: metadata = json.loads(cargo("metadata", "--format-version", "1", "--filter-platform", target, *flags))
37삭제: packages = {(p["name"], p["version"]): p for p in metadata["packages"]}
38삭제: tree = cargo("tree", "--target", target, "--prefix", "none", "--format", "{p}|{f}", "-e", "normal,build", *flags)
39삭제: active = {}
40삭제: for line in tree.splitlines():
41삭제: match = re.fullmatch(r"([^ ]+) v([^ ]+)(?: \([^|]*\))?\|([^|]*?)(?: \(\*\))?", line)
42삭제: if match is None:
43삭제: raise RuntimeError("Cargo tree 행 해석 실패: " + line)
44삭제: name, version, features = match.groups()
45삭제: active.setdefault((name, version), set()).update(filter(None, features.split(",")))
46삭제: selected = []
47삭제: for key, features in sorted(active.items()):
48삭제: package = packages[key]
49삭제: item = {"name": key[0], "version": key[1], "features": sorted(features), "license": package["license"], "source": package["source"]}
50삭제: if package["source"]:
51삭제: lock = next(p for p in current if (p["name"], p["version"]) == key)
52삭제: source = Path(package["manifest_path"]).parent
53삭제: registry = source.parent.parent.parent
54삭제: archive = registry / "cache" / source.parent.name / (key[0] + "-" + key[1] + ".crate")
55삭제: if sha(archive.read_bytes()) != lock["checksum"]:
56삭제: raise RuntimeError("캐시 checksum 불일치: " + str(key))
57삭제: item["checksum"] = lock["checksum"]
58삭제: item["license_files"] = [{"path": str(p.relative_to(source)), "sha256": sha(p.read_bytes())} for p in sorted(source.rglob("*")) if p.is_file() and not p.is_symlink() and p.name.lower().startswith(("license", "licence", "copying", "notice"))]
59삭제: else:
60삭제: item["source_path"] = str(Path(package["manifest_path"]).parent.relative_to(ROOT))
61삭제: selected.append(item)
62삭제: results.append({"target": target, "ui": ui, "selected_packages": len(selected), "packages": selected})
63삭제: report = {"scope": "플랫폼별 locked/offline 선택 분석임. Linux 외 빌드나 실행 검증이 아님", "original_ui_head": "63b80e3158c08b71ec70666a2a39216cd36752b1", "core_head": "23b8d1c615f24f42469138fcc63e7fce7cda4f24", "registry_records": len(records), "new_registry_outside_original_union": 0, "selections": results}
64삭제: (HERE / "dependencies.json").write_text(json.dumps(report, ensure_ascii=False, indent=4) + "\n")
65삭제: print(json.dumps([{k: x[k] for k in ["target", "ui", "selected_packages"]} for x in results]))
66삭제:
67삭제:
68삭제: if __name__ == "__main__":
69삭제: main()
삭제tests/rust-ui-memory-app/files.json+0-23
@@ -1,23 +0,0 @@
1삭제: [
2삭제: "experiments/rust-ui-memory-app/Cargo.lock",
3삭제: "experiments/rust-ui-memory-app/Cargo.toml",
4삭제: "experiments/rust-ui-memory-app/LICENSE",
5삭제: "experiments/rust-ui-memory-app/THIRD-PARTY-NOTICES.txt",
6삭제: "experiments/rust-ui-memory-app/src/app.rs",
7삭제: "experiments/rust-ui-memory-app/src/controller.rs",
8삭제: "experiments/rust-ui-memory-app/src/lib.rs",
9삭제: "experiments/rust-ui-memory-app/src/runtime.rs",
10삭제: "experiments/rust-ui-memory-app/src/transport.rs",
11삭제: "tests/rust-ui-memory-app/contract.json",
12삭제: "tests/rust-ui-memory-app/dependencies.json",
13삭제: "tests/rust-ui-memory-app/dependency_audit.py",
14삭제: "tests/rust-ui-memory-app/files.json",
15삭제: "tests/rust-ui-memory-app/fixtures/payload.txt",
16삭제: "tests/rust-ui-memory-app/fixtures/sample.gz",
17삭제: "tests/rust-ui-memory-app/fixtures/sample.tar",
18삭제: "tests/rust-ui-memory-app/license-supplement.json",
19삭제: "tests/rust-ui-memory-app/reference-ui.lock",
20삭제: "tests/rust-ui-memory-app/regressions.rs",
21삭제: "tests/rust-ui-memory-app/sources.json",
22삭제: "tests/rust-ui-memory-app/static_check.py"
23삭제: ]
삭제tests/rust-ui-memory-app/fixtures/payload.txt+0-1
@@ -1 +0,0 @@
1삭제: Zipelo 합성 메모리 결과
삭제tests/rust-ui-memory-app/fixtures/sample.gz

바이너리 파일이라 Diff를 표시하지 않아요.

파일 내려받기
삭제tests/rust-ui-memory-app/fixtures/sample.tar

바이너리 파일이라 Diff를 표시하지 않아요.

파일 내려받기
삭제tests/rust-ui-memory-app/license-supplement.json+0-56
@@ -1,56 +0,0 @@
1삭제: {
2삭제: "source": "공식 upstream 고정 source의 보충 라이선스이며 crate source 대체가 아님",
3삭제: "files": [
4삭제: {
5삭제: "url": "https://raw.githubusercontent.com/AccessKit/accesskit/f3026222559c7f5f46d8f25cb7404de68eb149f0/LICENSE-APACHE",
6삭제: "content": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n",
7삭제: "sha256": "62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a"
8삭제: },
9삭제: {
10삭제: "url": "https://raw.githubusercontent.com/AccessKit/accesskit/f3026222559c7f5f46d8f25cb7404de68eb149f0/LICENSE-MIT",
11삭제: "content": "Permission is hereby granted, free of charge, to any\nperson obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the\nSoftware without restriction, including without\nlimitation the rights to use, copy, modify, merge,\npublish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software\nis furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice\nshall be included in all copies or substantial portions\nof the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF\nANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED\nTO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A\nPARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT\nSHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR\nIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n",
12삭제: "sha256": "23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3"
13삭제: },
14삭제: {
15삭제: "url": "https://raw.githubusercontent.com/AccessKit/accesskit/f3026222559c7f5f46d8f25cb7404de68eb149f0/LICENSE.chromium",
16삭제: "content": "// Copyright 2015 The Chromium Authors. All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
17삭제: "sha256": "845022e0c1db1abb41a6ba4cd3c4b674ec290f3359d9d3c78ae558d4c0ed9308"
18삭제: },
19삭제: {
20삭제: "url": "https://raw.githubusercontent.com/emilk/egui/3c6eb8261c3293ad9c7ea1ed58487e038860ebef/LICENSE-MIT",
21삭제: "content": "Copyright (c) 2018-2021 Emil Ernerfeldt <[email protected]>\n\nPermission is hereby granted, free of charge, to any\nperson obtaining a copy of this software and associated\ndocumentation files (the \"Software\"), to deal in the\nSoftware without restriction, including without\nlimitation the rights to use, copy, modify, merge,\npublish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software\nis furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice\nshall be included in all copies or substantial portions\nof the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF\nANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED\nTO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A\nPARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT\nSHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR\nIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n",
22삭제: "sha256": "95ca92f5f8ea5231f1580b3a2a799e8260af3114b900e1def5355a7f44bcf60c"
23삭제: },
24삭제: {
25삭제: "url": "https://raw.githubusercontent.com/emilk/egui/3c6eb8261c3293ad9c7ea1ed58487e038860ebef/LICENSE-APACHE",
26삭제: "content": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
27삭제: "sha256": "8173d5c29b4f956d532781d2b86e4e30f83e6b7878dce18c919451d6ba707c90"
28삭제: },
29삭제: {
30삭제: "url": "https://raw.githubusercontent.com/rust-windowing/gl-rs/ea503e8d5fb6d73c6030e6191ce738cd3bf3433e/LICENSE",
31삭제: "content": "\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n",
32삭제: "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
33삭제: },
34삭제: {
35삭제: "url": "https://raw.githubusercontent.com/aclysma/profiling/8271551172eb6fa4cba47369aedd93790c623df9/LICENSE-MIT",
36삭제: "content": "MIT License\n\nCopyright (c) 2020 Philip Degarmo and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.",
37삭제: "sha256": "c8167fdeeed46d3f244d3f85c5bf998ce889343691c32be2c61a8bc4b5c08333"
38삭제: },
39삭제: {
40삭제: "url": "https://raw.githubusercontent.com/DoumanAsh/clipboard-win/ed27008ae5d1f10cfbb266de039f0fb35fd05a56/LICENSE",
41삭제: "content": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n",
42삭제: "sha256": "c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566"
43삭제: }
44삭제: ],
45삭제: "limits": [
46삭제: "egui 일부 crate의 cargo_vcs SHA는 GitHub tree 422로 확인되지 않음. 동일 0.37.0 계열 eframe 고정 commit과 0.37.0 tag의 라이선스 blob 일치만 확인함",
47삭제: "최종 배포 고지 묶음과 모든 내부 제삼자 자산의 법적 검토 완료를 의미하지 않음"
48삭제: ],
49삭제: "choices": [
50삭제: "MIT OR Apache-2.0은 MIT 경로를 우선 검토함",
51삭제: "accesskit_winit 및 gl_generator와 khronos_api는 Apache-2.0임",
52삭제: "clipboard-win은 BSL-1.0임",
53삭제: "self_cell의 GPL 대안은 선택하지 않고 Apache-2.0 경로를 사용함",
54삭제: "Unicode-3.0 AND 조건 및 Apache 고지 의무는 유지함"
55삭제: ]
56삭제: }
삭제tests/rust-ui-memory-app/reference-ui.lock

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-app/regressions.rs+0-513
@@ -1,513 +0,0 @@
1삭제: use std::{
2삭제: sync::mpsc,
3삭제: thread,
4삭제: time::{Duration, Instant},
5삭제: };
6삭제: use zipelo_ui_memory_app::{
7삭제: controller::{CloseState, Controller, Status},
8삭제: core,
9삭제: runtime::{self, Action, DEFAULT_CAPACITY, Task},
10삭제: transport::{DeliveryKind, Transport},
11삭제: };
12삭제:
13삭제: fn finish(task: &Task) {
14삭제: let deadline = Instant::now() + Duration::from_secs(10);
15삭제: while !task.finished() {
16삭제: assert!(Instant::now() < deadline, "작업 종료 기한 초과");
17삭제: thread::sleep(Duration::from_millis(1));
18삭제: }
19삭제: }
20삭제:
21삭제: fn complete(controller: &mut Controller) {
22삭제: let deadline = Instant::now() + Duration::from_secs(10);
23삭제: while controller.busy() {
24삭제: assert!(Instant::now() < deadline);
25삭제: controller.poll();
26삭제: thread::sleep(Duration::from_millis(1));
27삭제: }
28삭제: }
29삭제:
30삭제: fn fixture_without_draining(action: Action) {
31삭제: let mut task = Task::spawn(action, DEFAULT_CAPACITY).unwrap();
32삭제: finish(&task);
33삭제: let events: Vec<_> = task.events.as_ref().unwrap().try_iter().collect();
34삭제: let terminal = task.completion.as_ref().unwrap().try_recv().unwrap();
35삭제: let mut receiver = core::Receiver::new(task.id);
36삭제: for event in &events {
37삭제: assert_eq!(event.validate(&mut receiver), Ok(core::Delivery::Accepted));
38삭제: }
39삭제: assert!(terminal.delivery.is_none());
40삭제: assert!(terminal.outcome.is_ok());
41삭제: assert_eq!(terminal.outcome.next_sequence(), events.len() as u64);
42삭제: assert!(events.len() <= DEFAULT_CAPACITY);
43삭제: assert_eq!(
44삭제: terminal.outcome.validate(&mut receiver),
45삭제: Ok(core::Delivery::Accepted)
46삭제: );
47삭제: assert!(matches!(task.poll_join(), Some(Ok(None))));
48삭제: }
49삭제:
50삭제: #[test]
51삭제: fn zip_default_queue_fits_without_ui_drain() {
52삭제: fixture_without_draining(Action::Zip);
53삭제: }
54삭제: #[test]
55삭제: fn ustar_default_queue_fits_without_ui_drain() {
56삭제: fixture_without_draining(Action::Ustar);
57삭제: }
58삭제: #[test]
59삭제: fn gzip_default_queue_fits_without_ui_drain() {
60삭제: fixture_without_draining(Action::Gzip);
61삭제: }
62삭제:
63삭제: #[test]
64삭제: fn full_queue_is_transport_failure_not_user_cancel() {
65삭제: let mut c = Controller::default();
66삭제: assert!(c.start_with(Action::Gzip, 0));
67삭제: finish(c.task.as_ref().unwrap());
68삭제: c.poll();
69삭제: assert_eq!(c.status, Status::DeliveryFailure);
70삭제: assert_eq!(
71삭제: c.terminal.as_ref().unwrap().delivery.unwrap().kind,
72삭제: DeliveryKind::Full
73삭제: );
74삭제: assert!(c.rows().is_empty());
75삭제: assert!(c.selected_bytes().is_none());
76삭제: }
77삭제:
78삭제: #[test]
79삭제: fn disconnected_progress_preserves_first_missing_sequence() {
80삭제: let (sender, receiver) = mpsc::sync_channel(2);
81삭제: drop(receiver);
82삭제: let mut transport = Transport::new(sender);
83삭제: assert_eq!(
84삭제: transport.forward(7, 1, Ok(()), || "delivery"),
85삭제: Err("delivery")
86삭제: );
87삭제: assert_eq!(transport.fault.unwrap().kind, DeliveryKind::Disconnected);
88삭제: assert_eq!(transport.fault.unwrap().first_missing_sequence, 7);
89삭제: let _ = transport.forward(8, 2, Ok(()), || "delivery");
90삭제: assert_eq!(transport.fault.unwrap().first_missing_sequence, 7);
91삭제: }
92삭제:
93삭제: #[test]
94삭제: fn original_observer_error_beats_full_queue() {
95삭제: let (sender, _receiver) = mpsc::sync_channel(0);
96삭제: let mut transport = Transport::new(sender);
97삭제: let cause = Box::new(47);
98삭제: let identity = &*cause as *const i32;
99삭제: let actual = transport
100삭제: .forward(0, 1, Err(cause), || Box::new(99))
101삭제: .unwrap_err();
102삭제: assert_eq!(&*actual as *const i32, identity);
103삭제: assert_eq!(transport.fault.unwrap().kind, DeliveryKind::Full);
104삭제: }
105삭제:
106삭제: #[test]
107삭제: fn original_observer_error_beats_disconnected_queue() {
108삭제: let (sender, receiver) = mpsc::sync_channel(1);
109삭제: drop(receiver);
110삭제: let mut transport = Transport::new(sender);
111삭제: assert_eq!(
112삭제: transport.forward(0, 1, Err("original"), || "delivery"),
113삭제: Err("original")
114삭제: );
115삭제: assert_eq!(transport.fault.unwrap().kind, DeliveryKind::Disconnected);
116삭제: }
117삭제:
118삭제: #[test]
119삭제: fn original_observer_error_still_delivers_its_raw_event_when_possible() {
120삭제: let (sender, receiver) = mpsc::sync_channel(1);
121삭제: let mut transport = Transport::new(sender);
122삭제: assert_eq!(
123삭제: transport.forward(3, 47, Err("original"), || "delivery"),
124삭제: Err("original")
125삭제: );
126삭제: assert_eq!(receiver.try_recv(), Ok(47));
127삭제: assert!(transport.fault.is_none());
128삭제: }
129삭제:
130삭제: #[test]
131삭제: fn completion_receiver_loss_recovers_payload_from_join() {
132삭제: let (release, gate) = mpsc::sync_channel(1);
133삭제: let mut task = Task::spawn_with(DEFAULT_CAPACITY, move |op, sender| {
134삭제: gate.recv_timeout(Duration::from_secs(5)).unwrap();
135삭제: runtime::execute(op, Action::Gzip, sender)
136삭제: })
137삭제: .unwrap();
138삭제: task.completion.take();
139삭제: release.try_send(()).unwrap();
140삭제: finish(&task);
141삭제: let completion = task.poll_join().unwrap().unwrap().unwrap();
142삭제: assert!(completion.outcome.is_ok());
143삭제: if let runtime::Outcome::Gzip(t) = completion.outcome {
144삭제: assert_eq!(
145삭제: t.into_result().unwrap().into_inner().bytes.unwrap(),
146삭제: runtime::PAYLOAD
147삭제: );
148삭제: } else {
149삭제: panic!();
150삭제: }
151삭제: assert!(task.poll_join().is_none());
152삭제: }
153삭제:
154삭제: #[test]
155삭제: fn full_completion_channel_returns_ownership_instead_of_dropping() {
156삭제: let (sender, _receiver) = mpsc::sync_channel(0);
157삭제: let (op, _) = core::Operation::start().unwrap();
158삭제: let (progress, _events) = mpsc::sync_channel(DEFAULT_CAPACITY);
159삭제: let terminal = runtime::execute(op, Action::Gzip, progress);
160삭제: let recovered = runtime::deliver_completion(&sender, terminal).unwrap();
161삭제: assert!(recovered.outcome.is_ok());
162삭제: }
163삭제:
164삭제: #[test]
165삭제: fn progress_gap_keeps_real_terminal_but_cannot_apply_payload() {
166삭제: let mut c = Controller::default();
167삭제: assert!(c.start_with(Action::Gzip, 0));
168삭제: complete(&mut c);
169삭제: assert!(c.terminal.is_some());
170삭제: assert_eq!(
171삭제: c.delivery_error,
172삭제: Some(core::DeliveryError::Sequence {
173삭제: expected: 0,
174삭제: received: 1
175삭제: })
176삭제: );
177삭제: assert_eq!(c.status, Status::DeliveryFailure);
178삭제: assert!(c.rows().is_empty());
179삭제: }
180삭제:
181삭제: #[test]
182삭제: fn thread_panic_is_joined_without_synthesized_terminal() {
183삭제: let mut c = Controller::default();
184삭제: c.task = Some(Task::spawn_with(DEFAULT_CAPACITY, |_, _| panic!("합성 panic")).unwrap());
185삭제: complete(&mut c);
186삭제: assert_eq!(c.status, Status::Panicked);
187삭제: assert!(c.panic.is_some());
188삭제: assert!(c.terminal.is_none());
189삭제: assert!(c.task.as_ref().unwrap().joined());
190삭제: }
191삭제:
192삭제: #[test]
193삭제: fn cancellation_before_work_returns_real_cancelled_result() {
194삭제: let (op, cancel) = core::Operation::start().unwrap();
195삭제: cancel.request();
196삭제: let (sender, _events) = mpsc::sync_channel(DEFAULT_CAPACITY);
197삭제: let terminal = runtime::execute(op, Action::Gzip, sender);
198삭제: assert!(terminal.outcome.cancelled());
199삭제: assert!(terminal.delivery.is_none());
200삭제: }
201삭제:
202삭제: #[test]
203삭제: fn cancellation_after_terminal_does_not_rewrite_success() {
204삭제: let (op, cancel) = core::Operation::start().unwrap();
205삭제: let (sender, _events) = mpsc::sync_channel(DEFAULT_CAPACITY);
206삭제: let terminal = runtime::execute(op, Action::Gzip, sender);
207삭제: cancel.request();
208삭제: assert!(terminal.outcome.is_ok());
209삭제: assert!(!terminal.outcome.cancelled());
210삭제: }
211삭제:
212삭제: #[test]
213삭제: fn repeated_start_is_rejected_until_join_even_if_thread_finished() {
214삭제: let mut c = Controller::default();
215삭제: assert!(c.start(Action::Gzip));
216삭제: let id = c.task.as_ref().unwrap().id;
217삭제: assert!(!c.start(Action::Zip));
218삭제: finish(c.task.as_ref().unwrap());
219삭제: assert!(!c.start(Action::Zip));
220삭제: assert_eq!(c.task.as_ref().unwrap().id, id);
221삭제: c.poll();
222삭제: assert!(c.start(Action::Zip));
223삭제: complete(&mut c);
224삭제: }
225삭제:
226삭제: #[test]
227삭제: fn repeated_cancel_sets_request_once() {
228삭제: let mut c = Controller::default();
229삭제: assert!(c.start(Action::Gzip));
230삭제: assert!(c.cancel());
231삭제: assert!(!c.cancel());
232삭제: complete(&mut c);
233삭제: }
234삭제:
235삭제: #[test]
236삭제: fn close_confirmation_does_not_cancel_and_can_be_retracted() {
237삭제: let mut c = Controller::default();
238삭제: assert!(c.start(Action::Gzip));
239삭제: c.request_close();
240삭제: assert_eq!(c.close, CloseState::Confirming);
241삭제: assert!(!c.task.as_ref().unwrap().cancellation.is_requested());
242삭제: c.keep_open();
243삭제: assert_eq!(c.close, CloseState::Open);
244삭제: complete(&mut c);
245삭제: }
246삭제:
247삭제: #[test]
248삭제: fn close_cancel_retraction_keeps_existing_cancel_request() {
249삭제: let mut c = Controller::default();
250삭제: assert!(c.start(Action::Gzip));
251삭제: c.request_close();
252삭제: c.confirm_close();
253삭제: assert_eq!(c.close, CloseState::Waiting);
254삭제: c.keep_open();
255삭제: assert_eq!(c.close, CloseState::Open);
256삭제: assert!(c.task.as_ref().unwrap().cancellation.is_requested());
257삭제: complete(&mut c);
258삭제: assert_eq!(c.close, CloseState::Open);
259삭제: }
260삭제:
261삭제: #[test]
262삭제: fn close_waits_for_join_and_preserves_terminal() {
263삭제: let mut c = Controller::default();
264삭제: assert!(c.start(Action::Gzip));
265삭제: c.request_close();
266삭제: c.confirm_close();
267삭제: assert_eq!(c.close, CloseState::Waiting);
268삭제: assert!(!c.start(Action::Zip));
269삭제: complete(&mut c);
270삭제: assert_eq!(c.close, CloseState::Allowed);
271삭제: assert!(c.terminal.is_some());
272삭제: assert!(c.task.as_ref().unwrap().joined());
273삭제: }
274삭제:
275삭제: #[test]
276삭제: fn completed_during_confirmation_still_requires_choice() {
277삭제: let mut c = Controller::default();
278삭제: assert!(c.start(Action::Gzip));
279삭제: c.request_close();
280삭제: complete(&mut c);
281삭제: assert_eq!(c.close, CloseState::Confirming);
282삭제: c.confirm_close();
283삭제: c.poll();
284삭제: assert_eq!(c.close, CloseState::Allowed);
285삭제: }
286삭제:
287삭제: #[test]
288삭제: fn atomic_generation_replacement_rejects_old_selection() {
289삭제: let mut c = Controller::default();
290삭제: assert!(c.start(Action::Ustar));
291삭제: complete(&mut c);
292삭제: assert_eq!(c.status, Status::Completed);
293삭제: let id = c.task.as_ref().unwrap().id;
294삭제: let generation = c.generation;
295삭제: assert!(c.select(id, generation, 0));
296삭제: assert_eq!(c.selected_bytes(), Some(runtime::PAYLOAD));
297삭제: assert!(c.start(Action::Gzip));
298삭제: assert!(c.selected.is_none());
299삭제: assert!(c.terminal.is_none());
300삭제: assert!(!c.select(id, generation, 0));
301삭제: complete(&mut c);
302삭제: }
303삭제:
304삭제: #[test]
305삭제: fn ustar_exact_ids_and_content_limitation_are_retained() {
306삭제: let mut c = Controller::default();
307삭제: assert!(c.start(Action::Ustar));
308삭제: complete(&mut c);
309삭제: assert_eq!(c.rows(), vec!["자료.txt", "empty.txt"]);
310삭제: if let runtime::Outcome::Ustar(t) = &c.terminal.as_ref().unwrap().outcome {
311삭제: assert_eq!(
312삭제: t.result().unwrap().value().content_verification,
313삭제: core::ustar::ContentVerification::Unavailable
314삭제: );
315삭제: assert_eq!(t.result().unwrap().value().files.len(), 2);
316삭제: } else {
317삭제: panic!();
318삭제: }
319삭제: }
320삭제:
321삭제: #[test]
322삭제: fn error_retry_uses_new_operation_and_clears_previous_payload() {
323삭제: let mut c = Controller::default();
324삭제: assert!(c.start(Action::InvalidGzip));
325삭제: complete(&mut c);
326삭제: assert_eq!(c.status, Status::NativeFailure);
327삭제: let old = c.task.as_ref().unwrap().id;
328삭제: assert!(c.start(Action::Gzip));
329삭제: assert_ne!(c.task.as_ref().unwrap().id, old);
330삭제: complete(&mut c);
331삭제: assert_eq!(c.status, Status::Completed);
332삭제: }
333삭제:
334삭제: #[test]
335삭제: fn headless_values_satisfy_thread_transfer_bounds() {
336삭제: fn send<T: Send + 'static>() {}
337삭제: send::<Task>();
338삭제: send::<runtime::Completion>();
339삭제: send::<runtime::ProgressEvent>();
340삭제: }
341삭제:
342삭제: #[test]
343삭제: fn oversized_queue_is_rejected_without_spawning() {
344삭제: assert!(Task::spawn(Action::Zip, DEFAULT_CAPACITY + 1).is_err());
345삭제: }
346삭제:
347삭제: #[test]
348삭제: fn gzip_preview_preserves_original_bytes() {
349삭제: let mut c = Controller::default();
350삭제: assert!(c.start(Action::Gzip));
351삭제: complete(&mut c);
352삭제: assert!(c.select(c.task.as_ref().unwrap().id, c.generation, 0));
353삭제: assert_eq!(c.selected_bytes(), Some(runtime::PAYLOAD));
354삭제: assert_eq!(c.preview().as_bytes(), runtime::PAYLOAD);
355삭제: }
356삭제:
357삭제: #[test]
358삭제: fn ui_event_wrapper_excludes_old_operation_before_current_sequence() {
359삭제: let (old, _) = core::Operation::start().unwrap();
360삭제: let (sender, events) = mpsc::sync_channel(DEFAULT_CAPACITY);
361삭제: let old_result = runtime::execute(old, Action::Gzip, sender);
362삭제: let (current, _) = core::Operation::start().unwrap();
363삭제: let mut receiver = core::Receiver::new(current.id());
364삭제: for event in events.try_iter() {
365삭제: assert_eq!(
366삭제: event.validate(&mut receiver),
367삭제: Ok(core::Delivery::IgnoredStale)
368삭제: );
369삭제: }
370삭제: assert_eq!(
371삭제: old_result.outcome.validate(&mut receiver),
372삭제: Ok(core::Delivery::IgnoredStale)
373삭제: );
374삭제: let (sender, events) = mpsc::sync_channel(DEFAULT_CAPACITY);
375삭제: let result = runtime::execute(current, Action::Gzip, sender);
376삭제: for event in events.try_iter() {
377삭제: assert_eq!(event.validate(&mut receiver), Ok(core::Delivery::Accepted));
378삭제: }
379삭제: assert_eq!(
380삭제: result.outcome.validate(&mut receiver),
381삭제: Ok(core::Delivery::Accepted)
382삭제: );
383삭제: }
384삭제:
385삭제: #[test]
386삭제: fn native_gzip_callback_error_survives_simultaneous_queue_full() {
387삭제: let (operation, cancel) = core::Operation::start().unwrap();
388삭제: let (sender, _events) = mpsc::sync_channel(0);
389삭제: let mut transport = Transport::new(sender);
390삭제: let mut budget = core::gzip::Budget::new(core::gzip::Limits::default()).unwrap();
391삭제: let terminal = operation.gzip(
392삭제: core::gzip::Request {
393삭제: input: runtime::GZIP.into(),
394삭제: selected: true,
395삭제: },
396삭제: &mut budget,
397삭제: |event| {
398삭제: cancel.request();
399삭제: transport.forward(
400삭제: event.stamp().sequence(),
401삭제: runtime::ProgressEvent::Gzip(event),
402삭제: Err(core::gzip::Stop::Callback(runtime::CallbackFailure(
403삭제: "original",
404삭제: ))),
405삭제: || core::gzip::Stop::Cancelled,
406삭제: )
407삭제: },
408삭제: );
409삭제: assert!(matches!(
410삭제: terminal.result(),
411삭제: Err(core::Failure {
412삭제: native: Some(core::gzip::Error::Callback(runtime::CallbackFailure(
413삭제: "original"
414삭제: ))),
415삭제: ..
416삭제: })
417삭제: ));
418삭제: assert_eq!(transport.fault.unwrap().kind, DeliveryKind::Full);
419삭제: assert!(terminal.cancellation_requested());
420삭제: assert!(!terminal.cancellation_forwarded());
421삭제: }
422삭제:
423삭제: #[test]
424삭제: fn controller_rejects_real_foreign_terminal_without_applying_payload() {
425삭제: let (foreign, _) = core::Operation::start().unwrap();
426삭제: let (sender, _events) = mpsc::sync_channel(DEFAULT_CAPACITY);
427삭제: let foreign_terminal = runtime::execute(foreign, Action::Gzip, sender);
428삭제: assert!(foreign_terminal.outcome.is_ok());
429삭제: let mut c = Controller::default();
430삭제: assert!(c.start(Action::Gzip));
431삭제: finish(c.task.as_ref().unwrap());
432삭제: c.terminal = Some(foreign_terminal);
433삭제: c.poll();
434삭제: assert_eq!(c.terminal_delivery, Some(core::Delivery::IgnoredStale));
435삭제: assert_eq!(c.status, Status::DeliveryFailure);
436삭제: assert!(c.rows().is_empty());
437삭제: assert!(!c.select(c.task.as_ref().unwrap().id, c.generation, 0));
438삭제: assert!(c.selected_bytes().is_none());
439삭제: assert!(c.terminal.as_ref().unwrap().outcome.is_ok());
440삭제: assert!(c.task.as_ref().unwrap().joined());
441삭제: }
442삭제:
443삭제: #[test]
444삭제: fn joined_task_without_received_terminal_is_delivery_failure() {
445삭제: let mut c = Controller::default();
446삭제: assert!(c.start(Action::Gzip));
447삭제: finish(c.task.as_ref().unwrap());
448삭제: let withheld = c
449삭제: .task
450삭제: .as_ref()
451삭제: .unwrap()
452삭제: .completion
453삭제: .as_ref()
454삭제: .unwrap()
455삭제: .try_recv()
456삭제: .unwrap();
457삭제: assert!(withheld.outcome.is_ok());
458삭제: c.poll();
459삭제: assert_eq!(c.status, Status::DeliveryFailure);
460삭제: assert!(c.terminal.is_none());
461삭제: assert!(c.terminal_delivery.is_none());
462삭제: assert!(c.rows().is_empty());
463삭제: assert!(c.selected_bytes().is_none());
464삭제: }
465삭제:
466삭제: #[test]
467삭제: fn normal_frame_controls_retain_running_handle_until_explicit_join() {
468삭제: use std::sync::{
469삭제: Arc,
470삭제: atomic::{AtomicBool, Ordering},
471삭제: };
472삭제: struct RunningProbe(Arc<AtomicBool>);
473삭제: impl Drop for RunningProbe {
474삭제: fn drop(&mut self) {
475삭제: self.0.store(true, Ordering::SeqCst);
476삭제: }
477삭제: }
478삭제: let dropped = Arc::new(AtomicBool::new(false));
479삭제: let worker_probe = dropped.clone();
480삭제: let (ready, entered) = mpsc::sync_channel(1);
481삭제: let (release, gate) = mpsc::sync_channel(1);
482삭제: let task = Task::spawn_with(DEFAULT_CAPACITY, move |_, _| {
483삭제: let _probe = RunningProbe(worker_probe);
484삭제: ready.try_send(()).unwrap();
485삭제: gate.recv_timeout(Duration::from_secs(5)).unwrap();
486삭제: panic!("수명 회귀의 종료 경로");
487삭제: })
488삭제: .unwrap();
489삭제: entered.recv_timeout(Duration::from_secs(5)).unwrap();
490삭제: let id = task.id;
491삭제: let mut c = Controller::default();
492삭제: c.task = Some(task);
493삭제: c.poll();
494삭제: assert!(!c.start(Action::Zip));
495삭제: assert!(c.cancel());
496삭제: c.request_close();
497삭제: c.confirm_close();
498삭제: assert_eq!(c.close, CloseState::Waiting);
499삭제: c.poll();
500삭제: c.keep_open();
501삭제: c.poll();
502삭제: assert!(c.busy());
503삭제: assert_eq!(c.task.as_ref().unwrap().id, id);
504삭제: assert!(!c.task.as_ref().unwrap().joined());
505삭제: assert!(!dropped.load(Ordering::SeqCst));
506삭제: release.try_send(()).unwrap();
507삭제: finish(c.task.as_ref().unwrap());
508삭제: c.poll();
509삭제: assert!(dropped.load(Ordering::SeqCst));
510삭제: assert!(c.task.as_ref().unwrap().joined());
511삭제: assert_eq!(c.status, Status::Panicked);
512삭제: assert_eq!(c.close, CloseState::Open);
513삭제: }
삭제tests/rust-ui-memory-app/sources.json+0-350
@@ -1,350 +0,0 @@
1삭제: {
2삭제: "source_head": "23b8d1c615f24f42469138fcc63e7fce7cda4f24",
3삭제: "files": [
4삭제: {
5삭제: "path": "experiments/rust-app-core-memory/Cargo.lock",
6삭제: "sha256": "a96a436875a8365e5b7e8f837a02df818b400790615076b83903f12c3ad7116e",
7삭제: "git_blob": "37b438af0cb4997dc0e9745e3985e77e31dbb3d0"
8삭제: },
9삭제: {
10삭제: "path": "experiments/rust-app-core-memory/Cargo.toml",
11삭제: "sha256": "d47e6b080a13005dd3c195f64d42f581bbc2050062ca4396fc41e32317a76c98",
12삭제: "git_blob": "625f39eb96a492a2f4673b1e9065f6331e73a3e9"
13삭제: },
14삭제: {
15삭제: "path": "experiments/rust-app-core-memory/LICENSE",
16삭제: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62",
17삭제: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc"
18삭제: },
19삭제: {
20삭제: "path": "experiments/rust-app-core-memory/SHA256SUMS",
21삭제: "sha256": "13afa3d9bf53fd5a1c69af085842b722953dd36de1d63d305fea93bf78580b8d",
22삭제: "git_blob": "526e870c3e8667de26bbb3ad408521cb33df22e9"
23삭제: },
24삭제: {
25삭제: "path": "experiments/rust-app-core-memory/THIRD-PARTY-NOTICES.txt",
26삭제: "sha256": "b6ee40e53b19b59bdcc9464ecd759364264ee5ce9c320cf5616d0f656ec1df68",
27삭제: "git_blob": "951447a0637ecc008123dbc2e8a8743741144d83"
28삭제: },
29삭제: {
30삭제: "path": "experiments/rust-app-core-memory/contract.json",
31삭제: "sha256": "beffc5271a3355b8ef784d3d15179f4172d2af5c2dc71c1072ae4673e2971c3f",
32삭제: "git_blob": "716afdb8b471ef0e5403ba9a5c4a25f9a01e70e5"
33삭제: },
34삭제: {
35삭제: "path": "experiments/rust-app-core-memory/dependencies.json",
36삭제: "sha256": "39294cd19d2eb2ad02cf034e527c690348ca07492986b05000d11a053b6aa7e1",
37삭제: "git_blob": "3e550f1fbc0331f27972a3cafd412d87cf11611d"
38삭제: },
39삭제: {
40삭제: "path": "experiments/rust-app-core-memory/sources.json",
41삭제: "sha256": "a1d536e851130f37fb02c1269cebe8933e43fecf30403da8978e0726746ac15e",
42삭제: "git_blob": "74a3dec78cc76fe45aa7822e07549ec130657604"
43삭제: },
44삭제: {
45삭제: "path": "experiments/rust-app-core-memory/src/lib.rs",
46삭제: "sha256": "2540ab5f801d78f27e4d2a0a751f15378863ba5b14a4d564b3be4dc996cb7571",
47삭제: "git_blob": "3bea6de7efe5657614a4747f2b071abe35de21d9"
48삭제: },
49삭제: {
50삭제: "path": "experiments/rust-memory-gzip-reader/Cargo.lock",
51삭제: "sha256": "511197f27b89d37c86f82ae1e8dda4229a3e5082ede9274efe8480df6e650d24",
52삭제: "git_blob": "a638f9b00ea1d76a99ccd93ea465ef9df4163c7a"
53삭제: },
54삭제: {
55삭제: "path": "experiments/rust-memory-gzip-reader/Cargo.toml",
56삭제: "sha256": "ae76aededbb85cdd6c9227b4c06a1c8fef1bb7f203f1703e787b68f30ccfab6a",
57삭제: "git_blob": "1b1b77e23d39cde1f05e55f73b62f68cf77dd9c6"
58삭제: },
59삭제: {
60삭제: "path": "experiments/rust-memory-gzip-reader/LICENSE",
61삭제: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62",
62삭제: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc"
63삭제: },
64삭제: {
65삭제: "path": "experiments/rust-memory-gzip-reader/SHA256SUMS",
66삭제: "sha256": "13e41e7d8ce2442cd8d93b1229211a5257e0568acc3466d5f9ec37f03c72a736",
67삭제: "git_blob": "e248c4827c2fb2e82a5e92f80deb0d744209c65c"
68삭제: },
69삭제: {
70삭제: "path": "experiments/rust-memory-gzip-reader/THIRD-PARTY-NOTICES.txt",
71삭제: "sha256": "655ad3bee8c41a593c2b00cbb0a12be11e7246c41dda00319c223dd3f904910e",
72삭제: "git_blob": "f56aa8d736e78465701ac62fa5ad26d4d7dc05c9"
73삭제: },
74삭제: {
75삭제: "path": "experiments/rust-memory-gzip-reader/contract.json",
76삭제: "sha256": "1346c0b6f0ce5221acb9aef5067b0169e08ea6752f4db41a8b9c36b10ef9b43b",
77삭제: "git_blob": "02729ca349d5629b1a9fcd7040441db2e2660065"
78삭제: },
79삭제: {
80삭제: "path": "experiments/rust-memory-gzip-reader/dependencies.json",
81삭제: "sha256": "3f71220451f8cd55dafdb6e6ae901572ec7bbe1be9c93d78953b44244aec6b07",
82삭제: "git_blob": "bf9da9b737d9d574d5e31fb8343f844b61e4c192"
83삭제: },
84삭제: {
85삭제: "path": "experiments/rust-memory-gzip-reader/src/budget.rs",
86삭제: "sha256": "b0d0b891a048712baba2038b8439d809a0359638f390b806f88496733753d61c",
87삭제: "git_blob": "0fa6fd1cdb541896540b7003168e5db71c11cb4b"
88삭제: },
89삭제: {
90삭제: "path": "experiments/rust-memory-gzip-reader/src/lib.rs",
91삭제: "sha256": "a865a114fdb9d79b66226387b9f0e3fa601aad29cfe65ab443c946d6cbd74062",
92삭제: "git_blob": "1811dfc7ec0917da607727e7942b5a268ac7330a"
93삭제: },
94삭제: {
95삭제: "path": "experiments/rust-memory-ustar-reader/Cargo.lock",
96삭제: "sha256": "2a5d774e8cd96caa426d2d97d9c112062a57c156a026ae588932bced0af015ae",
97삭제: "git_blob": "4016006d7b01deb8efebff0e1d44218a0dd4b376"
98삭제: },
99삭제: {
100삭제: "path": "experiments/rust-memory-ustar-reader/Cargo.toml",
101삭제: "sha256": "08f2cb43c2f541c4420deab0c6097ce732cd7ca6e32f9895c9cbc48dc7722734",
102삭제: "git_blob": "42de96e4aa4c89a243ad988fa7a7f724ff70dc01"
103삭제: },
104삭제: {
105삭제: "path": "experiments/rust-memory-ustar-reader/LICENSE",
106삭제: "sha256": "0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62",
107삭제: "git_blob": "5014abac33298592fd3450b51a9b414191e1aabc"
108삭제: },
109삭제: {
110삭제: "path": "experiments/rust-memory-ustar-reader/SHA256SUMS",
111삭제: "sha256": "a7cf6f6ad510173bf9ccbf0245ad20fd06cad08bcab4cc601031006e95305d28",
112삭제: "git_blob": "b8868532047fb561fc9fc987b1cbbb9c8daab298"
113삭제: },
114삭제: {
115삭제: "path": "experiments/rust-memory-ustar-reader/THIRD-PARTY-NOTICES.txt",
116삭제: "sha256": "e4d82397ea8ad7780bfcf97344548f2a7784e2ae6384441e54193b351bf8dad6",
117삭제: "git_blob": "8540c10d9c03253ce1ed31142fe98229ab6d90cf"
118삭제: },
119삭제: {
120삭제: "path": "experiments/rust-memory-ustar-reader/contract.json",
121삭제: "sha256": "21cb673b63a14af1641406d8adb20cfcfd47adfad1ce15ff3c7c2d9840077b06",
122삭제: "git_blob": "8ae86c21671984209bc30973605d61327259aa16"
123삭제: },
124삭제: {
125삭제: "path": "experiments/rust-memory-ustar-reader/dependencies.json",
126삭제: "sha256": "7c793eb80dbc167fddc8c0660123507fc80c6ebb763cbd06821f6b95735b9271",
127삭제: "git_blob": "f9d8b8d2f82f758894ad2698c50107b2341fb183"
128삭제: },
129삭제: {
130삭제: "path": "experiments/rust-memory-ustar-reader/src/budget.rs",
131삭제: "sha256": "5d511a2519ed26e0fa8fb84b2d8cc0479679e9c3b5815a3c0e20790a283c923e",
132삭제: "git_blob": "1eab0733b90b66fc12b5db2931fb7dcb08d80c13"
133삭제: },
134삭제: {
135삭제: "path": "experiments/rust-memory-ustar-reader/src/header.rs",
136삭제: "sha256": "263c2a610d522c0f5bf24ceef14be184735b4858a40277963252bae439d4112e",
137삭제: "git_blob": "d278d372076b40715c6f73e1f0c67b54293566ca"
138삭제: },
139삭제: {
140삭제: "path": "experiments/rust-memory-ustar-reader/src/lib.rs",
141삭제: "sha256": "9b57f771c1d89ffc74aea604d7f3476202ad62914c91a5246802706294e5bfcd",
142삭제: "git_blob": "ce8e3b751a53a66f5d0cfaab15ffdeea92fae98f"
143삭제: },
144삭제: {
145삭제: "path": "experiments/rust-memory-zip-create/Cargo.lock",
146삭제: "sha256": "bb094be9b047cc7a9100492e1e7aa69ddbbc2a3d8bf2c4e8eaa49024160fd2c3",
147삭제: "git_blob": "aed6fe07391fce292edebb5206f98a617d2c4376"
148삭제: },
149삭제: {
150삭제: "path": "experiments/rust-memory-zip-create/Cargo.toml",
151삭제: "sha256": "c8483ab032ce94e35ba84b56a4b127e669358f7e9f9b945b3ba60b472ab87b0e",
152삭제: "git_blob": "899e96fbbd98053ff521d7f29aa2b682fccafb08"
153삭제: },
154삭제: {
155삭제: "path": "experiments/rust-memory-zip-create/SHA256SUMS",
156삭제: "sha256": "c4d5651a956429a97e830906c132b537dca6e1c7c491f8148cbdd27d1cb63469",
157삭제: "git_blob": "b6738fe846fa737f5cacd53147a1492e917b73d5"
158삭제: },
159삭제: {
160삭제: "path": "experiments/rust-memory-zip-create/contract.json",
161삭제: "sha256": "d3fc6cc43fa7f70f0a6cfb5e441348a3c011dac8d8e08b3061c0df5fce8e9206",
162삭제: "git_blob": "6be643ca9603b688f705eae172bb276d4afff35a"
163삭제: },
164삭제: {
165삭제: "path": "experiments/rust-memory-zip-create/src/lib.rs",
166삭제: "sha256": "3b2019fd963600155fd4dc01f55fef7f3e5c8ceec944a36597de984d5a8b7e8b",
167삭제: "git_blob": "08cea1778ec21e4403f752901de9bfc7fa1ee8c9"
168삭제: },
169삭제: {
170삭제: "path": "experiments/rust-memory-zip-create/src/storage.rs",
171삭제: "sha256": "1f81f5b1830eaf5f5e5e510841e10f3dd692f6d310a1871ce46fe4445dff9706",
172삭제: "git_blob": "1b61dd18f5e41e86ffdde752fc6ebc828a2c1b8c"
173삭제: },
174삭제: {
175삭제: "path": "tests/rust-memory-gzip-reader/Cargo.lock",
176삭제: "sha256": "5932825be6b65fda2dc957a18992db63673e6eecdd55853fb743c133f359262c",
177삭제: "git_blob": "46a7653b949febc573a3429aa7811b8c34508dc6"
178삭제: },
179삭제: {
180삭제: "path": "tests/rust-memory-gzip-reader/Cargo.toml",
181삭제: "sha256": "2e8476195852aaec340015755ecb37ef8fa65d5ba375f8c7a60e3b8d0643ed1e",
182삭제: "git_blob": "b803e4a1c2495736b3758e4d993e40a86ef7f50d"
183삭제: },
184삭제: {
185삭제: "path": "tests/rust-memory-gzip-reader/SHA256SUMS",
186삭제: "sha256": "1633895d78cca4c38f63c6efdf164d2c2d5ca1561c7eeb87dc5144159f05fd77",
187삭제: "git_blob": "cb0292aab9f320eca2fd4b3395c10f84ca898ff6"
188삭제: },
189삭제: {
190삭제: "path": "tests/rust-memory-gzip-reader/budgets.rs",
191삭제: "sha256": "d1b5132d656d514d73ac0f510991fab70d0c8783b9a10bf6314149a6d7a3649c",
192삭제: "git_blob": "0ec6e8818c277600841f4f37d069a5acce1c306e"
193삭제: },
194삭제: {
195삭제: "path": "tests/rust-memory-gzip-reader/checkpoints.rs",
196삭제: "sha256": "6e995ed0edf29c0b4f513ddb0a9e56b427cefbd58e78351674ad0e4ee490de74",
197삭제: "git_blob": "5fa98cc9affaa4554562308663716ea5b2841636"
198삭제: },
199삭제: {
200삭제: "path": "tests/rust-memory-gzip-reader/contract.json",
201삭제: "sha256": "aa6640e76fd821168afe6e78ae6f29aed27514a4100b5abab8054625d7aef79b",
202삭제: "git_blob": "c6d4feae43bd9e67ffd1009b3b0dff653f7952ff"
203삭제: },
204삭제: {
205삭제: "path": "tests/rust-memory-gzip-reader/fixtures.hex",
206삭제: "sha256": "e0768b8c44a7e6586bc423eea561da49eecbf5114130d88992b2c6c5893ae355",
207삭제: "git_blob": "80e41d988d8d13c45b54d640468ca4939e84d7fa"
208삭제: },
209삭제: {
210삭제: "path": "tests/rust-memory-gzip-reader/fixtures.json",
211삭제: "sha256": "329cbac0a9b5b064ef1db4c59d83860c97a6d2819e4659405b75e17bdc82b45d",
212삭제: "git_blob": "d52a90d943151d7ba2c9dc1da76addccd661e4e4"
213삭제: },
214삭제: {
215삭제: "path": "tests/rust-memory-gzip-reader/format.rs",
216삭제: "sha256": "b5a6c624e9911aa4e818612cc7a868a43313ee1e1c63b6352b8410ed896154c5",
217삭제: "git_blob": "302adf4151f5f5c8100133eab82ad6f5e72003d5"
218삭제: },
219삭제: {
220삭제: "path": "tests/rust-memory-gzip-reader/generate_fixtures.py",
221삭제: "sha256": "1cde1dd2f913820f77458e5accfcdb91aec5a1319e3c0fb2d91fd7e385690831",
222삭제: "git_blob": "e48f324c331e429312c434761b1f40920957ca0d"
223삭제: },
224삭제: {
225삭제: "path": "tests/rust-memory-gzip-reader/main.rs",
226삭제: "sha256": "036865bd2661062ea59d84362fdd747d9ce79d9b78400f12be3bea7703466020",
227삭제: "git_blob": "de62741b5834c691c67a0a606417237d3a45108b"
228삭제: },
229삭제: {
230삭제: "path": "tests/rust-memory-gzip-reader/static_check.py",
231삭제: "sha256": "c37887322e014c6b96c71f0e979856a2be88713af57462e4436697ee7034407e",
232삭제: "git_blob": "74f7ca66d71692e7bec4f690ab6595d5344b0dfb"
233삭제: },
234삭제: {
235삭제: "path": "tests/rust-memory-gzip-reader/static_check_helper_tests.py",
236삭제: "sha256": "de4908b609ddb6789777901875ea224f962a9f96e9f17cd85765bb05d8231beb",
237삭제: "git_blob": "e5ab9c60a4107c6ed21995f35d4b2a695de86e1d"
238삭제: },
239삭제: {
240삭제: "path": "tests/rust-memory-gzip-reader/support.rs",
241삭제: "sha256": "a4d39c7b9b9270eb31fb3e73d9ebd57c9ba78a99b73851944bdd4d645e8d5fc5",
242삭제: "git_blob": "b0a0bd05bc3f7d331fad375cbb0d0eddbd825b48"
243삭제: },
244삭제: {
245삭제: "path": "tests/rust-memory-ustar-reader/Cargo.lock",
246삭제: "sha256": "6e4cce2848f1e4b120b28722fb73956dca7f759419029e299b6c09acc1e0dfc5",
247삭제: "git_blob": "62a03ba78153130ca889b63c7be046264f8ede1f"
248삭제: },
249삭제: {
250삭제: "path": "tests/rust-memory-ustar-reader/Cargo.toml",
251삭제: "sha256": "5a7e53d47ff3c08b5531ed1fed5e574d917ed5b7f8af0a52c8de401ca6bcb792",
252삭제: "git_blob": "1dc8fe5f69638e504c6f88a4ba4f1562b285f39f"
253삭제: },
254삭제: {
255삭제: "path": "tests/rust-memory-ustar-reader/SHA256SUMS",
256삭제: "sha256": "5740d93c2429dc81f9859c6fe29fdac9cf417f8783c07029a1f28a1f3a4d37fe",
257삭제: "git_blob": "0093ed9578bab969ea69bb332d36fb5d980c4846"
258삭제: },
259삭제: {
260삭제: "path": "tests/rust-memory-ustar-reader/budget.rs",
261삭제: "sha256": "c3d80703b31a3e9712509168b0b1d947b985918d40aac6dfa8e4f4c0f31569f3",
262삭제: "git_blob": "60ccf1de5f9f17ec0ad9e569fbe167241ea2472d"
263삭제: },
264삭제: {
265삭제: "path": "tests/rust-memory-ustar-reader/callbacks.rs",
266삭제: "sha256": "fe9f476dbee65e044adc3edd8f58c7a5183ec92b6802e05a0ac010319e0170f4",
267삭제: "git_blob": "3676cc4adda6596d4ea6d14741e70268bded1356"
268삭제: },
269삭제: {
270삭제: "path": "tests/rust-memory-ustar-reader/contract.json",
271삭제: "sha256": "a4e4eb34896295b85dacc22dfa9344eba12854d912e20fc83c7f788b83bbbef9",
272삭제: "git_blob": "08b8b17997818ee2685149f2cc0781cf2da1982a"
273삭제: },
274삭제: {
275삭제: "path": "tests/rust-memory-ustar-reader/format.rs",
276삭제: "sha256": "40934ec14e2e30994170118dbf9350c29a28ef9ae65aa4b10748216a35314c8b",
277삭제: "git_blob": "80eecfd680669804add50ea14195eacd21de3a3e"
278삭제: },
279삭제: {
280삭제: "path": "tests/rust-memory-ustar-reader/main.rs",
281삭제: "sha256": "50714865d7b6e53e0419ca0e26536f62237117b743dc98097912fe453d78c558",
282삭제: "git_blob": "b993568c08adcfd0be8648108432e3e3219961dd"
283삭제: },
284삭제: {
285삭제: "path": "tests/rust-memory-ustar-reader/names.rs",
286삭제: "sha256": "2611bfd6b8ca37bccb6110fbc954b15e810741d453edd6349efc0cdb114180c2",
287삭제: "git_blob": "89c9df6bf935b7084aa24fedd3cd6ccf18307b23"
288삭제: },
289삭제: {
290삭제: "path": "tests/rust-memory-ustar-reader/selection.rs",
291삭제: "sha256": "b62dc7bbefee258dd110632aeff9140d512fb881a7d5edc7054ca31784cd6d99",
292삭제: "git_blob": "e35f28c7c7897bda7270ad4a9f9bb925fd8d2c8e"
293삭제: },
294삭제: {
295삭제: "path": "tests/rust-memory-ustar-reader/static_check.py",
296삭제: "sha256": "e0d113edb4b150be4a5ecb1abb055fab91218461bc168bbf9787041c4fe2f09e",
297삭제: "git_blob": "ebeb48b3c016a57b0e883a4de409c99800a6b2f0"
298삭제: },
299삭제: {
300삭제: "path": "tests/rust-memory-ustar-reader/support.rs",
301삭제: "sha256": "6c30a2c7ce9598f9e89d0f28b6a0512d1abb10462b1777a8c9042f9591c2bae7",
302삭제: "git_blob": "a280942626fab1e193d3d6ed8ca87d139c9b1d4e"
303삭제: },
304삭제: {
305삭제: "path": "tests/rust-memory-zip-create/SHA256SUMS",
306삭제: "sha256": "be63110eb2df851d26a7a6c929d4b0d6c1c1f7d0ddff47de2e3034350fc48b00",
307삭제: "git_blob": "b3fa66b24d8878f42a324df91440f7845dd88aa5"
308삭제: },
309삭제: {
310삭제: "path": "tests/rust-memory-zip-create/api.rs",
311삭제: "sha256": "69239e5ef0c9d78fa5db14ef45cfcc49b8be79ffd68402d98d61173282377ad5",
312삭제: "git_blob": "7f8ff939763613aa35c226e5884085a6965e8c6e"
313삭제: },
314삭제: {
315삭제: "path": "tests/rust-memory-zip-create/contract.json",
316삭제: "sha256": "68ad1c93c78a73bcbecfc5413cdfcabbd70142daf5bc0ac33640e0975b4bfd21",
317삭제: "git_blob": "9d154572a4f76db6ee702d70c7f39923f7af21ff"
318삭제: },
319삭제: {
320삭제: "path": "tests/rust-memory-zip-create/lifecycle.rs",
321삭제: "sha256": "ddb80e1ad74197fe5fd57356a1ff918ee60eeea442eb1997a585d1f9afb9bbc0",
322삭제: "git_blob": "09c271403d06557cf98151929e538ee22dc43921"
323삭제: },
324삭제: {
325삭제: "path": "tests/rust-memory-zip-create/limits.rs",
326삭제: "sha256": "2abd7c04fb7e1b614179d38f9f865e655c8468df3002069c8058f3e84bb1b4e5",
327삭제: "git_blob": "727b74081ebe164942a2a570c5cfa7c18e96d313"
328삭제: },
329삭제: {
330삭제: "path": "tests/rust-memory-zip-create/names.rs",
331삭제: "sha256": "dcd350774e6c597401f70de3bbf32be7f37187ecc6adf3260698346226ee1f11",
332삭제: "git_blob": "7545050d770bb62be53cbd492d2f5d901065fb5f"
333삭제: },
334삭제: {
335삭제: "path": "tests/rust-memory-zip-create/roundtrip.rs",
336삭제: "sha256": "6e9688326e9e31bb8cdedc013bd03d1d656ac3067e341f69d62ba5abed21c21a",
337삭제: "git_blob": "ed0cc4a0aa775c65215cd5f3671b6932ab927094"
338삭제: },
339삭제: {
340삭제: "path": "tests/rust-memory-zip-create/storage.rs",
341삭제: "sha256": "76a63e576d5db521d3b2af179a1251681ddbac5a2f7a62b3015eb75adcda0ee2",
342삭제: "git_blob": "08aefae839d9ede99396062e17d670d8b8ee3efe"
343삭제: },
344삭제: {
345삭제: "path": "tests/rust-memory-zip-create/support.rs",
346삭제: "sha256": "971bdf33eb3e7d5ea64293fd70063e166019a47a229f3900fdcd416af8cdccb5",
347삭제: "git_blob": "a1bba5fd57e8edbe29df6d13c7597583a9e4c3cc"
348삭제: }
349삭제: ]
350삭제: }
삭제tests/rust-ui-memory-app/static_check.py+0-58
@@ -1,58 +0,0 @@
1삭제: import hashlib
2삭제: import json
3삭제: from pathlib import Path, PurePosixPath
4삭제: import re
5삭제: import sys
6삭제:
7삭제: ROOT = Path(__file__).resolve().parents[2]
8삭제: HERE = Path(__file__).resolve().parent
9삭제:
10삭제:
11삭제: def sha(path):
12삭제: return hashlib.sha256(path.read_bytes()).hexdigest()
13삭제:
14삭제:
15삭제: def main():
16삭제: if sys.flags.optimize:
17삭제: raise RuntimeError("최적화 모드에서는 검사할 수 없음")
18삭제: if len(sys.argv) != 2 or re.fullmatch(r"[0-9a-f]{64}", sys.argv[1]) is None:
19삭제: raise ValueError("별도 확인한 manifest SHA256 인수가 필요함")
20삭제: manifest = HERE / "SHA256SUMS"
21삭제: if sha(manifest) != sys.argv[1]:
22삭제: raise ValueError("manifest 기대 hash 불일치")
23삭제: data = manifest.read_bytes()
24삭제: if not data.endswith(b"\n"):
25삭제: raise ValueError("manifest 마지막 줄바꿈 누락")
26삭제: names = set()
27삭제: for row in data.decode("ascii").splitlines():
28삭제: match = re.fullmatch(r"([0-9a-f]{64}) ([A-Za-z0-9_./-]+)", row)
29삭제: if match is None:
30삭제: raise ValueError("잘못된 hash 행")
31삭제: expected, name = match.groups()
32삭제: path = PurePosixPath(name)
33삭제: if path.is_absolute() or str(path) != name or any(x in ("", ".", "..") for x in name.split("/")) or name in names:
34삭제: raise ValueError("잘못된 경로 또는 중복")
35삭제: names.add(name)
36삭제: current = ROOT
37삭제: for part in path.parts:
38삭제: current = current / part
39삭제: if current.is_symlink():
40삭제: raise ValueError("symlink 거부")
41삭제: if sha(current) != expected:
42삭제: raise ValueError("파일 hash 불일치: " + name)
43삭제: expected_names = set(json.loads((HERE / "files.json").read_text()))
44삭제: if names != expected_names:
45삭제: raise ValueError("누락 또는 추가 경로")
46삭제: sources = json.loads((HERE / "sources.json").read_text())
47삭제: for source in sources["files"]:
48삭제: if sha(ROOT / source["path"]) != source["sha256"]:
49삭제: raise ValueError("고정 source 불일치: " + source["path"])
50삭제: contract = json.loads((HERE / "contract.json").read_text())
51삭제: names = re.findall(r"#\[test\]\s*fn (\w+)", (HERE / "regressions.rs").read_text())
52삭제: if len(names) != len(set(names)) or names != contract["validation"]["names"]:
53삭제: raise ValueError("선언된 회귀 이름 불일치")
54삭제: print(json.dumps({"static_files": len(expected_names), "upstream_files": len(sources["files"]), "declared_tests": len(names), "executed_tests": 0}))
55삭제:
56삭제:
57삭제: if __name__ == "__main__":
58삭제: main()
삭제tests/rust-ui-memory-gui-races/Cargo.lock

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-gui-races/Cargo.toml+0-27
@@ -1,27 +0,0 @@
1삭제: [package]
2삭제: name = "zipelo-ui-memory-gui-races"
3삭제: version = "0.1.0"
4삭제: edition = "2024"
5삭제: rust-version = "1.99"
6삭제: license = "MIT"
7삭제: publish = false
8삭제: autotests = false
9삭제:
10삭제: [workspace]
11삭제:
12삭제: [features]
13삭제: default = []
14삭제: gui-race-harness = ["dep:eframe", "dep:wgpu"]
15삭제:
16삭제: [dependencies]
17삭제: core_memory = { package = "zipelo-app-core-memory", path = "../../experiments/rust-app-core-memory" }
18삭제: eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["accesskit", "clipboard", "glow", "system_fonts", "wayland", "x11"] }
19삭제:
20삭제: [[bin]]
21삭제: name = "zipelo-ui-memory-gui-races"
22삭제: path = "main.rs"
23삭제: required-features = ["gui-race-harness"]
24삭제:
25삭제: [target.'cfg(target_os = "windows")'.dependencies]
26삭제: wgpu = { version = "=30.0.1", optional = true, default-features = false, features = ["std", "dx12"] }
27삭제: eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["wgpu_no_default_features"] }
삭제tests/rust-ui-memory-gui-races/LICENSE+0-21
@@ -1,21 +0,0 @@
1삭제: MIT License
2삭제:
3삭제: Copyright (c) 2026 Team-LJY contributors
4삭제:
5삭제: Permission is hereby granted, free of charge, to any person obtaining a copy
6삭제: of this software and associated documentation files (the "Software"), to deal
7삭제: in the Software without restriction, including without limitation the rights
8삭제: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9삭제: copies of the Software, and to permit persons to whom the Software is
10삭제: furnished to do so, subject to the following conditions:
11삭제:
12삭제: The above copyright notice and this permission notice shall be included in all
13삭제: copies or substantial portions of the Software.
14삭제:
15삭제: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16삭제: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17삭제: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18삭제: AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19삭제: LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20삭제: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21삭제: SOFTWARE.
삭제tests/rust-ui-memory-gui-races/SHA256SUMS+0-9
@@ -1,9 +0,0 @@
1삭제: 7f1b2884453156a43154c0a0a5c2cfcb150fb40a325d1c064ebe9418de54b626 tests/rust-ui-memory-gui-races/Cargo.lock
2삭제: f9aebb92b1fdd4fd359618f3143aa2aa16891ec2cda869e26710a3f17621fdb7 tests/rust-ui-memory-gui-races/Cargo.toml
3삭제: 0714945e52a4d5b560c02c9a18478519f8c4e2572cbf87bd6d52adcfb2b63c62 tests/rust-ui-memory-gui-races/LICENSE
4삭제: 0717dcc41542caf63f327f9ef95abed225e9d65a4c8eb063e65b269348ad6c78 tests/rust-ui-memory-gui-races/contract.json
5삭제: 4300c57660aeba8272971d91bdde57f170eac80698aa40c8c03f002dad24c57e tests/rust-ui-memory-gui-races/gates.rs
6삭제: 674c5a602c6dfae1c61cd60d88a4ce34112b8256ed60580fbd04f45754c0310e tests/rust-ui-memory-gui-races/main.rs
7삭제: ab43d1f1b584aa96bff58e4fbd91080cb3d9f62b3dc0f8bd46d8f3257aebaf49 tests/rust-ui-memory-gui-races/run-plan.json
8삭제: 043dce2af89ef57c5c239dda4dd3e815ab44c36dc3c0bdf7222534644b9a32ef tests/rust-ui-memory-gui-races/sources.json
9삭제: 9d9f585e8996c9bf6d80711af79b9c5ab952ad863cd4ff999a88a2a14324cc47 tests/rust-ui-memory-gui-races/static_check.py
삭제tests/rust-ui-memory-gui-races/contract.json+0-95
@@ -1,95 +0,0 @@
1삭제: {
2삭제: "base_head": "cd0a9070332947db043dca65f3d698be354ead0b",
3삭제: "base_tree": "2142dcc29bfaa65eae0f3a750375c27c8110cb91",
4삭제: "branch": "fix/rust-ui-memory-gui-races",
5삭제: "files": [
6삭제: "Cargo.toml",
7삭제: "Cargo.lock",
8삭제: "LICENSE",
9삭제: "main.rs",
10삭제: "gates.rs",
11삭제: "sources.json",
12삭제: "contract.json",
13삭제: "run-plan.json",
14삭제: "static_check.py",
15삭제: "SHA256SUMS"
16삭제: ],
17삭제: "scope": "Xvfb opt-in 시험 화면의 source-only 후보임. 새 Rust test 선언은 0개이며 기존 31/14개 통과와 합산하지 않음. 현재 build/GUI 실행 없음",
18삭제: "rendering": {
19삭제: "app": "원본 app.rs 전체를 original_app 모듈에 include!하고 원본 App::ui를 직접 위임 호출함. 원본 메서드를 복제/변경하지 않음. 원본 main은 호출하지 않음",
20삭제: "assembly": "PR45 assembly.rs를 include!하여 실제 thread/channel/JoinHandle/Receiver를 조립함. extern crate self 별칭으로 원본 App이 시험 crate의 동일 Controller를 사용함",
21삭제: "startup": "원본 한글 font와 type/palette/spacing을 시험 bootstrap에서 설정함. 별도 상단 banner에 시험용/배포 바이너리 검증 아님과 시나리오/장벽을 표시함. 실제 product binary와 다른 실행 파일임",
22삭제: "inputs": "고정 GZip 합성 bytes만 사용함. 원본 화면의 다른 시작 버튼은 busy 동안 원래 로직으로 차단되며 종료 후 다른 작업을 시작하면 harness의 operation guard가 시험 실패로 기록함"
23삭제: },
24삭제: "gates": {
25삭제: "checkpoint": "실제 첫 GZip checkpoint Event를 원본 Transport로 전달한 후 observer 안에서 기다림. GUI의 원본 취소 클릭이 요청한 실제 Cancellation을 observer 반환 뒤 코어가 관측함",
26삭제: "join": "실제 Terminal을 원본 deliver_completion으로 전송한 뒤 thread 반환 전 기다림. 원본 App/Controller가 terminal 수신과 join을 분리하여 표시하는 상태를 관측함",
27삭제: "frame": "GUI는 reached.try_iter와 release.try_send만 사용하며 장벽 recv를 하지 않음. 지속 repaint와 상태변경 로그/frame 번호가 관측 보조임. headless handshake 회귀와 구분함",
28삭제: "timeout_seconds": 60,
29삭제: "overall_ui_deadline_seconds": 180,
30삭제: "timeout": "장벽 timeout/채널 소멸은 fault flag와 실제 panic으로 실패함. 원본 Panicked 처리를 거치되 harness exit 1로 남김. 정상 완료로 바꾸지 않음"
31삭제: },
32삭제: "scenarios": {
33삭제: "cancel": [
34삭제: "Checkpoint에서 취소 요청을 클릭하고 CancelRequested 화면/로그를 기록함",
35삭제: "checkpoint 해제 후 TerminalDelivered에서 terminal=true, joined=false와 원본 취소 대기 상태를 기록함",
36삭제: "join 해제 후 Cancelled/종료 확인을 기록하고 원본 닫기 버튼으로 idle 종료함"
37삭제: ],
38삭제: "retract": [
39삭제: "Checkpoint에서 원본 닫기를 눌러 Confirming 화면과 cancel=false를 기록함",
40삭제: "계속 열기로 철회 후 Open/cancel=false를 기록함",
41삭제: "checkpoint 해제 후 TerminalDelivered/terminal=true/joined=false를 기록함",
42삭제: "join 해제 후 Completed와 payload 행/선택 preview를 기록하고 idle 닫기로 종료함"
43삭제: ],
44삭제: "close": [
45삭제: "Checkpoint에서 원본 닫기와 취소 후 닫기를 눌러 Waiting/cancel=true 화면을 기록함",
46삭제: "checkpoint 해제 후 TerminalDelivered에서도 Waiting/terminal=true/joined=false이며 프로세스가 유지됨을 기록함",
47삭제: "join 해제 후 원본 poll이 Allowed로 전이하고 창/프로세스가 정상 종료함을 확인함"
48삭제: ]
49삭제: },
50삭제: "pass_evidence": "harness exit 0은 joined와 최종 expected status만 검사함. 각 UI 전이 통과는 별도 스크린샷과 동일 operation의 frame 로그/조작 기록이 모두 있어야 함. 마지막 도달/반환 로그만으로 screenshot이나 중간 frame 반환을 합성하지 않음",
51삭제: "dependencies": {
52삭제: "direct": [
53삭제: "core_memory 기존 path",
54삭제: "eframe =0.37.0 기존 동일 features, opt-in optional"
55삭제: ],
56삭제: "default_features": [],
57삭제: "lock": "PR44 GUI Cargo.lock에서 local root package 이름 한 곳만 바꿈. 나머지 모든 registry/의존성 레코드는 원형 보존함",
58삭제: "new_external_packages": 0,
59삭제: "licenses": [
60삭제: "LICENSE",
61삭제: "experiments/rust-ui-memory-app/THIRD-PARTY-NOTICES.txt",
62삭제: "experiments/rust-app-core-memory/THIRD-PARTY-NOTICES.txt",
63삭제: "tests/rust-ui-memory-app/dependencies.json"
64삭제: ]
65삭제: },
66삭제: "limits": [
67삭제: "실제 사용자 display/물리 GPU/IME/전체 접근성/Windows/다른 Ubuntu 검증이 아님",
68삭제: "공개 배포 crate object가 아닌 include 원본의 시험 crate 재컴파일임",
69삭제: "OS 격리 worker/파일 입력/게시/cleanup 증거가 아님",
70삭제: "비정상 owner Drop은 원본 동기 join이므로 blocking할 수 있음. 유한 gate는 시험 입력의 종료 경로이며 production 비선점 작업의 유한 종료를 보장하지 않음",
71삭제: "Xvfb/앱 build와 실행은 고정 source 검토 후 별도 배정임"
72삭제: ],
73삭제: "commands": {
74삭제: "static": "python3 tests/rust-ui-memory-gui-races/static_check.py",
75삭제: "rustfmt": "rustfmt +1.99.1 --edition 2024 --check tests/rust-ui-memory-gui-races/main.rs tests/rust-ui-memory-gui-races/gates.rs",
76삭제: "metadata": "cargo +1.99.1 metadata --locked --offline --manifest-path tests/rust-ui-memory-gui-races/Cargo.toml --features gui-race-harness --filter-platform x86_64-unknown-linux-gnu --format-version 1",
77삭제: "future_build": "cargo +1.99.1 build --locked --offline --manifest-path tests/rust-ui-memory-gui-races/Cargo.toml --features gui-race-harness --bin zipelo-ui-memory-gui-races --target-dir tests/rust-ui-memory-gui-races/validation-<head>/target"
78삭제: },
79삭제: "validation_state": {
80삭제: "built": false,
81삭제: "gui_executed": false,
82삭제: "new_rust_tests": 0
83삭제: },
84삭제: "design": {
85삭제: "palette": {
86삭제: "paper": "#FFFFFF",
87삭제: "ink": "#182739",
88삭제: "selection": "#D3E6F6",
89삭제: "focus_reference": "#174C7C"
90삭제: },
91삭제: "type": "원본 Noto CJK index 1, body/button 18px와 heading 26px 유지함",
92삭제: "layout": "왼쪽 정렬 시험 strip을 원본 상단 앞에 추가함. 원본 동작/결과/상태 영역을 그대로 위임함",
93삭제: "review": "원본 화면을 재사용하는 시험이므로 시각 재설계/아이콘/외부 에셋 없이 시험 경계만 표시함"
94삭제: }
95삭제: }
삭제tests/rust-ui-memory-gui-races/gates.rs+0-149
@@ -1,149 +0,0 @@
1삭제: use crate::{controller, core, runtime, transport};
2삭제: use std::{
3삭제: sync::{
4삭제: Arc,
5삭제: atomic::{AtomicBool, AtomicU8, Ordering},
6삭제: mpsc::{self, Receiver, SyncSender},
7삭제: },
8삭제: time::Duration,
9삭제: };
10삭제:
11삭제: pub const GATE_TIMEOUT: Duration = Duration::from_secs(60);
12삭제:
13삭제: #[derive(Clone, Copy, Debug, PartialEq, Eq)]
14삭제: pub enum Stage {
15삭제: Starting,
16삭제: Checkpoint,
17삭제: TerminalDelivered,
18삭제: JoinReleased,
19삭제: }
20삭제:
21삭제: pub struct Evidence {
22삭제: pub fault: AtomicBool,
23삭제: pub joined: AtomicBool,
24삭제: pub final_result: AtomicU8,
25삭제: }
26삭제:
27삭제: pub struct Control {
28삭제: reached: Receiver<Stage>,
29삭제: checkpoint_release: SyncSender<()>,
30삭제: join_release: SyncSender<()>,
31삭제: pub stage: Stage,
32삭제: checkpoint_released: bool,
33삭제: join_released: bool,
34삭제: pub evidence: Arc<Evidence>,
35삭제: }
36삭제:
37삭제: fn hold(stage: Stage, reached: &SyncSender<Stage>, release: &Receiver<()>, evidence: &Evidence) {
38삭제: eprintln!("harness worker reached {stage:?}");
39삭제: if reached.try_send(stage).is_err() || release.recv_timeout(GATE_TIMEOUT).is_err() {
40삭제: evidence.fault.store(true, Ordering::SeqCst);
41삭제: panic!("시험 장벽 실패: {stage:?}");
42삭제: }
43삭제: eprintln!("harness worker released {stage:?}");
44삭제: }
45삭제:
46삭제: pub fn create() -> (controller::Controller, Control) {
47삭제: let evidence = Arc::new(Evidence {
48삭제: fault: AtomicBool::new(false),
49삭제: joined: AtomicBool::new(false),
50삭제: final_result: AtomicU8::new(0),
51삭제: });
52삭제: let worker_evidence = evidence.clone();
53삭제: let (reached, observe) = mpsc::sync_channel(2);
54삭제: let (checkpoint_release, checkpoint_gate) = mpsc::sync_channel(1);
55삭제: let (join_release, join_gate) = mpsc::sync_channel(1);
56삭제: let task = runtime::assemble(move |operation, sender, done| {
57삭제: let mut budget = core::gzip::Budget::new(core::gzip::Limits::default()).unwrap();
58삭제: let mut first = true;
59삭제: let mut transport = transport::Transport::new(sender);
60삭제: let terminal = operation.gzip(
61삭제: core::gzip::Request {
62삭제: input: runtime::GZIP.into(),
63삭제: selected: true,
64삭제: },
65삭제: &mut budget,
66삭제: |event| {
67삭제: let result = transport.forward(
68삭제: event.stamp().sequence(),
69삭제: runtime::ProgressEvent::Gzip(event),
70삭제: Ok(()),
71삭제: || core::gzip::Stop::Cancelled,
72삭제: );
73삭제: if first {
74삭제: first = false;
75삭제: hold(
76삭제: Stage::Checkpoint,
77삭제: &reached,
78삭제: &checkpoint_gate,
79삭제: &worker_evidence,
80삭제: );
81삭제: }
82삭제: result
83삭제: },
84삭제: );
85삭제: let fallback = runtime::deliver_completion(
86삭제: &done,
87삭제: runtime::Completion {
88삭제: outcome: runtime::Outcome::Gzip(terminal),
89삭제: delivery: transport.fault,
90삭제: },
91삭제: );
92삭제: if fallback.is_some() {
93삭제: worker_evidence.fault.store(true, Ordering::SeqCst);
94삭제: eprintln!("harness failure: completion receiver unavailable");
95삭제: }
96삭제: hold(
97삭제: Stage::TerminalDelivered,
98삭제: &reached,
99삭제: &join_gate,
100삭제: &worker_evidence,
101삭제: );
102삭제: fallback
103삭제: });
104삭제: (
105삭제: controller::attach(task),
106삭제: Control {
107삭제: reached: observe,
108삭제: checkpoint_release,
109삭제: join_release,
110삭제: stage: Stage::Starting,
111삭제: checkpoint_released: false,
112삭제: join_released: false,
113삭제: evidence,
114삭제: },
115삭제: )
116삭제: }
117삭제:
118삭제: impl Control {
119삭제: pub fn observe(&mut self) {
120삭제: for stage in self.reached.try_iter() {
121삭제: self.stage = stage;
122삭제: }
123삭제: }
124삭제: pub fn release_checkpoint(&mut self) {
125삭제: if self.stage == Stage::Checkpoint && !self.checkpoint_released {
126삭제: if self.checkpoint_release.try_send(()).is_err() {
127삭제: self.evidence.fault.store(true, Ordering::SeqCst);
128삭제: } else {
129삭제: self.checkpoint_released = true;
130삭제: }
131삭제: }
132삭제: }
133삭제: pub fn release_join(&mut self) {
134삭제: if self.stage == Stage::TerminalDelivered && !self.join_released {
135삭제: if self.join_release.try_send(()).is_err() {
136삭제: self.evidence.fault.store(true, Ordering::SeqCst);
137삭제: } else {
138삭제: self.join_released = true;
139삭제: self.stage = Stage::JoinReleased;
140삭제: }
141삭제: }
142삭제: }
143삭제: pub fn checkpoint_enabled(&self) -> bool {
144삭제: self.stage == Stage::Checkpoint && !self.checkpoint_released
145삭제: }
146삭제: pub fn join_enabled(&self) -> bool {
147삭제: self.stage == Stage::TerminalDelivered && !self.join_released
148삭제: }
149삭제: }
삭제tests/rust-ui-memory-gui-races/main.rs+0-217
@@ -1,217 +0,0 @@
1삭제: #![forbid(unsafe_code)]
2삭제: #![allow(dead_code)]
3삭제:
4삭제: extern crate self as zipelo_ui_memory_app;
5삭제: include!("../rust-ui-memory-races/assembly.rs");
6삭제: mod gates;
7삭제:
8삭제: use std::sync::atomic::Ordering;
9삭제:
10삭제: mod original_app {
11삭제: include!("../../experiments/rust-ui-memory-app/src/app.rs");
12삭제:
13삭제: use crate::{controller::Status, gates};
14삭제: use std::{
15삭제: sync::atomic::Ordering,
16삭제: time::{Duration, Instant},
17삭제: };
18삭제:
19삭제: struct Harness {
20삭제: original: App,
21삭제: control: gates::Control,
22삭제: scenario: String,
23삭제: started: Instant,
24삭제: previous: Option<String>,
25삭제: frames: u64,
26삭제: operation: crate::core::OperationId,
27삭제: }
28삭제:
29삭제: pub fn create(
30삭제: controller: Controller,
31삭제: control: gates::Control,
32삭제: scenario: String,
33삭제: ) -> Box<dyn eframe::App> {
34삭제: let operation = controller.task.as_ref().unwrap().id;
35삭제: Box::new(Harness {
36삭제: original: App { controller },
37삭제: control,
38삭제: scenario,
39삭제: started: Instant::now(),
40삭제: previous: None,
41삭제: frames: 0,
42삭제: operation,
43삭제: })
44삭제: }
45삭제:
46삭제: impl eframe::App for Harness {
47삭제: fn ui(&mut self, root: &mut egui::Ui, frame: &mut eframe::Frame) {
48삭제: self.control.observe();
49삭제: egui::Panel::top("race-harness-only").show(root, |ui| {
50삭제: ui.heading("시험용 화면 / 배포 바이너리 검증 아님");
51삭제: ui.label(format!(
52삭제: "시나리오: {} / 장벽: {:?}",
53삭제: self.scenario, self.control.stage
54삭제: ));
55삭제: ui.horizontal_wrapped(|ui| {
56삭제: if ui
57삭제: .add_enabled(
58삭제: self.control.checkpoint_enabled(),
59삭제: egui::Button::new("checkpoint 해제"),
60삭제: )
61삭제: .clicked()
62삭제: {
63삭제: self.control.release_checkpoint();
64삭제: }
65삭제: if ui
66삭제: .add_enabled(self.control.join_enabled(), egui::Button::new("join 해제"))
67삭제: .clicked()
68삭제: {
69삭제: self.control.release_join();
70삭제: }
71삭제: });
72삭제: });
73삭제: <App as eframe::App>::ui(&mut self.original, root, frame);
74삭제: self.frames += 1;
75삭제: let c = &mut self.original.controller;
76삭제: if c.task.as_ref().map(|t| t.id) != Some(self.operation) {
77삭제: self.control.evidence.fault.store(true, Ordering::SeqCst);
78삭제: }
79삭제: let joined = c.task.as_ref().is_some_and(|task| task.joined());
80삭제: self.control.evidence.joined.store(joined, Ordering::SeqCst);
81삭제: if joined {
82삭제: let result = match c.status {
83삭제: Status::Completed => 1,
84삭제: Status::Cancelled => 2,
85삭제: _ => 0,
86삭제: };
87삭제: self.control
88삭제: .evidence
89삭제: .final_result
90삭제: .store(result, Ordering::SeqCst);
91삭제: }
92삭제: let state = format!(
93삭제: "scenario={} stage={:?} status={:?} close={:?} terminal={} joined={} cancel={} rows={}",
94삭제: self.scenario,
95삭제: self.control.stage,
96삭제: c.status,
97삭제: c.close,
98삭제: c.terminal.is_some(),
99삭제: joined,
100삭제: c.task
101삭제: .as_ref()
102삭제: .is_some_and(|t| t.cancellation.is_requested()),
103삭제: c.rows().len()
104삭제: );
105삭제: if self.previous.as_ref() != Some(&state) {
106삭제: eprintln!("harness frame={} {state}", self.frames);
107삭제: self.previous = Some(state);
108삭제: }
109삭제: if c.status == Status::Panicked || self.started.elapsed() > Duration::from_secs(180) {
110삭제: self.control.evidence.fault.store(true, Ordering::SeqCst);
111삭제: }
112삭제: if self.control.evidence.fault.load(Ordering::SeqCst) {
113삭제: c.request_close();
114삭제: c.confirm_close();
115삭제: }
116삭제: root.ctx().request_repaint_after(Duration::from_millis(30));
117삭제: }
118삭제: }
119삭제:
120삭제: impl Drop for Harness {
121삭제: fn drop(&mut self) {
122삭제: let joined = self
123삭제: .original
124삭제: .controller
125삭제: .task
126삭제: .as_ref()
127삭제: .is_some_and(|t| t.joined());
128삭제: self.control.evidence.joined.store(joined, Ordering::SeqCst);
129삭제: if !joined {
130삭제: self.control.evidence.fault.store(true, Ordering::SeqCst);
131삭제: }
132삭제: eprintln!("harness drop joined={joined} frames={}", self.frames);
133삭제: }
134삭제: }
135삭제: }
136삭제:
137삭제: fn run() -> Result<(), String> {
138삭제: let args: Vec<_> = std::env::args().skip(1).collect();
139삭제: if args.len() != 3
140삭제: || args[0] != "--opt-in-xvfb"
141삭제: || args[1] != "--scenario"
142삭제: || !["cancel", "retract", "close"].contains(&args[2].as_str())
143삭제: {
144삭제: return Err("명시적 시험 실행 필요: --opt-in-xvfb --scenario cancel|retract|close".into());
145삭제: }
146삭제: let display = std::env::var("DISPLAY").map_err(|_| "시험 DISPLAY 없음")?;
147삭제: if display == ":0"
148삭제: || std::env::var_os("WAYLAND_DISPLAY").is_some()
149삭제: || std::env::var("ZIPELO_XVFB_HARNESS").as_deref() != Ok("1")
150삭제: {
151삭제: return Err("분리 Xvfb 자식 환경에서만 실행할 것".into());
152삭제: }
153삭제: let font = std::fs::read("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc")
154삭제: .map_err(|e| e.to_string())?;
155삭제: let (controller, control) = gates::create();
156삭제: let evidence = control.evidence.clone();
157삭제: let scenario = args[2].clone();
158삭제: let expected = if scenario == "retract" { 1 } else { 2 };
159삭제: let result = eframe::run_native(
160삭제: "Zipelo 시험용 메모리 경합 화면",
161삭제: eframe::NativeOptions {
162삭제: renderer: eframe::Renderer::Glow,
163삭제: viewport: eframe::egui::ViewportBuilder::default()
164삭제: .with_inner_size([1060.0, 840.0])
165삭제: .with_min_inner_size([760.0, 660.0]),
166삭제: ..Default::default()
167삭제: },
168삭제: Box::new(move |cc| {
169삭제: use eframe::egui::{Color32, FontData, FontDefinitions, FontFamily, FontId, TextStyle};
170삭제: let mut fonts = FontDefinitions::empty();
171삭제: let mut data = FontData::from_owned(font);
172삭제: data.index = 1;
173삭제: fonts.font_data.insert("noto-kr".into(), data.into());
174삭제: fonts
175삭제: .families
176삭제: .insert(FontFamily::Proportional, vec!["noto-kr".into()]);
177삭제: cc.egui_ctx.set_fonts(fonts);
178삭제: cc.egui_ctx.set_visuals(eframe::egui::Visuals::light());
179삭제: cc.egui_ctx
180삭제: .style_mut_of(eframe::egui::Theme::Light, |style| {
181삭제: style
182삭제: .text_styles
183삭제: .insert(TextStyle::Body, FontId::proportional(18.0));
184삭제: style
185삭제: .text_styles
186삭제: .insert(TextStyle::Button, FontId::proportional(18.0));
187삭제: style
188삭제: .text_styles
189삭제: .insert(TextStyle::Heading, FontId::proportional(26.0));
190삭제: style.visuals.panel_fill = Color32::WHITE;
191삭제: style.visuals.override_text_color = Some(Color32::from_rgb(24, 39, 57));
192삭제: style.visuals.selection.bg_fill = Color32::from_rgb(211, 230, 246);
193삭제: style.spacing.item_spacing = eframe::egui::vec2(12.0, 10.0);
194삭제: style.spacing.button_padding = eframe::egui::vec2(14.0, 10.0);
195삭제: });
196삭제: Ok(original_app::create(controller, control, scenario))
197삭제: }),
198삭제: )
199삭제: .map_err(|e| e.to_string());
200삭제: result?;
201삭제: let joined = evidence.joined.load(Ordering::SeqCst);
202삭제: let actual = evidence.final_result.load(Ordering::SeqCst);
203삭제: if evidence.fault.load(Ordering::SeqCst) || !joined || actual != expected {
204삭제: return Err(format!(
205삭제: "시험 실패: joined={joined} expected={expected} actual={actual}"
206삭제: ));
207삭제: }
208삭제: eprintln!("harness scenario completed joined=true result={actual}");
209삭제: Ok(())
210삭제: }
211삭제:
212삭제: fn main() {
213삭제: if let Err(error) = run() {
214삭제: eprintln!("harness failure: {error}");
215삭제: std::process::exit(1);
216삭제: }
217삭제: }
삭제tests/rust-ui-memory-gui-races/run-plan.json+0-37
@@ -1,37 +0,0 @@
1삭제: {
2삭제: "phase": "미실행 계획임. 검토 후 별도 실행 배정 필요",
3삭제: "preflight": [
4삭제: "원격 고정 head/tree 및 sources 101개와 후보 manifest/local hash 재확인",
5삭제: "기존 도구/cache만 사용하고 현재 cohort flock 안에서 fresh status/read와 build/log 기록",
6삭제: "build 실패 시 중단하고 source/기대값 수정이나 반복 없음"
7삭제: ],
8삭제: "screen": [
9삭제: "각 시나리오는 독립 xvfb-run -a -s \"-screen 0 1280x1024x24 -nolisten tcp\" 자식으로 실행",
10삭제: "자식 환경에서 WAYLAND_DISPLAY/WAYLAND_SOCKET 제거, ZIPELO_XVFB_HARNESS=1만 설정. 기존 DISPLAY :0과 사용자 환경은 변경하지 않음",
11삭제: "xvfb-run의 임시 xauth를 사용하며 인증값을 출력/보고/영구 문서에 저장하지 않음",
12삭제: "supervisor가 자식 Xvfb display/PID/시작 tick과 앱 PID/시작 tick 및 _NET_WM_PID를 연결하고 작업 창만 식별함"
13삭제: ],
14삭제: "future_launch_template": "xvfb-run -a -s \"-screen 0 1280x1024x24 -nolisten tcp\" env -u WAYLAND_DISPLAY -u WAYLAND_SOCKET ZIPELO_XVFB_HARNESS=1 <reviewed-harness-binary> --opt-in-xvfb --scenario <cancel|retract|close>",
15삭제: "first_capture": [
16삭제: "xwd -silent -id <own-window>로 창만 캡처하고 기존 magick으로 PNG 변환",
17삭제: "초기 한글/시험 banner/Checkpoint와 정상 크기 screenshot을 확인하기 전 기능 클릭 금지",
18삭제: "첫 렌더링/캡처 실패는 해당 단계에서 중단함. 원인/앱 상태/미실행 항목을 기록하며 설치나 새 환경으로 우회하지 않음"
19삭제: ],
20삭제: "observations": [
21삭제: "시나리오별 원본 버튼과 harness gate 버튼만 조작함. 좌표는 최초 실제 캡처에서 확인하고 추측하지 않음",
22삭제: "contract.scenarios의 각 상태에서 screenshot/sha256와 action/frame 로그를 매칭함",
23삭제: "60초 gate 안에 관측을 완료하지 못하면 실패/미관측으로 남기며 timeout을 늘리거나 자동 release로 성공시키지 않음",
24삭제: "창 관리자 없음, titlebar/실제 resize/IME/접근성 미검증을 구분함"
25삭제: ],
26삭제: "cleanup": [
27삭제: "정상 cancel/retract는 join 확인 후 원본 idle 닫기 버튼으로 종료함. close는 Waiting에서 join 해제 후 원본 Allowed 닫기를 관측함",
28삭제: "실패 시 가능하면 checkpoint/join release와 원본 취소/닫기로 소유 thread의 정상 join을 유도하되 실행 결과는 실패로 유지함",
29삭제: "supervisor 외부 전체 한도 210초와 정리 15초를 둠. 불응 시 이번 supervisor가 직접 소유한 앱/서버 자식만 종료하고 forced cleanup/미확인 종료를 정상 통과로 기록하지 않음",
30삭제: "xvfb-run 종료 후 소유 앱/Xvfb PID와 시작 tick 부재 및 wrapper exit를 확인함. 다른 세션/VM/프로세스를 조작하지 않음"
31삭제: ],
32삭제: "records": [
33삭제: "모든 결과는 이 tests 경로 아래 새 validation-<reviewed-head>/<scenario>에 저장하며 기존 증거를 덮어쓰지 않음",
34삭제: "각 command/exit/raw stdout/stderr hash, binary hash, 입력 전후와 screenshot hash를 기록함",
35삭제: "시나리오별 screenshot/trace/exit 0/정상 cleanup이 모두 확인될 때만 통과임. 실패/미관측은 별도 유지하고 첫 실패 후 다음 시나리오는 실행하지 않음"
36삭제: ]
37삭제: }
삭제tests/rust-ui-memory-gui-races/sources.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-gui-races/static_check.py

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/Cargo.lock

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/Cargo.toml

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/LICENSE

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/SHA256SUMS

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/assembly.rs

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/contract.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/races.rs

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/run_reviewed.py

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/sources.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-memory-races/static_check.py

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/SHA256SUMS

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/contract.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/review.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/run-plan.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/source-pins.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-font-regressions/static_check.py

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-fonts/SHA256SUMS

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-fonts/contract.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
삭제tests/rust-ui-system-fonts/sources.json

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기
수정tests/ui-redesign/README.md

Diff가 표시 한도를 넘어서 생략했어요.

Raw로 열기