Signatures of heterogeneous tumor infiltrating TRM and “pre-exhausted” long-lived effector-memory CD8+ T cells were associated with better ICB response only in the presence of CD28. This evidence concerns the gene CD8A and neoplasm.