Commit Graph

36 Commits

Author SHA1 Message Date
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
da2f3ecc03 Upgrade to pipe-fittings v2, go-kit v1 (#4485) 2025-03-06 16:34:18 +05:30
Puskar Basu
0a836584e9 snapshot output and export working 2024-09-27 18:14:28 +05:30
Puskar Basu
d6cbe7ad6e working 1 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
e5b1927a63 tidy imports 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
kaidaguerre
1079ba7083 Fix growing memory usage following file watching events when running dashboard server. Closes #4150 2024-02-23 13:19:15 +00:00
kaidaguerre
08f49d843f For query command, load mod variables syncronously but the rest of mod async. Closes #4109 2024-02-02 15:03:31 +00:00
kaidaguerre
103d53f8e8 Fix setting dependency vars in var file. Fix UI freeze when prompting for workspace variables. Closes #4105 2024-02-01 13:53:21 +00:00
Binaek Sarkar
085e933ddf Maintain the order of execution when running multiple queries in batch mode. Closes #3728 2024-01-02 11:52:16 +00:00
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
a3a714d6cd Fixes issue where temporary tables are dropped in interactive prompt when pool connections are recycled. Closes #3359. Closes #3781 2023-09-06 16:46:40 +01:00
Binaek Sarkar
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
kaidaguerre
df9c3a253a Optimize RefreshConnections by cloning schemas where possible. Optimize plugineManager.Get when retrieving multiple connections from same plugin. Closes #3236 2023-03-16 14:43:56 +00:00
Binaek Sarkar
ee8b6647c4 Rationalising 'status hooks'. Do not show spinner when setting status, instead require an explicit Show. #2432 2023-03-14 11:48:14 +00:00
kaidaguerre
92396d77c0 Remove connection pool min size. Remove need to create empty mod introspection tables if introspection is not enabled. Remove connection pool min size. Closes #3207
* Remove all references to prepared statements
* remove sessionInitWaitGroup
2023-03-09 16:55:08 +00:00
kaidaguerre
075fafec09 Use single Steampipe Postgres notification channel (#3191) 2023-03-07 17:34:41 +00:00
kaidaguerre
2171ce66ba Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184. Closes #3185 2023-03-03 18:45:40 +00:00
Binaek Sarkar
c896d88e88 Make workspace loading async. Closes #3123 2023-02-20 17:18:33 +00:00
kaidaguerre
b67d39ecde Fix duplicated text input on interactive prompt during initialisation. Closes #3075 2023-02-16 12:35:43 +00:00
kaidaguerre
15984137ae Add deprecation warnings for deprecated hcl properties. Closes #2973 2023-01-11 16:34:58 +00:00
kaidaguerre
fe6365b1ef Remove usage of prepared statements - instead excute sql directly. Wrap with executions in LeafRuns to support runtime dependency resolution. Closes #2789. #2772 2022-11-23 14:11:56 +00:00
kaidaguerre
0452bb0b81 Validate checkout output and export formats before execution. Closes #2619. Add support for using sps as snapshot output/export format. Closes #2623 2022-10-28 14:57:44 +01:00
kaidaguerre
38b472338e Remove "connecting to service" spinner message during query init. Closes #2599 2022-10-26 18:22:34 +01:00
Binaek Sarkar
a373b9ca91 Fixes issue where prompt fails to show up when service installation runs in interactive mode. Closes #2529 2022-10-21 12:13:52 +01:00
kaidaguerre
397c951fe2 Refactor control export to use ExportManager. Closes #2515 2022-10-12 16:25:31 +01:00
kaidaguerre
1dc28f4681 Add --source-snapshot option to dashboard command. Closes #2503. (#2491) 2022-10-11 23:36:27 +01:00
kaidaguerre
ef845286c1 Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473 2022-10-05 15:30:57 +01: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
kai
e4d1b72754 Fix Steampipe terminating if valid query is entered before initialisation completes. #2300 2022-08-08 15:57:02 +01:00
kaidaguerre
d15ac33b26 Fix pasting a query during cli initialization causing it to be duplicated on the screen. #1980 2022-08-04 22:17:14 +01:00
kaidaguerre
0a9b1a1715 Fix interactive multi-line mode. Ensure initialisation errors are correctly reported. Closes #2260 2022-08-02 17:30:54 +01:00
kaidaguerre
305fb9107b Add support for plugins to handle multiple connections. Closes #2262 2022-07-22 14:53:54 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00