289 Commits

Author SHA1 Message Date
Nathan Wallace
a4d90c3ac9 Fix logic error in IdentifyMissingComments closes #4814 (#4872)
* Add test for #4814: Logic error in IdentifyMissingComments

Demonstrates the bug where the function uses OR (||) instead of AND (&&)
on line 426, causing connections being deleted to be incorrectly added
to MissingComments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix #4814: Change OR to AND in IdentifyMissingComments logic

Corrects the logic error on line 426 where OR (||) was incorrectly used
instead of AND (&&). The condition should be "if NOT updating AND NOT
deleting" to properly exclude connections being updated or deleted from
the MissingComments list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-15 08:10:53 -05:00
Nathan Wallace
2e5f3fda97 Add comprehensive passing tests from bug hunting initiative (#4864) 2025-11-13 09:26:46 +08:00
Puskar Basu
e19d35c457 chore: update module to v2 and bump Go version to 1.24 (#4597) 2025-07-07 16:03:56 +05:30
Puskar Basu
ae106141a7 Fix 'unused' linting errors 2025-06-17 12:20:12 +05:30
Puskar Basu
da2f3ecc03 Upgrade to pipe-fittings v2, go-kit v1 (#4485) 2025-03-06 16:34:18 +05:30
kai
112647bae0 tidy 2024-10-15 11:44:13 +01:00
Puskar Basu
ad1259f888 update and enable config precedence tests 2024-10-15 15:18:09 +05:30
Puskar Basu
1daeac1038 Fix issue where steampipe was parsing all files in config dir 2024-10-07 20:09:06 +05:30
Puskar Basu
75014d88f5 remove leftover references of cloudhost, modlocation, dashboard options 2024-10-04 13:11:03 +05:30
Puskar Basu
1d2d51ec5c Fix unit test 2024-09-27 18:14:28 +05:30
Puskar Basu
069e0b6b8b Fix unit tests 2024-09-27 18:14:28 +05:30
kai
dde7c23ed5 rename Connection to SteampipeConnection
remove unneeded code
use CloudMetadata from pipe-fittings
2024-09-27 18:14:28 +05:30
kai
19bdfae49f Update SteampipeOptionsBlockMapping to only include supported global options, rationalise options code 2024-09-27 18:14:28 +05:30
Puskar Basu
96393c7d46 path 2024-09-27 18:14:28 +05:30
kai
1804741bbd tidy 2024-09-27 18:14:28 +05:30
kai
5fd5ae0740 timing broken 2024-09-27 18:14:28 +05:30
kai
e5b1927a63 tidy imports 2024-09-27 18:14:28 +05:30
kai
84fc15b350 rebase fixes 2024-09-27 18:14:28 +05:30
kai
33c32756f6 tidy 2024-09-27 18:14:28 +05:30
kai
cb681c67cc compiles but needs testing 2024-09-27 18:14:28 +05:30
kai
ef21f1452e steampipe compiles 2024-09-27 18:14:28 +05:30
kai
14e68aa0dd remove terminal options 2024-09-27 18:14:28 +05:30
kai
ad9c461f07 tidy refs 2024-09-27 18:14:28 +05:30
kai
c5cc5a3e7a compiles and seems to work
connection state not populating
2024-09-27 18:14:28 +05:30
kai
80ad514e1d steampipe compiles 2024-09-27 18:14:28 +05:30
kai
fca92eb5c2 working on it 2024-09-27 18:14:28 +05:30
kai
fd94b2e2ec working on it 2024-09-27 18:14:25 +05:30
kai
cd07bf20f1 working on it 2024-09-27 18:13:12 +05:30
kai
faead86d26 move stuff to pipe-fittings 2024-09-27 18:13:12 +05:30
Puskar Basu
2d687a83e3 remove dashboard, check options from workspace profile & default config 2024-09-27 18:13:12 +05:30
Nathan Mische
8ba2cc5645 Make plugin start timeout configurable. (#4321) 2024-08-30 17:15:41 +05:30
kai
0336832e55 RefreshConnections will create a new connection if it is not in the search path. Closes #4353
Add logging to RefreshConnections
2024-08-19 15:56:50 +01:00
Patrick Decat
7cb8edd1b2 fix: do not abort when unrelated connections are not yet loaded (#4233)
* fix: do not abort when unrelated connections are not yet loaded

* fix: convert config read error to warning
2024-06-06 13:22:18 +01:00
kai
c17bd9388f Accept legacy boolean values for timing in query options. #4237 2024-04-26 14:38:42 +01:00
momantech
f69882f057 chore: remove repetitive words (#4247)
Signed-off-by: momantech <cuimoman@qq.com>
2024-04-24 08:56:42 +01:00
kaidaguerre
07782a2b13 Adds support for verbose timing information. Closes #4237. Closes #4244
- JSON output format has changed to move the rows to under a `rows` property, with timing information under the `metadata` property
- Update timing display to show rows returned and rows fetched, as well as adding verbose mode which lists all scans
- Use enums for output mode and timing mode - timing is now either `on`, `off` or `verbose`
- Bugfix: ensure error is returned from ExecuteSystemClientCall. Closes #4246
2024-04-17 10:12:17 +01:00
loselarry
dcf3d89b01 chore: fix function names in comment (#4240)
Signed-off-by: loselarry <bikangning@yeah.net>
2024-04-10 10:16:18 +01:00
Graza
ecefbcc00c Migrate from GCP to GHCR as CR for Plugins. Closes #4232 2024-04-08 15:15:18 +01:00
kai
f76087172b Merge branch 'v0.22.x' 2024-04-05 12:40:50 +01:00
kaidaguerre
d4f7304aa7 Re-add support for 'implicit' local plugins. Handle a local plugin binary having long name OR short name. Closes #4223. Closes #4196 2024-04-05 12:40:04 +01:00
kaidaguerre
e6e9714e4c Update all ErrorAndWarnings function returns to pass by value, removing possibility of nil ErrorAndWarnings. Closes #3974 (#4212) 2024-03-21 11:46:10 +00:00
kaidaguerre
43540d318c Add support for nested dashboards. Closes #4208 2024-03-20 15:58:57 +00:00
Puskar Basu
47e84aafc0 Fix issue where local plugin was not getting listed. Fixes #4196 2024-03-20 13:18:17 +00:00
kaidaguerre
0db7768ce9 Improve startup performance with high plugin count - parallelize plugin startup. Closes #4183 2024-03-13 12:15:04 +00:00
kaidaguerre
d7ff47b165 Deprecate cloud-token and cloud-host args and params. Write token to new ~/.pipes location (#4147) 2024-02-28 20:29:56 +05:30
Puskar Basu
a02c9a69fb Remove version support from mod plugin require block. Closes #3750 2024-02-27 15:28:44 +00:00
Puskar Basu
f63ff54741 Remove deprecated options. Closes #4131, Closes #4132, Closes #3751 2024-02-22 14:58:34 +00:00
kaidaguerre
bb26c0ee81 Add version to steampipe_plugin table. Closes #4141 2024-02-21 14:15:34 +00:00
kai
d73a5a15f6 remove redundant require 2024-02-14 11:59:58 +00:00
kai
195f37b9d3 merge v0.21.x
Fix modfile being left invalid after mod uninstall. Fix variables not being reloaded after file watch event. Closes #4123. Closes #4124
2024-02-09 16:04:14 +00:00