Here the authors show that CD39 and CD103 mark a subset of tumor-infiltrating CD8 T cells that are tumor-reactive and exhibit characteristics of exhausted or tissue-resident memory T cells. This evidence concerns the gene CD8A and neoplasm.