fix(downloads): restore actionable package states and extraction controls
Resolve child archive selections to complete multipart sets, support bulk package extraction, refresh extraction passwords at execution time, and keep archive failures scoped by their full paths. Restore sortable download columns, preserve verified availability, classify package retry and extraction states, secure link copying through the preload bridge, and release cancelled provider work without stale cooldowns.
This commit is contained in:
@@ -83,9 +83,10 @@ export interface ExtractProgressUpdate {
|
||||
archiveSuccess?: boolean;
|
||||
}
|
||||
|
||||
export interface ExtractArchiveFailureInfo {
|
||||
archiveName: string;
|
||||
errorText: string;
|
||||
export interface ExtractArchiveFailureInfo {
|
||||
archiveName: string;
|
||||
archivePath: string;
|
||||
errorText: string;
|
||||
category: ExtractErrorCategory;
|
||||
suggestRedownload: boolean;
|
||||
jvmFailureReason?: string;
|
||||
@@ -4193,9 +4194,10 @@ export async function extractPackageArchives(options: ExtractOptions): Promise<E
|
||||
const errorCategory = classifyExtractionError(errorText);
|
||||
failedArchiveCategories.set(archivePath, errorCategory);
|
||||
const hintedError = error as ExtractionErrorWithHints;
|
||||
options.onArchiveFailure?.({
|
||||
archiveName,
|
||||
errorText,
|
||||
options.onArchiveFailure?.({
|
||||
archiveName,
|
||||
archivePath,
|
||||
errorText,
|
||||
category: errorCategory,
|
||||
suggestRedownload: hintedError?.suggestRedownload === true,
|
||||
jvmFailureReason: hintedError?.jvmFailureReason
|
||||
|
||||
Reference in New Issue
Block a user