Skip to content

Conversation

@yevgenypats
Copy link
Contributor

Quite hard to debug locally cloudquery/cloudquery#7819 so sorry for influx of PRs.

My current theory is that the db is blocked on number of connections.

The next thing that I might be trying is to not to do those tests concurrently as it can cause weird things in databases and just do those sequentially.

@codecov-commenter
Copy link

Codecov Report

Base: 47.23% // Head: 47.27% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (f3d2917) compared to base (cf5263c).
Patch has no changes to coverable lines.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #683      +/-   ##
==========================================
+ Coverage   47.23%   47.27%   +0.04%     
==========================================
  Files          70       70              
  Lines        6815     6815              
==========================================
+ Hits         3219     3222       +3     
+ Misses       3146     3143       -3     
  Partials      450      450              
Impacted Files Coverage Δ
internal/memdb/memdb.go 85.71% <0.00%> (+2.14%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kodiakhq kodiakhq bot merged commit 8e8f5fe into main Feb 12, 2023
@kodiakhq kodiakhq bot deleted the fix/dest_testing_close branch February 12, 2023 16:56
@github-actions
Copy link

⏱️ Benchmark results

  • DefaultConcurrencyDFS-2 resources/s: 10,782
  • DefaultConcurrencyRoundRobin-2 resources/s: 12,432
  • Glob-2 ns/op: 200.8
  • TablesWithChildrenDFS-2 resources/s: 28,880
  • TablesWithChildrenRoundRobin-2 resources/s: 27,008
  • TablesWithRateLimitingDFS-2 resources/s: 28.7
  • TablesWithRateLimitingRoundRobin-2 resources/s: 814.5
  • BufferedScanner-2 ns/op: 9.394
  • LogReader-2 ns/op: 31.02

kodiakhq bot pushed a commit that referenced this pull request Feb 13, 2023
🤖 I have created a release *beep* *boop*
---


## [1.37.0](v1.36.3...v1.37.0) (2023-02-13)


### Features

* Add unmanaged sources ([#677](#677)) ([f3e2b1d](f3e2b1d))


### Bug Fixes

* Fix race in dest testing try 3 ([#683](#683)) ([8e8f5fe](8e8f5fe))
* Make sure _cq_id unique across all dest plugins ([#685](#685)) ([a9a1173](a9a1173))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit to cloudquery/cloudquery that referenced this pull request Feb 13, 2023
…7933)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/cloudquery/plugin-sdk](https://togithub.com/cloudquery/plugin-sdk) | require | patch | `v1.36.1` -> `v1.37.0` |
| [github.com/cloudquery/plugin-sdk](https://togithub.com/cloudquery/plugin-sdk) | require | patch | `v1.36.0` -> `v1.37.0` |

---

### Release Notes

<details>
<summary>cloudquery/plugin-sdk</summary>

### [`v1.37.0`](https://togithub.com/cloudquery/plugin-sdk/releases/tag/v1.37.0)

[Compare Source](https://togithub.com/cloudquery/plugin-sdk/compare/v1.36.3...v1.37.0)

##### Features

* Add unmanaged sources ([#677](cloudquery/plugin-sdk#677)) ([f3e2b1d](cloudquery/plugin-sdk@f3e2b1d))


##### Bug Fixes

* Fix race in dest testing try 3 ([#683](cloudquery/plugin-sdk#683)) ([8e8f5fe](cloudquery/plugin-sdk@8e8f5fe))
* Make sure _cq_id unique across all dest plugins ([#685](cloudquery/plugin-sdk#685)) ([a9a1173](cloudquery/plugin-sdk@a9a1173))

## [1.36.3](cloudquery/plugin-sdk@v1.36.2...v1.36.3) (2023-02-12)

### [`v1.36.3`](https://togithub.com/cloudquery/plugin-sdk/releases/tag/v1.36.3)

[Compare Source](https://togithub.com/cloudquery/plugin-sdk/compare/v1.36.2...v1.36.3)

##### Bug Fixes

-   Take2 of fixing race in destination testing ([#&#8203;680](https://togithub.com/cloudquery/plugin-sdk/issues/680)) ([77b74b2](https://togithub.com/cloudquery/plugin-sdk/commit/77b74b2cd4c28ee5f570b008105a41d0b7e8afc8))

### [`v1.36.2`](https://togithub.com/cloudquery/plugin-sdk/releases/tag/v1.36.2)

[Compare Source](https://togithub.com/cloudquery/plugin-sdk/compare/v1.36.1...v1.36.2)

##### Bug Fixes

-   Potential database lock/race in destination testing ([#&#8203;678](https://togithub.com/cloudquery/plugin-sdk/issues/678)) ([50e683e](https://togithub.com/cloudquery/plugin-sdk/commit/50e683e7f6dfd38a25eb512c1e2417798fa832f7))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDkuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwOS4xIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants