Non-resident becoming a resident after the new year

I'm a travel RN from California currently working in the state of Oregon. I have been here under 6 months and am going home after my contract is done. I assume that when it's time to file for 2022, I should file in CA as a resident and OR as a non-resident and claim the taxes paid in other state when I fill out my CA forms. However, I just accepted a job offer with a start date after 1/1/2024 here in Oregon, meaning I will establish residency after the New Year. Does that move after New Years Day change things with filing, or should I file as the facts are now?