team-ljyzipelo

공개

출력 노드와 목록 항목의 승인 한도를 문서에 구분한다

작성자
시로사키 하나
작성 시각
커밋
fe316c7490d78ffdb005a8a647ac9006be41af87
부모
78883af
이 시점의 파일 보기

변경된 파일 2개

+2-2
수정experiments/rust-archive-worker/README.md+1-1
@@ -115,7 +115,7 @@ Python 표준 bz2, lzma와 tarfile로 독립 생성 및 해제한 결과의 SHA2
115115
116116메타데이터 정책은 유효한 자원 승인 여부로 선택하며 요청의 ceiling만 늘려서는 확대되지 않습니다. 원본 계획의 경로와 대기 이름은 확대 작업에서 같은 항목의 복사 비용으로 계산하고 노드를 중복 가산하지 않습니다. 이름 및 원본 경로의 바이트 비용과 암묵적 상위 폴더 노드는 계속 계산하므로 긴 경로나 많은 상위 폴더가 있으면 항목 200,000개 이전에도 Limit로 중단될 수 있습니다. 승인 전과 기존 slice API의 메타데이터 한도 및 계산 방식은 유지합니다. 기존 대용량 회귀의 64 MiB RSS 목표는 기본 메타데이터 정책의 측정값이며 확대 작업 전체의 메모리 상한을 뜻하지 않습니다.
117117
118삭제: 앱은 목록이나 선택한 일반 파일의 크기로 한도 초과를 알 수 있으면 처리 전에 확대 승인을 요청합니다. 미확인 폴더 내부와 압축파일은 기본 한도로 시작합니다. 한도 오류 뒤 Terminal, 양쪽 EOF와 자식 회수가 확인되고 게시 없음, 생성 및 부분 잔존 0개, 정리 완료일 때만 "한도를 늘려 다시 시도"를 제공합니다. 선택하면 새 작업 ID로 시작해 다시 승인을 받습니다. 이미 출력이 있거나 결과가 불확실하면 확대 재시도 대신 저장 위치와 상세 결과를 안내합니다. 항목 확대를 승인한 작업에서만 앱 목록과 출력 기록 상한이 200,000개로 늘어납니다.
118추가: 앱은 목록이나 선택한 일반 파일의 크기로 한도 초과를 알 수 있으면 처리 전에 확대 승인을 요청합니다. 미확인 폴더 내부와 압축파일은 기본 한도로 시작합니다. 한도 오류 뒤 Terminal, 양쪽 EOF와 자식 회수가 확인되고 게시 없음, 생성 및 부분 잔존 0개, 정리 완료일 때만 "한도를 늘려 다시 시도"를 제공합니다. 선택하면 새 작업 ID로 시작해 다시 승인을 받습니다. 이미 출력이 있거나 결과가 불확실하면 확대 재시도 대신 저장 위치와 상세 결과를 안내합니다. 유효한 자원 승인 후에는 암묵적 상위 폴더를 포함한 앱 출력 기록 상한이 262,144개 노드로 늘어납니다. 목록은 항목 확대를 승인한 작업에서만 200,000개까지 받습니다. 자원 승인 전 출력 기록과 항목 확대 승인 전 목록은 기존 100,000개 상한을 유지합니다.
119119
120120작업자의 짧은 이름 빈 ZIP 항목 200,000개 목록 시험과 앱 승인 및 재시도 시험을 반영했습니다. `resource-approval`, `resource-ratio`, `resource-retry`, `resource-partial` 상황과 가이드도 추가됐습니다. Windows와 Wayland의 실제 화면 및 입력 검증은 별도로 남아 있습니다.
121121
수정experiments/rust-archive-worker/contract.json+1-1
@@ -237,7 +237,7 @@
237237 "time": "Legacy and unapproved jobs retain their whole-job 300-second deadline. After the first resource grant, use a 60-second inactivity deadline measured only from actual read/decode/write/metadata progress, not repeated cancellation checks or outgoing heartbeats. Cooperative checkpoints cannot forcibly interrupt a blocked OS call.",
238238 "hard_ceiling": "Output/source bytes <=64 GiB and entries<=200000, including after approval. Caller may lower both ceilings for normal operation or scaled tests. Input quota cannot be expanded. Existing path, metadata, dictionary, frame and source-identity limits remain independent.",
239239 "metadata": "Only after a valid ResourceReply(allow=true) for this job, select 64 MiB MetadataBudget and 262144 nodes, including ZIP/TAR/7z parsing, decoded 7z headers, XZ index/block bounds, member/path validation, implicit output parents and source planning. Legacy Start/StartInteractive, unapproved guarded jobs and slice APIs keep 8 MiB and 32768 nodes. Merely requesting expanded ceilings does not grant a larger budget. Names and source paths still consume checked byte budgets and implicit parents consume nodes, so long/deep paths can hit the metadata cap before 200000 entries. Approved source-path/pending-name copies consume bytes without duplicating their entry node. Expanded metadata jobs do not retain a universal 64 MiB RSS target.",
240삭제: "client": "Normal app jobs use StartGuarded with the existing 16 GiB and 10000-entry limits. Known selection/file estimates request expanded ceilings before processing. After a Limit result, offer an explicit expanded retry only after Terminal, both EOFs and child reap, with Publication::None, zero created/partial counts and complete cleanup. Retry uses a new job ID and requires fresh approval; existing or uncertain output instead shows the saved location and detailed result. App catalog/output records grow to 200000 only for jobs granted the entries scope. Resource approval, ratio, retry and partial-output UI scenarios, tests and docs/ui-scenario-guide.md are implemented. Native Windows/Wayland verification remains separate.",
240추가: "client": "Normal app jobs use StartGuarded with the existing 16 GiB and 10000-entry limits. Known selection/file estimates request expanded ceilings before processing. After a Limit result, offer an explicit expanded retry only after Terminal, both EOFs and child reap, with Publication::None, zero created/partial counts and complete cleanup. Retry uses a new job ID and requires fresh approval; existing or uncertain output instead shows the saved location and detailed result. App output records, including implicit parent directories, grow to 262144 nodes after any valid resource approval. Catalog entries grow to 200000 only for jobs granted the entries scope. Unapproved output records and catalogs without an entries grant retain their existing 100000 caps. Resource approval, ratio, retry and partial-output UI scenarios, tests and docs/ui-scenario-guide.md are implemented. Native Windows/Wayland verification remains separate.",
241241 "tests": "Use numeric 16/64 GiB and 10000/200000 policy boundaries, scaled worker limits, a compressed 257 MiB zero stream, and a virtual clock for the 60-second stall. Include client approval/retry tests in tests/rust-app-ui/guarded.rs and real-worker flows in tests/rust-app-real-worker/guarded_flows.rs. Do not write 64 GiB in tests."
242242 }
243243}