mfolfirinox versus mfolfox with or without nivolumab for the treatment of advanced, unresectable, or metastatic her2 negative esophageal, gastroesophageal junction, and gastric adenocarcinoma

Conditions: Advanced Esophageal Adenocarcinoma; Advanced Gastric Adenocarcinoma; Advanced Gastroesophageal Junction Adenocarcinoma; Clinical Stage III Esophageal Adenocarcinoma AJCC v8; Clinical Stage III Gastric Cancer AJCC v8; Clinical Stage III Gastroesophageal Junction Adenocarcinoma AJCC v8; Clinical Stage IV Esophageal Adenocarcinoma AJCC v8; Clinical Stage IV Gastric Cancer AJCC v8; Clinical Stage IV Gastroesophageal Junction Adenocarcinoma AJCC v8; Metastatic Esophageal Adenocarcinoma; Metastatic Gastric Adenocarcinoma; Metastatic Gastroesophageal Junction Adenocarcinoma; Unresectable Esophageal Adenocarcinoma; Unresectable Gastric Adenocarcinoma; Unresectable Gastroesophageal Junction Adenocarcinoma

Summary: this phase iii trial compares the effect of modified fluorouracil, leucovorin calcium, oxaliplatin, and irinotecan (mfolfirinox) to modified fluorouracil, leucovorin calcium, and oxaliplatin (mfolfox) for the treatment of advanced, unresectable, or metastatic her2 negative esophageal, gastroesophageal junction, and gastric adenocarcinoma. the usual approach for patients is treatment with folfox chemotherapy. chemotherapy drugs 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. fluorouracil stops cells from making dna and it may kill tumor cells. leucovorin is used with fluorouracil to enhance the effects of the drug. oxaliplatin works by killing, stopping, or slowing the growth of tumor cells. some patients also receive an immunotherapy drug, nivolumab, in addition to folfox chemotherapy. immunotherapy may induce changes in body's immune system and may interfere with the ability of tumor cells to grow and spread. irinotecan blocks certain enzymes needed for cell division and dna repair, and it may kill tumor cells. adding irinotecan to the folfox regimen could shrink the cancer and extend the life of patients with advanced gastroesophageal cancers.

primary objective: i. to determine if overall survival (os) is improved in patients who received mfolfirinox +/- nivolumab in comparison to folfox +/- nivolumab as first-line chemotherapy for metastatic gastroesophageal adenocarcinoma. secondary objectives: i. to compare other indices of efficacy, including progression-free survival, objective response rates and duration of response between both treatment arms. ii. to evaluate safety and tolerability associated with treatment in each of the treatment arms. iii. to evaluate the proportion of patients receiving second line of therapy in both arms. iv. to evaluate tolerability of the treatment in both arms using patient reported outcomes-common terminology criteria for adverse events (pro-ctcae). exploratory objectives: i. exploratory correlative markers will also be measured and evaluated within and between arms to better assess mechanisms and prognostic impact of markers on impact. these will include baseline pd-l1 combined positive score (cps) and cell free deoxyribonucleic acid (cfdna) before and after treatment. ii. to evaluate and assess the feasibility and compliance associated with not centrally collecting perceived attribution of protocol treatment to reported adverse events. outline: patients are randomized to 1 of 2 arms. arm i: patients receive fluorouracil intravenously (iv), leucovorin calcium iv, oxaliplatin iv, and irinotecan iv on study and nivolumab iv as clinically indicated. patients undergo magnetic resonance imaging (mri) and a computed tomography (ct) scan throughout the trial. patients may also undergo blood sample collection on study. arm ii: patients receive fluorouracil iv, leucovorin calcium iv, and oxaliplatin iv on study and nivolumab iv as clinically indicated. patients undergo mri and a ct scan throughout the trial. patients may also undergo blood sample collection on study.

Eligibility criteria:
inclusion criteria: * histologic documentation: her2 negative adenocarcinoma as defined by american society of clinical oncology (asco) college of american pathologists (cap) guidelines (bartley et al., journal of clinical oncology \[jco\] 2017) with known pd-l1 cps (any cps is allowed, but should be known prior to registration) * stage: unresectable or metastatic * tumor site: esophagus, gastroesophageal junction, or stomach * measurable disease or non-measurable but evaluable disease as defined by response evaluation criteria in solid tumors (recist) 1.1 * no prior treatment for unresectable or metastatic disease * prior neoadjuvant or adjuvant cytotoxic chemotherapy or adjuvant immunotherapy is allowed as long as it was completed at least 1 year prior to registration * age \>= 18 years * eastern cooperative oncology group (ecog) performance status 0 or 1 * absolute neutrophil count (anc) \>= 1,500/mm\^3 * platelet count \>= 100,000/mm\^3 * creatinine =\ = 30 ml/min * total bilirubin =\< 1.5 x uln * aspartate aminotransferase (ast) and alanine aminotransferase (alt) =\< 3 x uln (in patients with liver metastasis: =\< 5 x uln if clearly attributable to liver metastases) * 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 * patients positive for human immunodeficiency virus (hiv) are eligible only if they meet all of the following: * on effective anti-retroviral therapy * undetectable hiv viral load by standard clinical assay =\< 6 months of registration * 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 who will receive nivolumab in addition to chemotherapy must not have any contraindications to immune checkpoint inhibitors * patients must not have active autoimmune disease that has required systemic treatment within 6 months prior to registration. patients are permitted to receive immunotherapy if they have vitiligo, type i diabetes, 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 have a condition requiring systemic treatment with either corticosteroids (\>10mg/day prednisone equivalents) or other immunosuppressive medications within 14 days prior to registration. inhaled or topical steroids and adrenal replacement doses (=\< 10mg/day prednisone equivalent) are permitted * patients must not have a history of noninfectious pneumonitis requiring steroids * patients with prior immune mediated adverse events related to immunotherapy that resulted in permanent treatment discontinuation with these agents are ineligible * this study includes the use of the mandatory patient completed measure, pro-ctcae. for this study the pro-ctcae is available in english, spanish, korean, chinese (simplified), and russian, hence patients must be able to speak, understand and read in these languages. ad-hoc translation of patient-reported measures is not permitted exclusion criteria: * not pregnant and not nursing, because this study involves an agent that has known genotoxic, mutagenic and teratogenic effects \* therefore, for women of childbearing potential only, a negative serum or urine pregnancy test done =\< 7 days prior to registration is required * no known gilbert's syndrome or known homozygosity for ugat1a1\*28 polymorphism * no baseline grade \>= 2 peripheral neuropathy, neurosensory toxicity, or neuromotor toxicity per ctcae version (v) 5.0 regardless of causality * no medical condition such as uncontrolled infection or uncontrolled diabetes mellitus which, in the opinion of the treating physician, would make this protocol unreasonably hazardous for the patient * no untreated, symptomatic brain metastasis. patients with treated brain metastases are eligible if the following criteria are met: 1) follow-up brain imaging done at least in 4 weeks after central nervous system (cns)-directed therapy shows no evidence of progression and 2) the patient no longer requires steroids, or is on a stable steroid dose for more than four weeks * no allogeneic tissue/organ transplant