testing azd1775 in advanced solid tumors that have a mutation called setd2

Conditions: Clear Cell Renal Cell Carcinoma; Locally Advanced Clear Cell Renal Cell Carcinoma; Locally Advanced Malignant Solid Neoplasm; Metastatic Malignant Solid Neoplasm; Metastatic Renal Cell Carcinoma; Stage III Renal Cell Cancer AJCC v8; Stage IV Renal Cell Cancer AJCC v8

Summary: this phase ii trial studies how well adavosertib works in treating patients with setd2-deficient solid tumors that have spread to other places in the body (advanced/metastatic). adavosertib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth.

primary objectives: i. to determine the objective response rate by response evaluation criteria in solid tumors (recist) 1.1 criteria of adavosertib (azd1775) in advanced solid tumor malignancies other than clear cell renal cell carcinoma with evidence of pathogenic loss of setd2 using next-generation sequencing panel. ii. to determine the objective response rate by recist 1.1 criteria of azd1775 in clear cell renal cell carcinoma with evidence of loss of setd2 using next-generation sequencing panel. secondary objectives: i. to determine the clinical benefit rate and duration of response of azd1775 in setd2-deficient tumors other than clear cell renal cell carcinoma. ii. to determine the clinical benefit rate and duration of response of azd1775 in setd2-deficient clear cell renal cell carcinoma subgroup. iii. to characterize the safety profile of azd1775. iv. to determine whether h3k36me3 expression by immunohistochemical assay is associated with clinical outcomes. outline: patients receive adavosertib orally (po) once daily (qd) on days 1-5 and 8-12. cycles repeat every 21 days in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up for 30 days.

Eligibility criteria:
inclusion criteria: * cohort a: histologically confirmed locally advanced or metastatic solid tumor malignancy other than clear cell renal cell carcinoma with progression on at least one prior systemic therapy and presence of pathogenic loss of setd2 detected in tumor tissue detected using a clinical laboratory improvement act (clia)-certified next generation sequencing panel (e.g. ucsf500, foundationone) * cohort b: patients with histologically confirmed locally advanced or metastatic clear cell renal cell carcinoma (with clear cell component on pathology), who have been treated with at least one prior systemic therapy for locally advanced or metastatic disease, including either tyrosine kinase inhibitor and/or immune checkpoint inhibitor, with evidence of setd2 mutation on clia-certified next generation sequencing panel * all next generation sequencing (ngs) sequencing reports will be reviewed by the university of california at san francisco (ucsf) molecular tumor board to verify pathogenicity of setd2 mutation. each ngs report will be redacted for protected health information (phi) prior to submission from investigational site to ucsf mtb. * measurable disease by recist 1.1 criteria * eastern cooperative oncology group (ecog) performance status =\ = 70%) * absolute neutrophil count \>= 1,500/mcl * platelets \>= 100,000/mcl * hemoglobin \>= 9 g/dl * total bilirubin within normal institutional limits (wln) or =\< 1.5 x upper limit of normal (uln) in patients with liver metastases; or total bilirubin =\< 3 x uln with direct bilirubin wln in patients with well documented gilbert's syndrome * aspartate aminotransferase (ast) (serum glutamic oxaloacetic transaminase \[sgot\])/alanine aminotransferase (alt) (serum glutamic pyruvic transaminase \[sgpt\]) =\< 3.0 x institutional upper limit of normal (=\< 5 x uln if known liver metastases) * serum creatinine =\< 1.5 x uln, or * creatinine clearance \>= 45 ml/min (24 hour urine creatinine clearance or calculated by cockcroft-gault equation) * any prior radiation must have been completed at least 7 days prior to the start of study drugs, and patients must have recovered from any acute adverse effects prior to the start of study treatment * female patients who are not of child-bearing potential and fertile females of childbearing potential who agree to use adequate contraceptive measures from 2 weeks prior to the study and until 1 month after study treatment discontinuation, who are not breastfeeding, and who have a negative serum or urine pregnancy test within 3 days prior to the start of study treatment * male patients willing to abstain or use barrier contraception (i.e. condoms) for the duration of the study and for 3 months after treatment stops * willingness and ability to comply with study and follow-up procedures * has read and understands the informed consent form and has given written informed consent prior to any study procedures exclusion criteria: * use of anti-cancer treatment drug =\< 21 days or 5 half-lives (whichever is shorter) prior to the first dose of azd1775; for drugs for which 5 half-lives is =\< 21 days, a minimum of 10 days between termination of the prior treatment and administration of azd1775 treatment is required * previous radiation therapy completed =\< 7 days prior to the start of study drugs * major surgical procedures =\< 28 days of beginning study treatment, or minor surgical procedures =\< 7 days; no waiting period required following port-a-cath or other central venous access placement * grade \> 1 toxicity from prior therapy (except alopecia or anorexia) * patient has an inability to swallow oral medications; note: patient may not have a percutaneous endoscopic gastrostomy (peg) tube or be receiving total parenteral nutrition (tpn) * no other anticancer-therapy (chemotherapy, immunotherapy, hormonal anti-cancer therapy, radiotherapy \[except for palliative local radiotherapy\]), biological therapy or other novel agent is to be permitted while the patient is receiving study medication; patients on luteinizing hormone-releasing hormone (lhrh) analogue treatment for more than 6 months are allowed entry into the study and may continue at the discretion of the investigator * known malignant central nervous system (cns) disease other than neurologically stable, treated brain metastases - defined as metastasis having no evidence of progression or hemorrhage for at least 2 weeks after treatment; must be off any systemic corticosteroids for the treatment of brain metastases for at least 14 days prior to enrollment; patients with known brain metastases should be excluded from this clinical trial because of their poor prognosis and because they often develop progressive neurologic dysfunction that would confound the evaluation of neurologic and other adverse events * any known hypersensitivity or contraindication to the components of the study drug azd1775 * patient has had prescription or non-prescription drugs or other products known to be sensitive to cyp3a4 substrates or cyp3a4 substrates with a narrow therapeutic index, or to be moderate to strong inhibitors/inducers of cyp3a4 which cannot be discontinued 2 weeks prior to day 1 of dosing and withheld throughout the study until 2 weeks after the last dose of study drug; co-administration of aprepitant or fosaprepitant during this study is prohibited; the use of sensitive substrates of cyp3a4, such as atorvastatin, simvastatin and lovastatin, is also prohibited in this study; transporter studies (in vitro) have shown that azd1775 is an inhibitor of breast cancer resistance protein (bcrp); herbal preparations are not allowed throughout the study; these herbal medications include but are not limited to: st. john's wort, kava, ephedra (ma hung), gingko biloba, dehydroepiandrosterone (dhea), yohimbe, saw palmetto and ginseng; patients should stop using these herbal medications 7 days prior to first dose of study treatment * any of the following cardiac diseases currently or within the last 6 months as defined by new york heart association (nyha) \>= class 2 * unstable angina pectoris * congestive heart failure * acute myocardial infarction * conduction abnormality not controlled with pacemaker or medication * significant ventricular or supraventricular arrhythmias (patients with chronic rate-controlled atrial fibrillation in the absence of other cardiac abnormalities are eligible) * azd1775 should not be given to patients who have a history of torsades de pointes unless all risk factors that contributed to torsades have been corrected; azd1775 has not been studied in patients with ventricular arrhythmias or recent myocardial infarction * mean resting corrected qt (qtc) interval using the fridericia formula (qtcf) \> 450 ms (i.e., grade 1 or higher) for males and \> 470 ms for females on electrocardiogram (ecg) prior to initiation of study treatment obtained from 3 electrocardiograms (ecgs) obtained 2-5 minutes apart at study entry, or history of congenital long qt syndrome * if baseline qtc on screening ecg is \> 450 ms for males or \> 470 ms for females: * check potassium and magnesium serum levels * correct any identified hypokalemia and/or hypomagnesemia and repeat ecg to confirm qtcf interval * for patients with baseline heart rate (hr) \ 100 bpm, manual measurement of qt interval by cardiologist is required, with fridericia correction applied to that manual measurement to determine the qtc for eligibility consideration * note: for patients with hr 60-100 bpm, manual measurement of qtc interval is not required * uncontrolled intercurrent illness including, but not limited to, ongoing or active infection, or psychiatric illness/social situations that would limit compliance with study requirements * pregnant or breastfeeding women; pregnant women are excluded from this study because azd1775 is wee1 inhibitor with the potential for teratogenic or abortifacient effects; because there is an unknown but potential risk for adverse events in nursing infants secondary to treatment of the mother with azd1775, breastfeeding should be discontinued if the mother is treated with azd1775 * prior treatment with wee1 inhibitor