Hard failure
Use case:
* A PR contains two long-running changesets. The first completes successfully (for example, after 3 hours) and the second fails.
* Today, the pipeline rolls back all changes already run in that PR, including the successful 3-hour one. This is expensive and extends the overall impact time.
* Today we use a custom workaround that removes the failed entry from the main repo to prevent recurrence. The changeset then disappears from the repo, so we lose visibility into what failed and why.
Expected behavior:
* The pipeline does not roll back changesets that already succeeded in the PR, since a partial PR execution is acceptable.
* The failed changeset is quarantined, not deleted, so it stays visible in the repo.
* On later runs (including runs for unrelated changes), the pipeline recognizes the quarantined changeset by its signature and state and skips it with a clear message, such as “not executed: quarantined, fix pending.”
* A dashboard or equivalent mechanism lets teams view and manage quarantined changesets.
* After a fix-forward, the team can unquarantine and reprocess the changeset. This works like the exception and reprocessing features in messaging products, where failed messages go to an exception queue and can be replayed once fixed.
Soft failure
Use case:
* A DML statement is expected to update 10 records, but a filter condition mismatch updates only 9. The pipeline reports no technical failure, but the logical result does not match the expectation.
* Soft failures go unnoticed because nothing surfaces as an error, unlike hard failures, which show up everywhere.
Expected behavior:
* A logical verification failure automatically triggers a rollback.
* The failure is surfaced to users even though the run raised no technical error.
* The failed changeset is quarantined using the same mechanism as hard failures, so it does not re-run on the next pipeline execution.