Skip to content

feat: Added checking of finished fetches before running policy#444

Merged
disq merged 21 commits intocloudquery:mainfrom
amanenk:policy_fetch_summary
Mar 22, 2022
Merged

feat: Added checking of finished fetches before running policy#444
disq merged 21 commits intocloudquery:mainfrom
amanenk:policy_fetch_summary

Conversation

@amanenk
Copy link
Copy Markdown
Contributor

@amanenk amanenk commented Jan 26, 2022

@amanenk amanenk requested a review from roneli January 26, 2022 12:42
@github-actions github-actions bot added the feat label Jan 26, 2022
@github-actions github-actions bot added feat and removed feat labels Jan 26, 2022
@amanenk amanenk marked this pull request as ready for review January 28, 2022 10:19
@github-actions github-actions bot added feat and removed feat labels Jan 28, 2022
@amanenk amanenk requested a review from disq January 31, 2022 17:08
Copy link
Copy Markdown
Member

@disq disq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits about naming things

@amanenk amanenk requested a review from disq January 31, 2022 17:41
Copy link
Copy Markdown
Member

@disq disq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't like fetch_summary.FetchSummary but OK otherwise

Copy link
Copy Markdown
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. one nit.

@amanenk amanenk requested a review from roneli February 1, 2022 15:33
# Conflicts:
#	pkg/client/client.go
#	pkg/client/fetch.go
#	pkg/policy/execute.go
#	pkg/policy/execute_test.go
@amanenk amanenk requested a review from disq February 7, 2022 13:59
@amanenk amanenk force-pushed the policy_fetch_summary branch from 6542f99 to 30a4a9a Compare February 7, 2022 19:39
Copy link
Copy Markdown
Member

@disq disq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don’t need timescale migrations since the migrator always runs on the postgres dialect.

amanenk and others added 4 commits February 8, 2022 15:46
Co-authored-by: Kemal <223029+disq@users.noreply.github.com>
Co-authored-by: Kemal <223029+disq@users.noreply.github.com>
Co-authored-by: Kemal <223029+disq@users.noreply.github.com>
@amanenk amanenk requested a review from disq February 8, 2022 15:09
amanenk added 2 commits March 7, 2022 18:10
# Conflicts:
#	pkg/client/client.go
#	pkg/policy/execute.go
#	pkg/policy/execute_test.go
@amanenk amanenk requested a review from yevgenypats March 8, 2022 06:00
Copy link
Copy Markdown
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@disq disq merged commit 327398f into cloudquery:main Mar 22, 2022
TinLe pushed a commit to TinLe/cloudquery that referenced this pull request Mar 29, 2022
* upstream/main:
  chore: Update SDK (cloudquery#557)
  feat: Drift: List unimplemented resources in debug mode (cloudquery#558)
  fix: Policy describe should run without config.hcl requirement (cloudquery#546)
  feat: Limit scope of views (cloudquery#556)
  feat: Simplify fetch warning/error counts (unless -v is on) (cloudquery#554)
  fix: Add ProviderVersion to the 'cloudquery.fetches' meta table (cloudquery#555)
  chore: Sync from .github (cloudquery#553)
  feat: Added checking of finished fetches before running policy (cloudquery#444)
@cq-bot cq-bot mentioned this pull request Aug 9, 2022
erezrokah pushed a commit that referenced this pull request Aug 14, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/hashicorp/go-hclog](https://togithub.com/hashicorp/go-hclog) | require | patch | `v1.2.1` -> `v1.2.2` |

---

### Release Notes

<details>
<summary>hashicorp/go-hclog</summary>

### [`v1.2.2`](https://togithub.com/hashicorp/go-hclog/releases/tag/v1.2.2)

[Compare Source](https://togithub.com/hashicorp/go-hclog/compare/v1.2.1...v1.2.2)

#### What's Changed

-   fix various typos in comments by [@&#8203;marco-m](https://togithub.com/marco-m) in [https://github.com/hashicorp/go-hclog/pull/115](https://togithub.com/hashicorp/go-hclog/pull/115)
-   Omit empty colon when message is empty. Fixes [#&#8203;109](https://togithub.com/hashicorp/go-hclog/issues/109) by [@&#8203;evanphx](https://togithub.com/evanphx) in [https://github.com/hashicorp/go-hclog/pull/116](https://togithub.com/hashicorp/go-hclog/pull/116)

**Full Changelog**: hashicorp/go-hclog@v1.2.1...v1.2.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), 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 this update again.

---

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

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEzMy4wIn0=-->
erezrokah pushed a commit that referenced this pull request Aug 14, 2022
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
erezrokah pushed a commit that referenced this pull request Aug 14, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.3](cloudquery/cq-provider-azure@v0.12.2...v0.12.3) (2022-08-07)


### Features

* Add support for Tenants ([#412](cloudquery/cq-provider-azure#412)) ([940af7f](cloudquery/cq-provider-azure@940af7f))


### Bug Fixes

* **deps:** Update module github.com/Azure/go-autorest/autorest to v0.11.28 ([#443](cloudquery/cq-provider-azure#443)) ([bc87594](cloudquery/cq-provider-azure@bc87594))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.7 ([#453](cloudquery/cq-provider-azure#453)) ([361d908](cloudquery/cq-provider-azure@361d908))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.8 ([#457](cloudquery/cq-provider-azure#457)) ([7d61851](cloudquery/cq-provider-azure@7d61851))
* **deps:** Update module github.com/hashicorp/go-hclog to v1.2.2 ([#444](cloudquery/cq-provider-azure#444)) ([6c769c9](cloudquery/cq-provider-azure@6c769c9))
* **deps:** Update tubone24/update_release digest to 2146f15 ([#389](cloudquery/cq-provider-azure#389)) ([e5682fd](cloudquery/cq-provider-azure@e5682fd))
* **docs:** Some minor docs fixes ([#454](cloudquery/cq-provider-azure#454)) ([6feb015](cloudquery/cq-provider-azure@6feb015))
* **tests:** Remove terraform for Azure ExpressRoute port ([#440](cloudquery/cq-provider-azure#440)) ([7413740](cloudquery/cq-provider-azure@7413740))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.

When fetch doesn't run policy message is not clear enough.

4 participants