Repository navigation
Description
Problem
The first combined5b validation after the actual #753 RED compiled and executed571 fresh cases in80.88s:568 passed, exactly three AssertionError failures, no errors/skips/compiler/framework failures, and both fresh data/app Detekt tasks clean. All address/bearer ownership, atomic store interleaving, no-observed-send, metadata, log-state and baseline-budget checks passed.
The three failures are the same test over REST/Connect/gRPC: it uses assertSame on a CancellationException returned through real asynchronous network and withContext suspension. The actual object is still CancellationException with the same synthetic message, but a different reference. The pinned kotlinx-coroutines-core-jvm1.11.0 sources explicitly copy recoverable throwables for stack-trace recovery; the String constructor path installs the original exception as cause. This differs from the old swallowed-cancellation behaviour, whose actual RED returned no thrown cancellation at all.
Correction
Keep production cancellation propagation, stack recovery and build settings unchanged. The test must require a thrown CancellationException and preserve provenance by finding the original cancellation in a bounded cause chain, accepting the original object or a recovered copy. It must still fail when cancellation becomes Result.failure(SignInRequired), a non-cancellation error or an unrelated synthetic cancellation. Record the distinction transparently rather than forcing reference identity in production or disabling stack recovery.
Acceptance
- Replace only the overstrong cancellation reference check with cancellation type plus original-cause provenance; preserve all other issue753 behavioural assertions.
- Re-run the affected data cohort and Detekt under a fresh exact resource grant; retain previous571-case/failure evidence and input bytes.
- Complete unfiltered5b gates, independent review, dev/master, signed native and production acceptance with Move the remaining Android remotes to v2 transports (stage 5b) #746/Keep a late diary token refusal from clearing a replacement session #753.
After actual independent release, exactly one test source changed; all129 other source inputs, including production/build/app/model/baselines, remained byte-identical. The existing actual pre-fix RED had null instead of a thrown cancellation, so the corrected contract continues to reject that failure mode.
Observed validation
A fresh exact admission executed one selected affected-data command:467 fresh cases passed, failures/errors/skips0, fresh data Detekt0, exit0 in39.79s. The three cancellation cases require both a thrown CancellationException and the original instance in a bounded cause chain; swallowed null, Result conversion and unrelated cancellation still fail. All earlier failed evidence and130 original inputs/request are retained. The coordinator independently checked fresh reports and owned process absence before actual release. No app/model rerun or full/native/delivery acceptance is inferred; those remain with #746.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsNow
Activity