Skip to content

fix(deps): Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.3#21064

Merged
kodiakhq[bot] merged 2 commits intomainfrom
fix/update_basic_transformer_sdk
Jul 22, 2025
Merged

fix(deps): Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.3#21064
kodiakhq[bot] merged 2 commits intomainfrom
fix/update_basic_transformer_sdk

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Fixes the failing CI on the SDK update, probably due to https://github.com/cloudquery/plugin-sdk/pull/2205/files

@erezrokah erezrokah requested review from a team and jon-s58 July 18, 2025 17:49
require.Equal(t, "aa:f1:cb:2e:55:8f", updatedRecord.Column(16).(*types.MACArray).ValueStr(0))

updatedRecord, err = updater.DropRows([]string{"inet"}, &[]string{"139.0.16.60/10"}[0])
updatedRecord, err = updater.DropRows([]string{"inet"}, &[]string{"139.0.0.0/10"}[0])
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thinking about this more, this looks like a bug in cloudquery/plugin-sdk#2205.

We're losing the IP address data no cc @bernays?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ParseCIDR parses s as a CIDR notation IP address and prefix length, like "192.0.2.0/24" or "2001:db8::/32", as defined in RFC 4632 and RFC 4291.

It returns the IP address and the network implied by the IP and prefix length. For example, ParseCIDR("192.0.2.1/24") returns the IP address 192.0.2.1 and the network 192.0.2.0/24.

@erezrokah erezrokah marked this pull request as draft July 18, 2025 17:56
@erezrokah erezrokah marked this pull request as ready for review July 21, 2025 08:44
@erezrokah erezrokah requested review from murarustefaan and removed request for jon-s58 July 21, 2025 08:45
@erezrokah
Copy link
Copy Markdown
Member Author

OK made this ready for review despite #21064 (comment) don't think we should block the SDK update for it. In the context of inet maybe it's not a big issue losing the IP address

@murarustefaan
Copy link
Copy Markdown
Member

In the context of inet maybe it's not a big issue losing the IP address

Mhm, but doesn't this mean all inet columns troughout plugins will lose the IP data for a given mask? 🤔
If that's the case that's not ideal and we should block the sdk upgrade before we fix it there.

@erezrokah
Copy link
Copy Markdown
Member Author

erezrokah commented Jul 21, 2025

Mhm, but doesn't this mean all inet columns troughout plugins will lose the IP data for a given mask? 🤔
If that's the case that's not ideal and we should block the sdk upgrade before we fix it there.

https://github.com/cloudquery/plugin-sdk/pull/2205/files only impacts test data generation, so I think not relevant for the basic transformer (the basic transformer test rely on the test data that changed, hence the test failures).

We should probably revert https://github.com/cloudquery/plugin-sdk/pull/2205/files and see why filetypes tests where failing without it (that's where we had data loss)

@erezrokah erezrokah requested review from murarustefaan and removed request for murarustefaan July 21, 2025 14:59
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jul 22, 2025
@kodiakhq kodiakhq bot requested a review from a team as a code owner July 22, 2025 09:31
@kodiakhq kodiakhq bot requested a review from hermanschaaf July 22, 2025 09:31
@kodiakhq kodiakhq bot merged commit 4a5a851 into main Jul 22, 2025
15 checks passed
@kodiakhq kodiakhq bot deleted the fix/update_basic_transformer_sdk branch July 22, 2025 09:34
kodiakhq bot pushed a commit that referenced this pull request Jul 24, 2025
🤖 I have created a release *beep* *boop*
---


## [2.6.4](plugins-transformer-basic-v2.6.3...plugins-transformer-basic-v2.6.4) (2025-07-24)


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.3 ([#21064](#21064)) ([4a5a851](4a5a851))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.87.4 ([#21104](#21104)) ([44f77c8](44f77c8))

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

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants