ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
HT
craft · 23 min read

How to Record Partial Success Across Files: When Some Worked and Some Didn't

When an automation works on many files at once, such as uploading a folder, converting a set of drafts or publishing a batch of articles, the most common…

A batch where 14 of 20 files succeeded is neither "done" nor "failed." It is partial, and the record should say exactly which 14.

AI disclosure. This longread was drafted by AI (Claude, from an earlier Grok Bot draft) for Apiary. It has not been reviewed or verified by the founder. Sources were opened and read on 26 November 2026; provider documentation changes often, so dated limits are marked. Worked examples are hypothetical.

When an automation works on many files at once, such as uploading a folder, converting a set of drafts or publishing a batch of articles, the most common outcome is not total success or total failure. It is a mixture. Some items finished, some failed, some were never attempted, and for a few, nobody is sure. The question this page answers is how to write that down so that the next person, or the next run, can act on it without guessing.

The short answer: record one status per item, not one status for the whole run. For each file, write what was attempted, the result (succeeded, failed, skipped or unknown), the evidence for that result (an ID, a link, a hash or an error message) and what is needed next. Then write a summary whose counts add up to the total. Derive the run's overall status from the items, never the other way round. Do not let a top-level "OK" hide item-level failures, and do not retry the whole batch when only some items need it.

This is not a new idea invented for small scripts. HTTP extensions, Microsoft's Graph API and several AWS, Google and Elastic batch APIs all report results per item, and their documentation is unusually blunt about one point: the status of the batch response does not tell you whether the items inside it succeeded. Their designs are a ready-made model for a home-grown record.

1. Why a single status lies

A single status for a multi-item run must compress many facts into one word, and every possible word is misleading in some case.

  • "Success" hides the items that failed. If 19 of 20 files uploaded and one did not, a green run status means nobody looks for the missing one.
  • "Failed" hides the items that succeeded. If the next run responds by redoing the whole batch, the 19 finished items are uploaded again, which may create duplicates, overwrite later edits or send the same notification twice.
  • "Partial" is honest but useless on its own. It tells the reader that something went wrong without saying what.

Kubernetes documentation gives a clear example of the second problem in a system designed by experienced engineers. For an Indexed Job with a per-index failure limit, "The Job gets marked as failed even if some, potentially nearly all, of the indexes were processed successfully" (Kubernetes, Jobs, documented behavior as of 26 November 2026). The top-level status is correct by its own rules and still says almost nothing about the state of the work. Only the per-index records do.

Proposed explanation: a single status answers "should anyone look at this?" Per-item records answer "what exactly should they do?" A run needs both, and only the second can be derived into the first.

2. Standards report status per item: WebDAV's 207 Multi-Status

The HTTP extensions for WebDAV, published in 2007, include a status code built for this problem. RFC 4918 defines it simply: "The 207 (Multi-Status) status code provides status for multiple independent operations" (RFC 4918, §11.1).

The specification is explicit that the outer status is not the answer: "Although '207' is used as the overall response status code, the recipient needs to consult the contents of the multistatus response body for further information about the success or failure of the method execution. The response MAY be used in success, partial success and also in failure situations" (RFC 4918, §13).

It also requires every item to be identifiable: "The 'multistatus' root element holds zero or more 'response' elements in any order, each with information about an individual resource. Each 'response' element MUST have an 'href' element to identify the resource" (same section). And it tells clients not to assume they know every possible result: "clients MUST be able to handle other status codes" than those a method definition mentions.

Three design rules come straight out of those sentences, and they apply to any batch record:

  1. The outer status says "here is a set of results," not "it worked."
  2. Every result names the item it belongs to, by a stable identifier.
  3. A reader of the record must handle result types it did not expect, rather than ignoring them.

3. Microsoft Graph JSON batching: a 200 that means nothing about the items

Microsoft Graph lets a client combine several API calls into one HTTP request. Its documentation makes the same point as RFC 4918 in plainer language: "A 200 status code on the batch response headers doesn't indicate that the individual requests inside the batch succeeded. This is why each individual response in the responses property has a status code" (Microsoft Learn, Combine multiple HTTP requests using JSON batching, vendor documentation as of 26 November 2026).

Graph's design adds two features that a file automation can borrow.

Dependencies. Requests can be ordered with a dependsOn property, and "If an individual request fails, any request that depends on that request fails with status code 424 (Failed Dependency)." The documentation also advises: "Batch should be either fully sequential or fully parallel" (same source). In a file batch, the equivalent is a derived output, such as an index page that lists every article. If one article failed, the index built from the set is not "failed for unknown reasons." It is blocked by a named dependency, and the record should say which.

Per-item limits. "JSON batch requests are currently limited to 20 individual requests," and "Requests in a batch are evaluated individually against the applicable throttling limits and if any request exceeds the limits, it fails with a status of 429" (same source, as of 26 November 2026). One batch can therefore contain items that succeeded, items that failed permanently and items that were merely throttled and will succeed if retried later. A useful record keeps those apart.

4. AWS batch APIs: the same lesson, five ways

Several AWS services offer batch operations, and their reference pages describe partial results in ways that are directly useful for anyone designing a record (vendor documentation, all as of 26 November 2026).

Amazon SQS, SendMessageBatch. "The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200." The response has two lists: Successful and Failed, and each failure entry carries an Id, a Code, a Message and a SenderFault flag (AWS, Amazon SQS API Reference, SendMessageBatch). The SenderFault flag is a compact version of a distinction every record needs: is this failure the caller's problem (fix the input) or the service's (try again later)?

Amazon DynamoDB, BatchWriteItem. A single call can carry "up to 25 item put or delete operations." The documentation states that "The individual PutItem and DeleteItem operations specified in BatchWriteItem are atomic; however BatchWriteItem as a whole is not." Failed operations "are returned in the UnprocessedItems response parameter," and "Typically, you would call BatchWriteItem in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem request with those unprocessed items until all items have been processed." It adds: "we strongly recommend that you use an exponential backoff algorithm" (AWS, Amazon DynamoDB API Reference, BatchWriteItem). That is the "retry only what needs it" rule, written into an API.

Amazon Kinesis Data Streams, PutRecords. "The response Records array always includes the same number of records as the request array," and each response record "directly correlates with a record in the request array using natural ordering." The response also carries a FailedRecordCount. The documentation adds that "A single record failure does not stop the processing of subsequent records. As a result, PutRecords doesn't guarantee the ordering of records" (AWS, Amazon Kinesis Data Streams API Reference, PutRecords). Two ideas worth copying: the result list is the same length as the input list, so nothing can silently go missing, and a failure in the middle does not stop later items, which means the record cannot assume that everything after a failure was skipped.

Amazon S3, DeleteObjects. A request "can contain a list of up to 1,000 keys," and "For each key, Amazon S3 performs a delete operation and returns the result of that delete, success or failure, in the response." Two details matter for records. First: "If the object specified in the request isn't found, Amazon S3 confirms the deletion by returning the result as deleted." A "deleted" result therefore does not prove the object existed. Second, in quiet mode "the response includes only keys where the delete operation encountered an error. For a successful deletion in a quiet mode, the operation does not return any information about the delete in the response body" (AWS, Amazon S3 API Reference, DeleteObjects). A record built from quiet-mode responses can only infer successes from the absence of errors, which works only if the record also keeps the list of what was requested.

AWS Lambda partial batch responses for SQS. When a function processes a batch of queue messages, "you can configure your event source mapping to make only the failed messages visible again. This is called a partial batch response," turned on with ReportBatchItemFailures. The documentation gives two cautions. "If your function throws an exception, the entire batch is considered a complete failure." And the success rules are strict: Lambda "treats a batch as a complete success" if the function returns "An empty batchItemFailures list" or "A null batchItemFailures list," and treats it as a complete failure if, among other things, it returns "An itemIdentifier value with a message ID that doesn't exist" (AWS Lambda Developer Guide, Handling errors for an SQS event source).

The Lambda rules hold a warning for any home-grown record. An empty failure list means success. So a bug that forgets to add failures to the list produces a perfect-looking success. Editorial suggestion: a record should list successes explicitly, not just failures, so that "nothing reported" and "everything succeeded" cannot be confused.

5. Google Cloud Storage and Elasticsearch: two more patterns

Google Cloud Storage batch requests. The documentation says "You shouldn't include more than 100 calls in a single batch request to avoid HTTP 400 errors, gateway timeouts, and dropped connections." The response is a multipart message in which "each part of this main response is the response to one of the requests in the batched request. The order of responses is the same as the requests," and each part "contains a complete HTTP response, including a status code, headers, and a body." It also notes that "A set of n requests batched together counts toward your usage limit and operations costs as n requests, not as one request" (Google Cloud, Send batch requests, vendor documentation as of 26 November 2026). The last point is a reminder that batching changes how results are delivered, not how much work was done.

Elasticsearch bulk API. The response has a top-level errors flag: "If true, one or more of the operations in the bulk request did not complete successfully," and an items array holding "The result of each operation in the bulk request, in the order they were submitted" (Elastic, Elasticsearch API, Bulk, vendor documentation as of 26 November 2026). The errors flag is a useful pattern: a single boolean that tells a reader whether to look inside, without pretending to summarize what is there.

6. Three levels of failure in one batch

The DynamoDB and SQS reference pages make a distinction that is easy to miss: a batch can fail at three different levels, and each needs a different line in the record (vendor documentation as of 26 November 2026).

The whole request is rejected before any item runs. DynamoDB lists conditions under which it "rejects the entire batch write operation," including when "One or more tables specified in the BatchWriteItem request does not exist," or when "You try to perform multiple operations on the same item in the same BatchWriteItem request" (AWS, BatchWriteItem). SQS rejects a batch with BatchEntryIdsNotDistinct when "Two or more batch entries in the request have the same Id," and with TooManyEntriesInBatchRequest above its documented maximum of 10 entries for SendMessageBatch (AWS, SendMessageBatch). In these cases no item was attempted. Every item in that batch belongs in the record as "not started" or "failed (permanent)," with the batch-level error as the shared cause, not as a mix of guesses.

The whole request is throttled. "If BatchWriteItem cannot process any items due to throttling," it returns a ProvisionedThroughputExceededException or a ThrottlingException, and "Both indicate that the request was throttled" (AWS, BatchWriteItem). Every item is then "failed (transient)," and the right next step is a delayed retry of the same set.

Some items succeed and some do not. This is the partial case the rest of this page is about: UnprocessedItems, a Failed list, a FailedRecordCount greater than zero.

The SQS rule about distinct IDs carries a lesson of its own. A batch API refuses requests where two entries share an identifier, because otherwise it could not report which result belongs to which entry. A home-grown record has the same need and usually no one enforcing it. Editorial suggestion: before the run starts, check that every item's identifier is unique within the batch. Two files with the same slug, or two rows with the same key, will make the record ambiguous at exactly the point where it needs to be precise.

There is also a cost reminder in Google's documentation: a batch "counts toward your usage limit and operations costs as n requests, not as one request," and "The batch request is taken apart into a set of n requests before processing" (Google Cloud, Send batch requests). Batching reduces round trips. It does not turn many operations into one, and so it does not make the record any simpler. A batch of 100 still produces 100 outcomes.

7. What all these designs have in common

Putting the sources side by side produces a short list of shared features.

FeatureWhere it appearsWhat it prevents
Outer status does not mean item successRFC 4918, Graph, SQSA green run hiding red items
Every result names its itemRFC 4918 (href), SQS (Id), Graph (id)Results that cannot be matched to inputs
Result list matches input listKinesis, Cloud Storage, ElasticsearchItems disappearing without a result
Failures carry a cause and a fault sideSQS (Code, SenderFault)Retrying errors that will never succeed
Dependent items get a distinct statusGraph (424)Blaming the wrong item
Unfinished items are returned for retryDynamoDB (UnprocessedItems), LambdaRedoing finished work
A summary flag says "look inside"Elasticsearch (errors), Kinesis (FailedRecordCount)Readers skipping the detail
Batch is not atomicDynamoDB, KinesisAssuming a failure undid earlier items

Editorial suggestion: a per-file record for a small automation should have every feature in this table. None of them requires special tools; a CSV or JSON file written by the script is enough.

8. The statuses to use

The Grok draft proposed four statuses: succeeded, failed, skipped, unknown. Those are a good base. Two more distinctions are worth making explicit, giving six (editorial suggestion):

StatusMeaningNext action
succeededThe effect happened and was confirmedNone
failed (permanent)The item cannot succeed without a change to it or its configurationFix input, then retry
failed (transient)A throttle, timeout before sending, or service error; may succeed laterRetry with backoff
skippedDeliberately not attempted (excluded, or a dependency failed)Depends on reason; name the dependency
unknownThe request may have taken effect, but no confirmation was receivedCheck the target before any retry
not startedThe run stopped before reaching itInclude in the next run

The "unknown" status deserves its own explanation, because it is the one most often collapsed into "failed." Stripe's error-handling documentation describes it for network errors: "Treat the result of the API call as indeterminate. That is, don't assume that it succeeded or that it failed. To find out if it succeeded, you can: Retrieve the relevant object from Stripe and check its status." Its summary table puts the same idea in two rows: when "A connection fails or a request is still executing," the answer is "Retry safely with the same idempotency key and parameters"; when "A server error or another failure leaves the outcome unknown," the answer is "Reconcile the request before starting another operation" (Stripe, Error handling, vendor documentation as of 26 November 2026). The same reasoning applies to an upload that timed out after its bytes were sent: the file may be there.

The difference between "skipped" and "not started" also matters. "Skipped" means a decision was made about the item. "Not started" means no decision was made. Merging them hides whether the run reached the item at all.

9. A per-item record

Each row of the record describes one item. The fields below are an editorial suggestion, extended from the Grok draft.

FieldExampleNotes
itemq61.mdA stable identifier: path, slug or ID
actionupload to Research/2026-11What was supposed to happen
statusone of the six above
evidencefile ID, URL, content hash, or error text with secrets removedWhat makes the status believable
fault sidecaller / service / unknownBorrowed from SQS's SenderFault
attempted at2026-11-26T14:03:12ZTimestamp with time zone
attempts2With the same idempotency key, where the target supports one
depends onindex.md built after thisSo a failure can propagate correctly
next actionnone / retry / check target / fix input / ask owner

Evidence is the field that separates a record from a guess. "Succeeded" with a returned file ID and a content hash can be checked by anyone. "Succeeded" with no evidence is the script's opinion. For deletions, remember the S3 detail from section 4: a "deleted" result can be returned for an object that never existed, so the evidence for a delete is better taken from a listing before the run than from the delete response.

10. The summary line and the arithmetic check

Below the per-item rows, the record should carry a summary such as:

20 attempted: 14 succeeded, 2 failed (permanent), 1 failed (transient), 2 unknown, 1 skipped (dependency failed)

The numbers must add up to the total. That simple check catches a surprising class of bug: an item that fell through every branch of the script's error handling and was never recorded at all. Kinesis's documented guarantee that the response array "always includes the same number of records as the request array" (AWS, PutRecords) is the API-level version of the same check.

Editorial suggestion: the script should compute the totals from the rows and refuse to write a summary whose total differs from the input count, flagging the run as "record incomplete" instead.

11. Rules that keep partial runs honest

The following rules are editorial suggestions, each tied to the documented behavior that motivates it.

  1. Derive the run status from the items. "Complete" only when every item succeeded and was confirmed; otherwise "partial" or "failed." Never set the run status first and fill in items afterward.
  2. List successes explicitly. The Lambda rule that an empty failure list means complete success shows how a missing list can turn into a false success.
  3. Propagate dependencies. If file A failed, anything built from A is "skipped (depends on A)," following Graph's 424 pattern, not a fresh failure of its own.
  4. Retry only what needs it. DynamoDB's loop over UnprocessedItems is the model: resend only the unfinished items, with backoff.
  5. Resolve unknowns by checking the target first. Stripe's advice to retrieve the object before deciding applies to files as much as payments.
  6. Do not assume earlier items were undone. Batches are generally not atomic; DynamoDB says so of BatchWriteItem, and Terraform says it "does not automatically roll back a partially-completed apply" (HashiCorp, terraform apply).
  7. Do not assume later items were skipped. Kinesis documents that "A single record failure does not stop the processing of subsequent records." Unless your script stops at the first failure, items after a failure may have succeeded.
  8. Keep the record with the output. A manifest file next to the uploads, or in the same commit, is found by whoever finds the files.
  9. Never round up. "Almost all done" in a message to a person should still name what is not done.

12. Writing the record as you go

A record written only at the end is lost if the script crashes. Editorial suggestion: append each item's row to the record as soon as its status is known, then compute the summary at the end. If the process dies, the rows already written still show every finished item, and the missing summary is itself a signal that the run ended abnormally.

The order of operations within one item matters too. Record the attempt before making the request ("attempting, key K"), then update the row with the result. If the process dies between the two, the next run finds a row marked "attempting" with no result, which it should treat as "unknown" and check, not as "not started" and redo.

13. Resuming from a partial record

A good record makes the next run simple. The resume logic, as an editorial suggestion:

  1. Read the record. Leave every "succeeded" item alone.
  2. For each "unknown" item, check the target. If the effect is there, update the row to "succeeded" with the evidence found. If not, move it to "not started."
  3. For each "failed (transient)" item, retry, with backoff and the same idempotency key if the target supports one.
  4. For each "failed (permanent)" item, check whether its input or configuration has changed. If not, leave it failed; retrying will produce the same error.
  5. For each "skipped (dependency)" item, check whether the dependency now succeeds.
  6. Process "not started" items as normal.
  7. Write a new record for the new run, referring to the old one, rather than editing the old one in place. The history of how an item got to "succeeded" is part of its evidence.

14. Worked example: an eight-article publish (hypothetical)

Hypothetical example, adapted from the Grok draft. A script publishes eight articles to a site. The first run's record:

run: publish-2026-11-26-a
8 attempted: 6 succeeded, 1 failed (permanent), 1 unknown
- article-01 .. article-06: succeeded (page IDs and content hashes listed)
- article-07: failed (permanent): image exceeds upload size limit
- article-08: unknown: request timed out after the body was sent
next: check article-08 on the target; resize article-07's image

The next run checks article-08 on the target first. It finds the page, with a content hash that matches the reviewed draft, so it updates the row to "succeeded" with that evidence. It does not republish it. It then retries article-07 after the image has been resized, and that succeeds. The final record shows eight of eight succeeded, with an audit trail for the two that needed attention.

Hypothetical variant. Suppose the first run had recorded only "FAILED." A person reruns the whole batch. Articles 01 to 06 are published a second time; depending on the site, that may create duplicate pages or bump their "updated" dates. Article-08 is published a second time too, since nobody knew it had gone through. Article-07 fails again because nobody saw why it failed the first time. One word in the record cost seven duplicate operations and one repeated failure.

15. Worked example: the index page that depends on every article (hypothetical)

Hypothetical example. A batch converts twelve Markdown files to HTML and then rebuilds a contents page that links to all twelve. File 9 fails to convert because of a malformed table.

A record without dependencies shows: 11 converted, 1 failed, contents page "failed: missing input." The contents page looks like a second, separate problem.

A record with dependencies shows: 11 converted, 1 failed (permanent: malformed table in file 9), contents page "skipped (depends on file 9)." The reader sees one problem with one cause. Once file 9 is fixed, the resume logic in section 13 picks up both the file and the contents page, because the skipped item names the dependency that blocked it. This is the file-batch version of Graph's documented behavior, where a request that depends on a failed request "fails with status code 424 (Failed Dependency)" (Microsoft Learn, JSON batching).

16. What goes in the record, and what stays out

A partial-success record is often shared, pasted into a ticket or committed to a repository. Two cautions (editorial suggestions):

  • Strip secrets from error text. API errors sometimes echo back request headers or URLs that contain tokens. The evidence field should keep the error code and a safe excerpt of the message, not the raw response.
  • Do not store content in the record. Store a hash or an ID that points to the content. A record that contains full documents becomes large, is hard to read, and spreads copies of material that may later be corrected.

What should always be in the record: the stable item identifier, the status, the evidence pointer, the time, and the next action. With those five, anyone can reconstruct what happened.

17. Checklist

Before running a multi-file automation (editorial suggestion):

  1. Freeze the input list and store it with the run.
  2. Choose the statuses (the six in section 8 or your own) and write down their meanings.
  3. Decide which errors are permanent and which are transient.
  4. Write down dependencies between items.
  5. Decide what counts as evidence for each kind of action.

After running it:

  1. Confirm the record has one row per input item.
  2. Confirm the totals add up to the input count.
  3. Confirm every "succeeded" row has evidence.
  4. Confirm every "unknown" row says what to check.
  5. Derive the run status from the rows.
  6. Store the record next to the output.

18. What the evidence does and does not show

It shows that standards bodies and major cloud providers, independently, designed batch interfaces that report results per item, require each result to identify its item, and warn in their documentation that a successful batch response says nothing about individual items. It shows that several of these batches are documented as non-atomic, that some continue past failures, that one reports a "deleted" result for objects that did not exist, and that one treats an empty failure list as complete success. It shows that at least one payment provider documents "indeterminate" as a distinct outcome needing a check before retry.

It does not show that any particular record format is best; the fields, the six statuses and the resume procedure on this page are editorial suggestions modeled on those designs. None of the sources measures how often partial runs are misreported or what that costs. Batch size limits and API behaviors quoted here (20 Graph requests, 25 DynamoDB operations, 500 Kinesis records, 1,000 S3 keys, 100 Cloud Storage calls) are documented values as of 26 November 2026 and may change.

Related reading on Apiary

  • guide-record-an-automation-failure-so-someone-can-reproduce-it
  • guide-create-a-rollback-note-before-publishing-a-content-batch
  • request-failure-vs-unknown-execution-outcome
  • biggie-idempotency-in-apis
  • reconcile-a-writing-batch-with-a-manifest
  • guide-design-a-small-automation-with-a-stop-condition

Sources

Last checked: 2026-11-26.

  1. Dusseault, L. (ed.). "RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)." IETF, June 2007. https://www.rfc-editor.org/rfc/rfc4918 - 207 Multi-Status (§11.1, §13), per-resource href, partial-success use, handling unexpected status codes.
  2. Microsoft. "Combine multiple HTTP requests using JSON batching." Microsoft Graph documentation, Microsoft Learn. https://learn.microsoft.com/en-us/graph/json-batching - 200 does not mean item success, dependsOn and 424, sequential-or-parallel tip, 20-request limit, per-request 429.
  3. Amazon Web Services. "SendMessageBatch." Amazon SQS API Reference. https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessageBatch.html - per-message results, check errors on 200, Successful and Failed lists, SenderFault.
  4. Amazon Web Services. "BatchWriteItem." Amazon DynamoDB API Reference. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchWriteItem.html - 25 operations, per-item atomic but batch not atomic, UnprocessedItems loop, exponential backoff.
  5. Amazon Web Services. "PutRecords." Amazon Kinesis Data Streams API Reference. https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecords.html - 500 records, response array matches request, FailedRecordCount, failures do not stop later records.
  6. Amazon Web Services. "DeleteObjects." Amazon S3 API Reference. https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html - 1,000 keys, per-key result, not-found reported as deleted, quiet mode.
  7. Amazon Web Services. "Handling errors for an SQS event source in Lambda." AWS Lambda Developer Guide. https://docs.aws.amazon.com/lambda/latest/dg/services-sqs-errorhandling.html - ReportBatchItemFailures, exception fails whole batch, empty list equals success, invalid identifiers equal failure.
  8. Google Cloud. "Send batch requests." Cloud Storage documentation. https://cloud.google.com/storage/docs/batch - 100-call guidance, response order matches requests, each part a full HTTP response, n requests billed as n.
  9. Elastic. "Bulk index or delete documents." Elasticsearch API documentation. https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk - errors flag and per-item results in submission order.
  10. Stripe. "Error handling." Stripe documentation. https://docs.stripe.com/error-handling - indeterminate outcomes, retrieve object to check, retry with same idempotency key, reconcile before another operation.
  11. Kubernetes Authors. "Jobs." Kubernetes documentation. https://kubernetes.io/docs/concepts/workloads/controllers/job/ - Job marked failed even if nearly all indexes succeeded.
  12. HashiCorp. "terraform apply command reference." Terraform documentation. https://developer.hashicorp.com/terraform/cli/commands/apply - no automatic rollback of a partially completed apply.
Frequently asked
What is How to Record Partial Success Across Files: When Some Worked and Some Didn't about?
When an automation works on many files at once, such as uploading a folder, converting a set of drafts or publishing a batch of articles, the most common…
What should you know about 1. Why a single status lies?
A single status for a multi-item run must compress many facts into one word, and every possible word is misleading in some case.
What should you know about 2. Standards report status per item: WebDAV's 207 Multi-Status?
The HTTP extensions for WebDAV, published in 2007, include a status code built for this problem. RFC 4918 defines it simply: "The 207 (Multi-Status) status code provides status for multiple independent operations" ( RFC 4918, §11.1 ).
What should you know about 3. Microsoft Graph JSON batching: a 200 that means nothing about the items?
Microsoft Graph lets a client combine several API calls into one HTTP request. Its documentation makes the same point as RFC 4918 in plainer language: "A 200 status code on the batch response headers doesn't indicate that the individual requests inside the batch succeeded. This is why each individual response in the…
What should you know about 4. AWS batch APIs: the same lesson, five ways?
Several AWS services offer batch operations, and their reference pages describe partial results in ways that are directly useful for anyone designing a record (vendor documentation, all as of 26 November 2026).
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room