Skip to content

fix(package): Don't init destinations during package#1249

Merged
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/skip_init_destinations
Sep 27, 2023
Merged

fix(package): Don't init destinations during package#1249
kodiakhq[bot] merged 2 commits intocloudquery:mainfrom
erezrokah:fix/skip_init_destinations

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Fixes #1248

Another option that we could do (or do both) is handle NoConnection in all destinations.


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 27, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (017866e) 48.89% compared to head (2a3f6b4) 48.89%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1249   +/-   ##
=======================================
  Coverage   48.89%   48.89%           
=======================================
  Files          89       89           
  Lines        8313     8313           
=======================================
  Hits         4065     4065           
  Misses       3873     3873           
  Partials      375      375           
Files Coverage Δ
serve/package.go 58.23% <40.00%> (ø)

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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 27, 2023

⏱️ Benchmark results

  • Glob-8 ns/op: 99.05

Copy link
Copy Markdown
Contributor

@hermanschaaf hermanschaaf left a comment

Choose a reason for hiding this comment

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

Ok let's go with this for now, but I'd suggest adding opening an issue to support NoConnection in destinations

@erezrokah
Copy link
Copy Markdown
Member Author

Opened in cloudquery/cloudquery#14059

@kodiakhq kodiakhq bot merged commit f21e963 into cloudquery:main Sep 27, 2023
kodiakhq bot pushed a commit that referenced this pull request Sep 27, 2023
🤖 I have created a release *beep* *boop*
---


## [4.11.1](v4.11.0...v4.11.1) (2023-09-27)


### Bug Fixes

* **package:** Don't init destinations during package ([#1249](#1249)) ([f21e963](f21e963))

---
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Package command doesn't work for destinations

2 participants