azure-service-operator icon indicating copy to clipboard operation
azure-service-operator copied to clipboard

Bug: Pre-reconcile checks based on owner state may be out of date

Open matthchr opened this issue 4 months ago • 2 comments

Describe the bug

When a pre-reconcile check runs, we refresh our view on the resource state, but we do NOT update the owning resource status. This may result in the check failing for a long period of time until the reconcile-interval kicks it and updates the parents status.

This is especially noticeable with DBForPostgresSQL as it has a number of checks for owner state.

Azure Service Operator Version: 2.16, but probably impacts all ASO versions

Expected behavior

The pre-reconcile check gets an up-to-date view of the status of the owner

matthchr avatar Dec 01 '25 22:12 matthchr

May not get to this til early Jan, given leave.

matthchr avatar Dec 01 '25 23:12 matthchr

When this bug is fixed, we need to remove the suppression for this test from samples_tester.go (look for wholeSampleExclusions):

  • Test_Samples_CreationAndDeletion/Test_Dbforpostgresql_v20250801_CreationAndDeletion

theunrepentantgeek avatar Dec 04 '25 01:12 theunrepentantgeek