Nathan Wallace
ea6a7a09cc
Nil pointer dereference in plugin version check closes #4747 ( #4897 )
...
* Unskip test demonstrating bug #4747 : Nil pointer dereference in plugin version check
Removed the GlobalConfig initialization workaround from setupTestEnvironment()
and added TestPluginVersionCheckWithNilGlobalConfig to demonstrate the bug.
The test will panic at runner.go:106 when attempting to access
steampipeconfig.GlobalConfig.PluginVersions without a nil check.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* Fix #4747 : Add nil check for GlobalConfig in version checks
Wraps both CLI and plugin version checks with a nil check for
steampipeconfig.GlobalConfig. This prevents panics when the runner
is invoked before full configuration initialization, such as in
test environments or unusual startup scenarios.
The previous fix only addressed the plugin version check at line 109,
but the CLI version check at line 104 also triggers a panic through
fetchAvailableCLIVersion -> BuildRequestPayload which accesses
GlobalConfig internally.
🤖 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-16 16:22:46 -05:00
Nathan Wallace
a9fa56ba02
Fix version checker log.Fatal closes #4746 ( #4894 )
...
* Unskip test demonstrating bug #4746 : log.Fatal in version checker
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* Fix #4746 : Return error instead of log.Fatal in version checker
🤖 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-16 15:52:11 -05:00
Nathan Wallace
4281ad3f10
Add comprehensive tests for pkg/{task,snapshot,cmdconfig,statushooks,introspection,initialisation,ociinstaller} ( #4765 )
2025-11-11 17:02:49 +08:00
Puskar Basu
f3e685e9ae
Fix versioning in task pkg
2025-07-07 22:26:19 +05:30
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
1c9f3ac9fc
Merge branch 'v2.0.x' into develop
2025-07-07 13:06:15 +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
5711e7b63f
remove powerpipe notification
2024-10-03 19:18:24 +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
c5cc5a3e7a
compiles and seems to work
...
connection state not populating
2024-09-27 18:14:28 +05:30
kai
cd07bf20f1
working on it
2024-09-27 18:13:12 +05:30
Graza
ecefbcc00c
Migrate from GCP to GHCR as CR for Plugins. Closes #4232
2024-04-08 15:15:18 +01:00
Puskar Basu
70e7417490
Fix issue where daily update check message showed a <nil> when there was no message to show .Closes #4206
2024-03-20 13:14:53 +00:00
Puskar Basu
410fe9ef6f
Add deprecation warnings for Mod commands
...
* print errors and warnings to stderr
* fix tests
* Update description
* update sample workspace profile content
* Changelog for v0.22.0
2024-03-06 11:13:17 +00:00
kaidaguerre
bb26c0ee81
Add version to steampipe_plugin table. Closes #4141
2024-02-21 14:15:34 +00:00
kai
ec1d4c2be5
Merge branch 'v0.21.x'
...
# Conflicts:
# CHANGELOG.md
2024-01-23 09:42:57 +00:00
Binaek Sarkar
0387595c36
Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884
2024-01-08 11:45:29 +00:00
Meet Rajesh Gor
3854bbedf2
Use jd to compare between json outputs in relevant acceptance tests. Closes #3556 ( #3947 )
2023-12-14 15:52:12 +05:30
Puskar Basu
01097a27e6
Warn users to not have mod.sp files in home directory. Closes #2321
2023-09-22 18:07:55 +01:00
Binaek Sarkar
b0fa6b6cbf
Rotate SSL certificates before server starts, if necessary. Closes #3599
2023-09-01 22:57:58 +05:30
Binaek Sarkar
6c1393fdb7
Fixes issue where 'plugin-manager' incorrectly executes scheduled tasks (e.g. update check). Closes #3421
2023-05-17 13:16:40 +01:00
Binaek Sarkar
6db9656e5a
Ensure plugin-manager command does not execute scheduled tasks - avoid deprecation warnings which make the plugin manager GRPC startup fail. Closes #3410
2023-05-15 15:59:41 +01:00
Puskar Basu
8e8a093779
Do not show deprecation warnings every time while running any steampipe command. Closes #3281
2023-04-18 15:26:37 +01:00
Binaek Sarkar
6d569ec93d
Fixes issue where update notifications shows empty box on no notification
2023-02-03 20:21:37 +05:30
Binaek Sarkar
e0672fc359
Fixes issue where steampipe notifies of available update even if plugin is updated. Closes #2998
2023-02-03 16:44:53 +05:30
kaidaguerre
0a391e9636
Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939
2023-01-04 14:08:56 +00:00
Binaek Sarkar
3ef30c4a80
Fixes issue where task running goroutine would try to access viper config as it is being written to. Closes #2845
2022-12-14 12:15:52 +00:00
Binaek Sarkar
d2f8541385
Update the update checker to run asynchronously. Closes #2770
2022-11-25 11:26:50 +00:00
kaidaguerre
404dd35e21
Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 ( #2438 )
...
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00