Osr2 is preferentially upregulated in deeply exhausted, tumor-specific CD8+ T cells through the combined input of TCR activation and mechanical stress transmitted via the Piezo1–calcium–CREB pathway. Here, OSR2 is linked to neoplasm.