Skip to content

fix: improve read support - #149

Merged
devops-rob merged 5 commits into
devops-rob:mainfrom
JackSlateur:fix/drift
Jul 21, 2026
Merged

fix: improve read support#149
devops-rob merged 5 commits into
devops-rob:mainfrom
JackSlateur:fix/drift

Conversation

@JackSlateur

@JackSlateur JackSlateur commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Hello,

As of v2.3.0, drifting is not working

v2.3.0 has the following issues:

  • the plan after a create will show "drift detected" (even though nothing has changed)
  • a read_request returning a bad status code is not seen as a drift
  • when detected, drifting does not update the resource, nor recreate it

This PR focus on the first two topics
The first commit is a small refactoring
The second implements read_requests_code and also fixes the second issue

The last bit remains to be fixed

Thank you for the review

The responseCodeChecker method now takes raw parameters
and does more work: convert them and check the values

The resulting code is easier to use

Signed-off-by: Alexandre Bruyelles <git@jack.fr.eu.org>
@JackSlateur
JackSlateur requested a review from devops-rob as a code owner July 17, 2026 20:37
ReadResponseCodes was never actually used
Also, improve the situation when oldSanitized is null (aka: we just
created the object)

Signed-off-by: Alexandre Bruyelles <git@jack.fr.eu.org>
devops-rob and others added 3 commits July 21, 2026 10:58
Restore sensitive-response helpers and the refactored responseCodeChecker
after the main merge, and update curl_action to use the new checker signature.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@devops-rob
devops-rob merged commit 9a4084e into devops-rob:main Jul 21, 2026
13 checks passed
@devops-rob

Copy link
Copy Markdown
Owner

Merged — thank you @JackSlateur for the read drift fixes and the responseCodeChecker refactor! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants