Skip to content

chore: default failed-keys error capture on - #7404

Merged
kuldeep0020 merged 3 commits into
masterfrom
chore/capture-error-detail-default-on
Sep 17, 2026
Merged

kuldeep0020 merged 3 commits into
masterfrom
chore/capture-error-detail-default-on

Conversation

@kuldeep0020

@kuldeep0020 kuldeep0020 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Defaults Rsources.failedKeys.captureErrorDetail to true, so a connection opted in through the UI captures without an operator also having to set a variable.

The key stays and stays settable: it is the only check that runs before the pinned decision touches the database.

Whether a connection's error text is stored is the customer's decision, taken
per connection in the UI and defaulted off in config-backend. Requiring an
operator to also set Rsources.failedKeys.captureErrorDetail meant that toggle
silently did nothing, which is a worse failure than the switch being on with
nothing opted in.

The key stays, and stays settable to false. It is the only check that runs
before the pinned decision reaches the database, so it is what an operator
turns off when that database is the problem; the blocklist at step 4 runs
after the pin and cannot substitute for it.

One check-order subtest was relying on the implicit default rather than
setting the switch, so it now sets it explicitly: what it pins is that an off
switch short-circuits before the database, not what the default happens to be.
A new test pins the default itself in both directions.
@kuldeep0020 kuldeep0020 changed the title chore(rsources): default failed-keys error capture on chore: default failed-keys error capture on Sep 17, 2026
@codecov

codecov Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.38%. Comparing base (9f9bcde) to head (ffd0c22).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7404      +/-   ##
==========================================
- Coverage   84.41%   84.38%   -0.03%     
==========================================
  Files         620      620              
  Lines       62640    62640              
==========================================
- Hits        52876    52858      -18     
- Misses       9761     9779      +18     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Reverts the step-2 comment to its original wording and removes the test that
asserted the default value.

The one test change that remains is required: the check-order subtest for a
disabled switch had no setup and was passing only because the default was
false. Removing that line fails the subtest.
Actually removes what the previous commit claimed to: a git checkout during a
local mutation check had restored the file from the index, so only the
delegate.go change landed.
@kuldeep0020
kuldeep0020 requested a review from atzoum September 17, 2026 09:47
@kuldeep0020
kuldeep0020 enabled auto-merge (squash) September 17, 2026 09:47
@kuldeep0020
kuldeep0020 merged commit db84987 into master Sep 17, 2026
76 checks passed
@kuldeep0020
kuldeep0020 deleted the chore/capture-error-detail-default-on branch September 17, 2026 11:04
This was referenced Sep 21, 2026
achettyiitr pushed a commit that referenced this pull request Sep 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.88.0-rc.1](v1.87.0...v1.88.0-rc.1)
(2026-09-21)


### Features

* **warehouse:** bigquery workload identity federation authentication
([#7361](#7361))
([d16ab5f](d16ab5f))


### Bug Fixes

* bound clickHouse v2 s3 copy memory
([#7407](#7407))
([a17a78f](a17a78f))


### Miscellaneous

* cleanup python mirroring
([#7395](#7395))
([9f9bcde](9f9bcde))
* default failed-keys error capture on
([#7404](#7404))
([db84987](db84987))
* sync release v1.87.0 to main branch
([#7394](#7394))
([80353d1](80353d1))
* tag namespace config http client stats with version and mode
([#7401](#7401))
([d152ae5](d152ae5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
mihir20 pushed a commit that referenced this pull request Sep 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.88.0](v1.87.0...v1.88.0)
(2026-09-21)


### Features

* **warehouse:** bigquery workload identity federation authentication
([#7361](#7361))
([d16ab5f](d16ab5f))


### Bug Fixes

* bound clickHouse v2 s3 copy memory
([#7407](#7407))
([a17a78f](a17a78f))


### Miscellaneous

* cleanup python mirroring
([#7395](#7395))
([9f9bcde](9f9bcde))
* default failed-keys error capture on
([#7404](#7404))
([db84987](db84987))
* sync release v1.87.0 to main branch
([#7394](#7394))
([80353d1](80353d1))
* tag namespace config http client stats with version and mode
([#7401](#7401))
([d152ae5](d152ae5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.

3 participants