epacadostat and pembrolizumab before surgery in treating participants with stage ii-iii esophageal or gastroesophageal cancer

Conditions: Esophageal Squamous Cell Carcinoma; Esophageal Adenocarcinoma; Gastroesophageal Junction Adenocarcinoma

Summary: this phase ii trial studies the side effects of epacadostat and pembrolizumab and to see how well they work before surgery in treating participants with stage ii-iii esophageal or gastroesophageal cancer. epacadostat may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. monoclonal antibodies, such as pembrolizumab, may interfere with the ability of the tumor cells to grow and spread. giving epacadostat and pembrolizumab before surgery may work better in treating participants with stage ii-iii esophageal or gastroesophageal cancer.

primary objectives: i. to establish that the combination of epacadostat and pembrolizumab will lead to an increase in tumor infiltrating cytotoxic t-cells and circulating cytotoxic t cells and a reduction in immunosuppressive tregs and myeloid-derived suppressor cells (mdscs) in esophageal/gastroesophageal junction (gej) tumors that can arise after treatment with neoadjuvant chemoradiation. ii. to assess safety and tolerability of pembrolizumab and epacadostat (immunotherapy) in this patient population. secondary objectives: i. to evaluate pathologic complete response rate (path cr) and correlate with tumor t-cell response. ii. to evaluate complete clinical response rate (clinical cr) and subsequent avoidance of esophagectomy and correlate with tumor t-cell response. iii. to evaluate toxicities with the combination of pembrolizumab and epacadostat in this treatment setting. iv. to evaluate disease-free survival (dfs) and overall survival (os) in this treatment population. exploratory objectives: i. to measure changes in whole genome serum micro ribonucleic acid (mirna) signatures before and after protocol therapy and correlate with tumor/immune/stromal cell mirna expression profiling determined by deep sequencing. ii. to assess the role of circulating mir-23a as serum biomarker given its role as an oncomir in esophagastric cancer and reporting in the literature of suppressing tumor cytotoxic t cells in preclinical models. iii. to correlate diversity in the gut microbiome with path cr and clinical cr after treatment with pembrolizumab and epacadostat. iv. to measure serial plasma kynurenine/tryptophan ratio levels as a pharmacodynamic marker of increased ido1 activity and response. v. association of pd-l1 expression, microsatellite stability and/or ido1 expression and pathological complete response (pcr) rate. outline: starting 14 days after completion of standard of care chemoradiotherapy, participants receive epacadostat orally (po) twice daily (bid) during weeks 3-8 and pembrolizumab intravenously (iv) over 30 minutes on day 1 of weeks 3 and 6 in the absence of disease progression or unacceptable toxicity. after completion of study treatment, participants are followed up at one month and then every 3 months in year 1, every 4 months in year 2, and every 6 months in year 3.

Eligibility criteria:
inclusion criteria: * documented informed consent of the participant and/or legally authorized representative * agreement to allow the use of archival tissue from diagnostic tumor biopsies * if unavailable, exceptions may be granted only with study principal investigator (pi) approval * eastern cooperative oncology group (ecog) =\< 2 * non-metastatic cancer of the esophagus or esophagus and gastroesophageal junction (gej; tumor extending =\< 2 cm into the stomach) * confirmed stage ii-iii diagnosis of one of the following: * squamous cell; or * adenocarcinoma; or * mixed adenosquamous carcinoma * deemed appropriate for neoadjuvant chemoradiation by the multidisciplinary team (surgeon, medical oncologist, and radiation oncologist) * chemotherapy defined as weekly carboplatin/paclitaxel; and * radiation defined as external beam radiotherapy defined as: 50.4 gray (gy) as per institutional and national treatment guidelines * deemed appropriate for esophagectomy or repeat endoscopic biopsies if non-operative management is pursued * absolute neutrophil count (anc) \>= 1500/mm\^3 within 14 days prior to day 1 of study participation/1st endoscopic biopsy * platelets \>= 100,000/mm\^3 within 14 days prior to day 1 of study participation/1st endoscopic biopsy * serum total bilirubin =\ 1.5 x uln within 14 days prior to day 1 of study participation/1st endoscopic biopsy * aspartate aminotransferase (ast) =\< 2 x uln within 14 days prior to day 1 of study participation/1st endoscopic biopsy * alanine aminotransferase (alt) =\< 2 x uln within 14 days prior to day 1 of study participation/1st endoscopic biopsy * creatinine =\ 1.5 x uln creatinine clearance of \>=60 ml/min per 24 hour urine test or the cockcroft-gault formula * international normalized ratio (inr) or prothrombin time (pt) =\< 1.5 x uln within 14 days prior to day 1 of study participation/1st endoscopic biopsy * activated partial thromboplastin time (aptt) =\< 1.5 x uln * female of childbearing potential only: negative urine or serum pregnancy test; if the urine test is positive or cannot be confirmed as negative, a serum pregnancy test will be required * agreement by women of childbearing potential (wocbp) and males of childbearing potential to use an effective method of birth control or abstain from heterosexual activity for the course of the study through at least 120 days after the last dose of protocol therapy * childbearing potential defined as not being surgically sterilized (men and women) or have not been free from menses for \> 1 year (women only) exclusion criteria: * immune checkpoint inhibitor(s) (e.g. anti-pd-1, anti-ctla4) * indoleamine-2,3-dioxygenase (ido) inhibitors * radiotherapy within 21 days prior to day 1 of study participation * investigational agent within 21 days prior to day 1 of study participation * live-virus vaccination within 30 days prior to day 1 of study participation * systemic cytotoxic chemotherapy, antineoplastic biologic therapy, or major surgery within 21 days of study participation * chronic systemic steroid therapy or on any other form of immunosuppressive medication * monoamine oxidase inhibitors (maoi) or any drug associated with maoi activity * any ugt1a9 inhibitors (including acitretin, amitriptyline, androsterone, cyclosporine, dasatinib, diclofenac, diflunisal, efavirenz, erlotinib, estradiol (17-beta), flutamide, gefitinib, gemfibrozil, glycyrrhetinic acid glycyrrhizin, imatinib, imipramine, ketoconazole, linoleic acid supplements, mefenamic acid, and mycophenolic acid, niflumic acid, nilotinib, phenobarbital, phenylbutazone, phenytoin, probenecid) * coumarin-based anticoagulants * unstable or untreated brain/leptomeningeal metastasis * clinically active diverticulitis, intra-abdominal abscess, gastrointestinal (gi) obstruction, or abdominal carcinomatosis (known risks factors for bowel perforation) * severe hypersensitivity reaction to treatment with another antibody and/or hypersensitivity to epacadostat excipients * active autoimmune disease that has required systemic treatment in the past 2 years * known history of human immunodeficiency virus (hiv), hepatitis b or hepatitis c (with confirmation of negative hepatitis b surface antigen \[hbsag\], hepatitis b virus \[hbv\] polymerase chain reaction \[pcr\], and hepatitis c virus \[hcv\] pcr) * history of pneumonitis (non-infectious) that required steroids or current pneumonitis * known history of active tuberculosis * diagnosed with or treated for cancer within the previous two years, other than histologies listed in inclusion criteria or non-melanoma carcinoma of the skin * female only: pregnant or breastfeeding * any othr condition that would, in the investigator's judgement, contraindicate the patient's participation in the clinical study due to safety concerns with clinical study procedures * prospective participants who, in the opinion of the investigator, may not be able to comply with all study procedures (including compliance issues related to feasibility/logistics)