fix: prevent NotFoundException during console project maintenance#12232
fix: prevent NotFoundException during console project maintenance#12232ShameelMohamed wants to merge 2 commits into
Conversation
Greptile SummaryThis PR adds a guard clause in
Confidence Score: 5/5Safe to merge — the guard clause is minimal, well-precedented in this codebase, and directly fixes the reported exception without touching other code paths. The change is a two-line guard wrapping an existing call. The No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Merge branch '1.9.x' into fix-console-ma..." | Re-trigger Greptile |
This PR implements Option A from issue #12230. It adds a guard clause in deleteOldDeployments to skip the deletion process if the functions or sites collections do not exist in the project schema. This safely prevents the daily NotFound exception from firing on the console project.
Closes #12230