testing immunotherapy (atezolizumab) with or without chemotherapy in locoregional msi-h/dmmr gastric and gastroesophageal junction (gej) cancer

Conditions: Clinical Stage I Gastric Cancer AJCC v8; Clinical Stage I Gastroesophageal Junction Adenocarcinoma AJCC v8; Clinical Stage II Gastric Cancer AJCC v8; Clinical Stage II Gastroesophageal Junction Adenocarcinoma AJCC v8; Clinical Stage III Gastric Cancer AJCC v8; Clinical Stage III Gastroesophageal Junction Adenocarcinoma AJCC v8; Clinical Stage IVA Gastric Cancer AJCC v8; Clinical Stage IVA Gastroesophageal Junction Adenocarcinoma AJCC v8; Gastric Adenocarcinoma; Gastroesophageal Junction Adenocarcinoma

Summary: this phase ii trial compares atezolizumab in combination with chemotherapy (docetaxel, oxaliplatin, leucovorin calcium, fluorouracil, capecitabine) to atezolizumab alone for controlling the growth and/or spreading of the disease in patients with gastric or gastroesophageal junction (jeg) cancer that has not spread from where it first started (local) or only has spread to nearby lymph nodes or tissue (locoregional) and has high microsatellite instability (msi-h) and mismatch repair deficiency (dmmr). the mismatch repair (mmr) system in the body corrects errors made during the copying of dna and serves as a proofreading function. if this system isn't working correctly, mutations (changes) in dna occur which can allow the cancer to grow or spread. this is called dmmr (deficient mismatch repair) . msi-h describes cancer cells that have a high number of mutations within microsatellites. for example, microsatellite testing that shows mutations in 30% or more microsatellites is called microsatellite instability-high (msi-h). microsatellites are short, repeated sequences of dna. there is evidence that msi-h/ dmmr gastric or gej tumors respond well to immunotherapy. immunotherapy with monoclonal antibodies, such as atezolizumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. docetaxel is in a class of medications called taxanes. it stops tumor cells from growing and dividing and may kill them. oxaliplatin is in a class of medications called platinum-containing antineoplastic agents. it damages the cell's dna and may kill tumor cells. capecitabine is in a class of medications called antimetabolites. it is taken up by tumor cells and breaks down into fluorouracil, a substance that kills tumor cells. chemotherapy drugs such as leucovorin calcium and fluorouracil work in different ways to stop the growth of tumor cells, either by killing the cells, by stopping them from dividing, or by stopping them from spreading. using atezolizumab as immunotherapy with and following chemotherapy versus atezolizumab alone prior to and after surgery may shrink or stabilize the tumor in patients with msi-h/dmmr localized gastric or gej cancer and may increase the length of time after treatment that cancer does not come back or get worse.

primary objective: i. to compare three-year event-free survival (efs) following the administration of perioperative atezolizumab and chemotherapy versus atezolizumab alone in patients with resectable microsatellite instability-high (msi-h)/mismatch repair deficiency (dmmr) gastric and gastroesophageal junction (gej) cancer. secondary objectives: i. to assess tumor regression grade (trg) rates following the administration of perioperative atezolizumab and chemotherapy versus atezolizumab in patients with resectable msi-h/dmmr gastric and gastroesophageal junction (gej) cancer. ii. to assess overall survival (os) following the administration of perioperative atezolizumab and chemotherapy versus atezolizumab in patients with resectable msi-h/dmmr gastric and gastroesophageal junction (gej) cancer. iii. to assess the toxicity associated with the administration of perioperative atezolizumab and chemotherapy versus atezolizumab in patients with resectable msi-h/dmmr gastric and gastroesophageal junction (gej) cancer. iv. to correlate circulating tumor-derived deoxyribonucleic acid (ctdna) clearance (defined as \> 50% reduction or a reduction to undetectable levels) with trg, efs and os. outline: patients are randomized to 1 of 2 arms. arm a: neoadjuvant therapy: patients receive physician's choice of chemotherapy regimen consisting of 4 cycles of docetaxel intravenously (iv), oxaliplatin iv, leucovorin calcium iv, and fluorouracil iv (flot) or 4 cycles of oxaliplatin iv, leucovorin calcium iv, and fluorouracil iv (mfolfox) or 3 cycles of oxaliplatin iv and capecitabine orally (po) (capox) in addition to atezolizumab iv on study. surgery: patients undergo surgery with lymphadenectomy on study. adjuvant therapy: patients receive flot, mfolfox, or capox and atezolizumab iv as in neoadjuvant therapy and then receive atezolizumab iv alone. arm b: neoadjuvant therapy: patients receive 3 cycles of atezolizumab iv on study. surgery: patients undergo surgery with lymphadenectomy on study. adjuvant therapy: patients receive 9 cycles of atezolizumab iv on study. all patients also undergo computed tomography (ct) or magnetic resonance imaging (mri) throughout the trial. patients may optionally undergo positron emission tomography (pet)/ct and/or collection of blood samples throughout the trial. patients may also undergo echocardiography (echo) throughout the trial as clinically indicated. patients are followed up for 10 years from the date of randomization.

Eligibility criteria:
inclusion criteria: * patient must be \>= 18 years of age * patient must have histologically or cytologically confirmed diagnosis of gastric or gastroesophageal junction adenocarcinoma that is msi-h/dmmr (microsatellite instability-high/mismatch repair deficient) as determined by one of three methods: * deficient deoxyribonucleic acid (dna) mismatch repair protein (mmr) expression status: mmr status must be assessed by immunohistochemistry (ihc) for mmr protein expression (mlh1, msh2, msh6, pms2) where loss of one or more proteins indicates dmmr. dmmr may be determined either locally or by site-selected reference lab by clinical laboratory improvement act (clia)-certified assay * note: loss of mlh1 and pms2 commonly occur together * polymerase chain reaction (pcr) determined microsatellite instability * msi-h tumor status determined by next-generation sequencing * patient must have previously untreated localized gastric, or siewert type ii or iii gej (gastroesophageal junction) adenocarcinoma. tumors must be staged as t2 or greater primary lesion or be any t stage with the presence of positive locoregional lymph nodes- n+ (clinical nodes) without evidence of metastatic disease * siewert type ii tumors: tumors located between 1 cm proximal and 2 cm distal to the gej * siewert type iii tumors: tumors located between 2 and 5 cm distal to gej * patient must be amenable to surgical resection with therapeutic intent * patient must have an eastern cooperative oncology group (ecog) performance status 0-2 * absolute neutrophil count (anc) \>= 1,500/mcl (obtained =\< 14 days prior to randomization) * platelets \>= 100,000/mcl (obtained =\< 14 days prior to randomization) * hemoglobin \>= 9 g/dl (obtained =\< 14 days prior to randomization) * total bilirubin =\ 1.5 x uln) (obtained =\< 14 days prior to randomization) * aspartate aminotransferase (ast) (serum glutamic-oxaloacetic transaminase \[sgot\])/alanine aminotransferase (alt) (serum glutamate pyruvate transaminase \[sgpt\]): x =\< 3 institutional uln (obtained =\< 14 days prior to randomization) * creatinine =\ 50 ml/min/1.73m\^2 (obtained =\< 14 days prior to randomization) * albumin \>= 2.5 g/dl (obtained =\< 14 days prior to randomization) * international normalized ratio (inr) or prothrombin time (pt) =\< 1.5 x uln (unless patient is receiving anticoagulant therapy as long as pt or partial thromboplastin time \[ptt\] is within therapeutic range of intended use of anticoagulants) (obtained =\< 14 days prior to randomization) * activated partial thromboplastin time (aptt) =\< 1.5 x uln (unless patient is receiving anticoagulant therapy as long as pt or ptt is within therapeutic range of intended use of anticoagulants) (obtained =\< 14 days prior to randomization) * human immunodeficiency virus (hiv)-infected patients on effective anti-retroviral therapy with undetectable viral load within 6 months are eligible for this trial * patient must have no contraindications to receive one of the chemotherapy regimens: flot or mfolfox / capox * patient must not have had prior potentially curative surgery for carcinoma of the stomach/gej * patient must not receive any other standard anti-cancer therapy or experimental agent concurrently with the study drugs * patient must have recovered from clinically significant adverse events of their most recent therapy/intervention prior to randomization * patients with known history or current symptoms of cardiac disease, or history of treatment with cardiotoxic agents, should have a clinical risk assessment of cardiac function using the new york heart association functional classification. to be eligible for this trial, patients should be class 2b or better * patients with a prior or concurrent malignancy whose natural history or treatment does not have the potential to interfere with the safety or efficacy assessment of the investigational regimen are eligible for this trial * patient must have chest/abdomen/pelvis ct completed within 4 weeks prior to randomization * patient may not have received prior treatment with an immune checkpoint inhibitor (anti-pd-1, anti-pdl-1, anti-pdl-2, anti-ctla4 monoclonal antibody) * patient must not have received any live vaccines within 30 days prior to randomization and while participating in the study. live vaccines include, but are not limited to, the following: measles, mumps, rubella, chicken pox, yellow fever, rabies, bacillus calmette-guerin (bcg), and typhoid (oral) vaccine. patients are permitted to receive inactivated vaccines and any non-live vaccines including those for the seasonal influenza and coronavirus disease 2019 (covid-19) (note: intranasal influenza vaccines, such as flu-mist \[registered trademark\] are live attenuated vaccines and are not allowed). if possible, it is recommended to separate study drug administration from vaccine administration by about a week (primarily, in order to minimize an overlap of adverse events) * patient must not have active autoimmune disease or history of autoimmune disease that might recur, which may affect vital organ function or require immune suppressive treatment including systemic corticosteroids. these include but are not limited to patients with a history of immune related neurologic disease, multiple sclerosis, autoimmune (demyelinating) neuropathy, guillain- barre syndrome, myasthenia gravis; systemic autoimmune disease such as systemic lupus erythematosus (sle), connective tissue disease, scleroderma, inflammatory bowel disease (ibd), crohn's, ulcerative colitis and hepatitis. patients with a history of toxic epidermal necrolysis (ten), stevens-johnson syndrome, or phospholipid syndrome are ineligible because of the risk of recurrence or exacerbation of disease. patients with vitiligo, endocrine deficiencies including thyroiditis managed with replacement hormones including physiologic corticosteroids are eligible. patients with rheumatoid arthritis and other arthropathies, sjogren's syndrome and psoriasis controlled with topical medication and patients with positive serology, such as antinuclear antibodies (ana), anti-thyroid antibodies should be evaluated for the presence of target organ involvement and potential need for systemic treatment but otherwise are eligible. * patients are permitted to enroll if they have vitiligo, type i diabetes mellitus, residual hypothyroidism due to autoimmune condition only requiring hormone replacement, psoriasis not requiring systemic treatment, or conditions not expected to recur in the absence of an external trigger (precipitating event) * patients must not be receiving systemic steroid therapy equivalent to \> 10 mg prednisone per day or any other form of immunosuppressive therapy within 7 days prior to randomization. topical corticosteroid or occasional inhaled corticosteroids are allowed * patient must not have known interstitial lung disease that is symptomatic or may interfere with the detection or management of suspected drug-related pulmonary toxicity, and must not have a known history of prior pneumonitis requiring treatment with steroids, or any evidence of active, non-infectious pneumonitis * patient must not have a known history of active tb (bacillus tuberculosis) * patient must not have any hypersensitivity to atezolizumab or any of its excipients * patient must not have received any prior chemotherapy, targeted small molecule therapy, or radiation therapy for their msi-h/dmmr gastric and gej cancer * patient must not have had an allogeneic bone marrow/stem, cell or solid organ transplant * patient must not have a history or current evidence of any condition (e.g., known deficiency of the enzyme dihydropyrimidine dehydrogenase \[dpd\]), therapy, or laboratory abnormality that might confound the results of the trial, interfere with the patient's participation for the full duration of the trial, or is not in the best interest of the patient to participate, in the opinion of the treating investigator * patient must not have any condition that would interfere with the cooperation with the requirements of this trial * patient must not be pregnant or breast-feeding due to the potential harm to an unborn fetus and possible risk for adverse events in nursing infants with the treatment regimens being used * all patients of childbearing potential must have a blood test or urine study within 14 days prior to randomization to rule out pregnancy * a patient of childbearing potential is defined as anyone, regardless of sexual orientation or whether they have undergone tubal ligation, who meets the following criteria: 1) has achieved menarche at some point, 2) has not undergone a hysterectomy or bilateral oophorectomy; or 3) has not been naturally postmenopausal (amenorrhea following cancer therapy does not rule out childbearing potential) for at least 24 consecutive months (i.e., has had menses at any time in the preceding 24 consecutive months) * patient must not expect to conceive or father children by using accepted and effective method(s) of contraception or by abstaining from sexual intercourse while on protocol treatment. patients of childbearing potential must continue contraception measures for 5 months after the last dose of atezolizumab and for 9 months after the last dose of chemotherapy. male patients with partners of childbearing potential must continue contraception measures for 6 months after the last dose of chemotherapy. patients of childbearing potential must also not breastfeed while on treatment and for 5 months after the last dose of atezolizumab and for 3 months after the last dose of chemotherapy * patient must have the ability to understand and the willingness to sign a written informed consent document. patients with impaired decision-making capacity (idmc) who have a legally authorized representative (lar) or caregiver and/or family member available will also be considered eligible * for patients with evidence of chronic hepatitis b virus (hbv) infection, the hbv viral load must be undetectable on suppressive therapy, if indicated * patients with a history of hepatitis c virus (hcv) infection must have been treated and cured. for patients with hcv infection who are currently on treatment, they are eligible if they have an undetectable hcv viral load * the investigator must declare the chemotherapy regimen their patient will receive (flot or mfolfox / capox) prior to randomization