100% Upload Completion Does Not Mean Processing is Finished
Assume a user uploads a large file, and the progress reaches 100% but the page continues to spin, making it unclear whether it can be closed. The completion of the upload and import are combined into a single progress bar, creating a misleading expectation. For long tasks, it’s important to explain what the system is doing at this moment and whether the user can safely exit.
Users leaving a page should not typically interrupt background processes, but the specific stages that rely on browser execution must be clearly indicated. For example, closing a window before the upload is complete will have different consequences than when the server has already accepted the data. The page should clearly indicate a confirmation point for a safe exit, rather than simply stating that processing is in progress.
The Waiting Page Must First Address Responsibility and Outcomes
Users need to know whether their input has been saved, whether closing the page affects their ability to continue, and what results have already been generated. When uploading is still dependent on the browser, it should be clearly stated that interrupting the upload will have an impact. Once the upload is successfully received on the server, a stable task entry should be provided. This handover point is based on confirming the facts, not on automatic animation; users should be able to revisit after leaving, which is more important than simply keeping a window open.
Consider receiving input, queuing, execution, result submission, and result preparation as distinct responsibilities. Parsing failures require correcting the input, insufficient capacity requires waiting, submitting unknown results requires verification, and failed index downloads only require restoring result preparation. Stage differentiation primarily involves service recovery decisions, not simply adding more colors to a progress bar.
The task identity begins with the creation intent. After a request response is lost, search for existing tasks with the same identity. If a replacement is entered, this creates a clear revision or new task. Task addresses cannot contain private content; access and download are governed by current permissions. Revisiting a task does not automatically mean you can view all results. The task list provides a second entry point to avoid being forced to re-submit if a tab is lost.
The three pieces of evidence cannot be combined into a single percentage.
The client sends bytes, the executor handles the object, and business confirmation is a separate unit. When the workload is unknown, the stages are displayed. When the workload is known, the numbers have a clear meaning. Half the objects do not necessarily equal half the time. The estimated remaining time should be based on representative workload and rate, indicating an approximation. Do not use a timer to fake progress for visual smoothness.
Push and polling only transmit status information; the persistent log is the definitive source of truth. When a connection is lost, the query task should not be interpreted as a business failure based on communication failure; the executor’s heartbeat indicates activity, but does not prove an increase in objects. Regarding stalls, the server determines responsibility based on the stage and dependencies, and the client cannot declare all work as invalid simply because it has not received updates.
The assistive technology requires a stable state to avoid interruptions caused by frequent changes. When an error occurs, the user should be able to identify the cause and take appropriate action, rather than simply guessing based on color. The text, buttons, and task API must use the same state contract, and when a task is completed, there must be a corresponding result. It should not just be a visually appealing “100% complete” without any actual outcome.
“Restore” and “New Execution” are not the same command.
Restore the original task while preserving input and confirmed ranges, and only process the parts that are allowed to continue. New execution uses new inputs or rules, creating an independent source. If a “Retry” button cannot clearly explain its function, it can easily lead to repeating side effects. If the outcome is unknown, first verify the stability of the business identity and external confirmation capabilities. For high-risk and uncheckable situations, transfer to manual control.
Canceling is not about reverting. Stopping an operation does not necessarily mean discarding the work that has already been submitted. To undo these operations, you need to consider the current new edits, references, and permissions. The confirmation interface should clearly state the scope that can be guaranteed, and the final report should record the actual stopping point. Closing a page typically just means leaving it, and does not automatically send a business cancellation unless the contract explicitly supports it.
Input, temporary fragments, results, and diagnoses have separate retention periods. The system supports investigations that only require task identity and a limited set of states, without requiring users to upload their original files to the chat. Notifications are used as an exit mechanism; if a notification fails, the business process is not re-run. Closing the notification still allows you to find the results. The following provides a detailed explanation of these boundaries, using a sample customer import as an example. All exercises use synthetic data and do not claim to be validated in a production environment.
Determining Acceptable Input Based on a Customer Import File
The user uploads 1,000 customer records. Once the browser has sent the last byte, the server is still checking if the file is complete. At this point, simply displaying “Complete” is insufficient. The confirmation message must include enough information to identify the task and specify who will handle it next. Seeing only the network upload event does not prove that the server has established a recoverable task.
File reception can also be categorized into complete byte reception and format readability. A user can leave the page, but later find out that essential columns are missing, which is not contradictory. The status page clearly indicates “Input saved, awaiting verification” and “Input verification failed.” If verification fails, a fix does not require re-uploading the same file that has already been saved. If format repair requires replacing the file, a clear input revision must be created, and the original failure message should be retained, preventing the original file from being silently overwritten while still displaying the same verification evidence.
When uploading in a segmented manner, the already uploaded segments are not complete inputs. A task can initially have an identity, but only when all required segments have been verified and merged into a controlled location can it enter the processing stage. After a page refresh, it’s important to confirm the range that has been successfully received, rather than assuming that all segments have been received based on browser memory. The expiration of segments and the expiration of the final result are different, and their statuses need to be explained separately.
After the final response is sent, the controlled exercise discards the response and restores the initial query for the same input intent. Check existing fragments, verify results, and task status to determine whether to continue transmission or proceed with processing. Do not rely solely on the client’s display of a 100% re-transmission of the complete file; repeated traffic and repeated business operations represent two costs, and interfaces require clear handling. This process is a recommended test, not a previously executed upload experiment.
Presenting User-Understandable Results Using Four Types of Charts
Synthetic input can fall into four categories: legitimate new customers, existing customers with the same status, rows with missing required fields, and rows that are temporarily unavailable for external checks. All of these will appear in the same report, but they cannot share a “failure” status. Whether existing customers are updated depends on the import mode; missing fields need to be corrected, temporarily unavailable rows can be waited on or retried, and each has a different next step.
Before starting, choose between creating, updating, or merging, and preview the matching rules. Factors such as email case sensitivity, customer ID, and tenant scope can affect identity, and CSV row numbers should not be used as business keys. If the system lacks a reliable and stable identity, it cannot guarantee that re-uploading after sorting will automatically remove duplicates. Instead, focus on restoring within the original input revisions, or first establish a reliable matching process.
The report saves the source of each input row, its business identity, confirmation result, and allowed actions. The row number helps locate the original file, while the identity helps associate it with related objects. These are presented side-by-side, not as alternatives. Users should download the error list, modify it, and then upload it. They should know whether to submit only the failed entries or initiate a new import. The tool can provide clear conversion, but it cannot assume that users will maintain the original sorting and all hidden fields.
The verification results should be based on the observed objects, not just the number of green checkmarks. Legitimate new rows should correspond to specific customers, existing rows should be processed according to the selected strategy, and invalid rows should not generate any customers. Unusable rows should not be disguised as completed. A log entry simply stating “success” is not sufficient to prove transaction persistence. The report should be based on confirmed records and the actual business state to avoid creating a second inconsistent truth.
There can be changes between input preview and formal execution.
During preview, a customer record does not exist. However, when the process is executed, another task has already created a record with the same identity. If the preview is treated as a lock, subsequent insertions may result in conflicts, or uncontrolled creation of a second customer. The preview provides an estimated result, while the actual execution still requires adherence to the current identity and version rules within the authoritative boundary. It is not guaranteed that all preview items will be completed as planned.
It is possible to freeze input and mapping rules, while still validating the target object version during execution. Alternatively, a clear dynamic merging policy can be used, but this requires explicit changes to be displayed. The preview feature maps column A to names, and the user then changes it to phone numbers. The original preview eligibility cannot be continued. The input identity, mapping version, and execution batch together form the confirmation object, not just the filename.
The sources for third-party matching can also vary. When an external review is approved and then formally rejected, the report should clearly state the new results achieved during the execution phase, without stating that “the preview was never approved.” If business requirements strictly require adherence to specific external criteria, the vendor must be able to support the corresponding version or confirmation mechanism, otherwise, the commitment will be limited to the actual capabilities.
After the preview, create a new customer with the same identity, modify a target field, and update the mapping, then submit the old confirmation. Observe that the server rejects expired confirmations, requires a new preview, or processes them according to the explicitly stated policy. It cannot silently execute another scheme. User confirmation should be a set of identifiable inputs and explanatory rules, rather than a permanent “continue.”
Full Transactions and Batch Submissions Require Different Progress Languages
Assume that all 1,000 rows are within a single transaction, and 900 rows have been parsed and validated but not yet submitted. It should display “900 rows validated,” but not “900 customers imported.” If the last row causes a rollback, the business result remains zero, and users should not mistakenly believe that 900 data entries have been lost due to progress reversal. Parsing, validation, and persistence are distinct processes.
Submitting in batches may result in 600 rows being successfully processed, with the remaining 400 rows unprocessed. The user effectively has 600 results, and failure reports must retain these. Before starting, it is important to clarify that partial completion is allowed, and the status should distinguish between confirmed, clearly failed, not executed, and pending verification. The total count must be calculated from stable object results, and re-attempting a single row should not increase the completion count by twice.
If the total needs to be determined by scanning, it’s best to first display the scan results and the number of items found, without treating the estimated denominator as a fixed commitment. If another worksheet is found within the compressed input, the percentage may decrease; a clearer approach is to first complete the range discovery and then start tracking progress for known units. Not every task requires a progress bar from 0 to 100.
Acceptance Testing Instructions with Different Costing Methods: Each simple record and each record requiring an external query is counted as one item. The percentage count cannot be interpreted as a time-consuming percentage. All full transaction tests failed before submission, while the batch tests failed after the second batch. The pages correspond to the actual persistence results. When these tests are not run, only the design expectations are recorded, not the fabricated success rates.
How to Avoid Project Delays Caused by Takeover
After Executor A pauses, Executor B takes over the same task and completes it. When Executor A resumes, it sends “60% processing complete,” which, if the client only updates based on the order of messages received, will revert the completed interface. The status event needs to be able to determine the associated task and the allowed version. Late observations cannot override the authoritative new status.
Querying the task status can also be subject to race conditions. A previously issued poll might return before a new query, and the page must select the version according to the protocol, without confusing versions based on response order. Push and poll can share the same status identity, but they are not two independent sources of truth. When the client does not know the version relationship, it should query or retain the secure status instead of arbitrarily comparing and displaying the time string.
The takeover also involves actual write eligibility. The new executor does not automatically verify that the previous executor has stopped, and task-level locks do not automatically protect downstream objects. Single write operations require corresponding idempotency and versioning conditions, and progress only describes confirmed results. The product cannot claim, through the wording “in progress,” that there are no technical side effects, and when the actual boundary cannot be enforced, limitations and manual verification paths are provided.
Test saving an old processed event, then resubmit it after the task is complete; also, reverse the order of the two status queries. The page does not revert to the expired fact, nor does it lose the actual corrected status. Normal completion and subsequent revocation by an administrator are different processes, and cannot be ignored using the rule “only increase, never decrease” status. The rule is based on the status protocol, not on a simple percentage of monotonicity.
It’s important to specify who is waiting, rather than just saying “it’s very slow.”
The task is waiting at the external address check, and the executor continues to send heartbeat signals without receiving any new results. Users may mistakenly believe that the task is progressing when they see “last activity one second ago.” Activity logs should be clearly distinguished between tasks where the executor is still online, waiting for external dependencies, subject to quotas, or requiring user correction. It is important not to interpret any log refresh as progress in the task.
Monitoring thresholds are defined based on the stage and task type. Unlike normal file parsing, where a successful wait is expected, or a single customer write, failures cannot simply appear after five minutes. When exceeding the normal budget, the system enters a diagnostic state, checking and confirming the results, dependencies, and responsibilities. Whether the actual execution has stopped needs to be determined based on factual evidence, not solely based on the interface countdown timer.
Waiting in line doesn’t necessarily guarantee an accurate position. Queues with multiple priority and resource levels may not follow a simple “first come, first served” principle, and stating “the three people in front” can easily lead to inaccurate assumptions about the order. Instead of providing vague estimates, it’s more helpful to explain the reason for waiting, such as waiting for a resource, expecting a specific time window, or limited capacity. Providing verified estimates is more useful than constantly displaying a fluctuating, inaccurate remaining time. Users can also cancel unfinished tasks or choose to be reminded later, which is more helpful than constantly displaying a false remaining time.
The exercise demonstrates scenarios where reliance on continuous rate limiting, execution of actions with no confirmation, and waiting for manual input all occur. Participants should be able to determine whether they need to take action, who is responsible for the next step, and whether a result has already been achieved, simply by observing the page. This article does not claim that these texts have been validated through real user research or usability testing; further validation and testing are still required with the target users.
How to Maintain Consistency in Reports After Cancellation and Termination
When users click “Cancel” just before submitting the second batch, the cancellation request is received. This only confirms the intention to submit, and the final boundary is determined by the server-side protocol. The system can either stop accepting the current batch after it has been submitted, or it can roll back the current batch within the supported range. The confirmation message on the page first states the guarantee, and then immediately announces that all data has been retracted after the user does not click.
The “Cancellation Result” column confirms objects that have been cancelled, the scope that has not been processed, and external operations that still require verification. These latter items cannot be directly marked as “cancelled” to complete the “Cancellation Complete” label. If a third-party call cannot be cancelled, continue with limited query confirmation and provide details regarding responsibility and upgrade conditions. If a user leaves the page without initiating a separate cancellation request, this is only true if the product explicitly links the two.
Revoking imported objects is a new operation. During this process, customers may have been edited by others, referenced in orders, or granted new permissions. Therefore, objects cannot be unconditionally deleted from the original task list. The affected objects and conflicts should be reviewed individually, taking into account the current permissions and versions. The relationship between the original import and the revocation should be preserved. Canceling a task should not inadvertently become a means for administrators to perform bulk deletion.
The testing process should include the following scenarios:
- Canceling before receiving, before submitting a batch, and after losing a response.
- Reading the actual business results and task report.
- Editing imported customers and then initiating a cancellation to confirm that legitimate new modifications are not deleted.
The testing scope must be limited to synthetic objects and should not be used to verify the effectiveness of the “cancel” button in real-world scenarios.
Do not delete business facts when the results file expires
The error report is automatically deleted after seven days. However, the existing customer account remains. If the task page also disappears, the user may re-upload the original file, believing that the previous task was never completed. Different responsibilities exist for retaining business facts, task records, input files, and results files. The expiration page indicates which parts have been cleared and which confirmation results are still available for querying.
If the data required to regenerate the report has already been cleaned, we cannot guarantee that the original error details can always be recovered. We can retain a limited summary of the allowed results, or explicitly state that reconstruction is not possible. We do not support indefinite storage of original private files for convenience. The scope of retention is determined by compliance and business requirements; the interface simply accurately reflects this, rather than inventing a permanent history.
Failure to deliver the notification does not change the report status. The report’s expiration date does not affect the customer’s submitted results. Users can still find the relevant information in the task list even after closing the email. Address changes and permission revocation are handled according to policy when retrieving and sending reminders. The secret file address does not enter the analysis event or customer service chat. The support portal only requires task identity and appropriate diagnosis.
The acceptance process will require the submission of input, reports, and task summaries by their respective deadlines. It will also verify the authenticity of the requests and either reject or downgrade them as appropriate, and check if any incomplete temporary fragments have been cleared. Furthermore, it will verify that the download button is not being used to delete evidence, and that any old links in the notification are still accessible. Finally, it will ensure that failed transactions are properly accounted for, and that data is not hidden behind endless loading pages.
Maintaining Security When Passing State Protocol to Older Clients
The server-side has been updated to include a “waiting for user confirmation” stage, which is not recognized by older clients. If older code interprets an unknown value as a successful completion, it may display options to close or retry, leading to incorrect actions. The protocol must define how to handle unknown states securely, such as preserving the task entry, displaying the stage where the status is uncertain, and reading supported information. It should not automatically succeed.
The buttons also fall under the protocol. Older clients still display a retry option, and the server-side must determine whether it is currently permitted to do so. The system should not repeat execution simply because the page version is old. Necessary upgrade prompts should not discard tasks that have already been accepted, and users should still be able to find their original identity and status after upgrading. The status text should be localized separately from the machine status code, to prevent translations from affecting the control logic.
Preserve a copy of the old client behavior stub, and then verify the displayed behavior and direct API calls in the new state. Also, ensure that the client returns to the background and queries the latest state instead of continuing the animation based on the old memory. This approach provides a more realistic assessment of a long-running task compared to simply checking the latest version of the page, as tasks may span multiple deployments.
The final report provides information on the input identity, mapping rules, confirmed scope, current responsibility, and the next allowed action. Users should be able to determine whether the wait is safe, what a retry will affect, and where the results can be obtained, without needing to know the details of the executor. The goal of reliable background tasks is to explain the actual process, rather than masking long waits with short ones.