Commit Graph

14 Commits

Author SHA1 Message Date
kaidaguerre
40804a3201 Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents

 Closes #3394
 Closes #3267
2023-05-10 09:05:08 +01:00
kaidaguerre
33f4f80565 Workspace file watching events sometime cause dashboard to stall and stop responding to events. Cancelling dashboards (e.g. by pressing 'back' on the browser) sometimes leave the server in a state where it will not respond to socket events. Closes #3007. Closes #3008 2023-01-17 12:52:59 +00:00
kaidaguerre
d254301f9e When editing dashboard files, after adding/fixing errors in the HCL the dashboard server will sometimes stall. Closes #2952
Fixed tactically by increasing the channel buffer size and also adding a timeout/cancellation support to the dashboard event sending code
2023-01-06 17:49:43 +00:00
kaidaguerre
0a391e9636 Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939 2023-01-04 14:08:56 +00:00
Mike Burgess
f1888f3d69 Show dashboard panel log in panel detail. Closes #2895. (#2902) 2022-12-21 12:46:42 +00:00
kaidaguerre
fa18c8f0e2 Add support for node reuse. Update graph, flow and hierarchy to declare nodes and edges inline, rather than as a list of references. Closes #2871
Only top level resources can have with and param blocks. Closes #2872
Refactor resource and dashboard run hierarchies to use base impl structs. Closes #2873
2022-12-14 17:18:57 +00:00
kaidaguerre
4f90440d26 Add support for with blocks. Closes #2772 2022-11-21 16:25:51 +00:00
kai
6f7e48607a Fix config resolution so install-dir and mod-location are correctly resolved when set in workspace profiles/env vars. Closes #2681
Improve resource not found errors
Put install dir back into workspace profiles
Update export arg help
2022-11-07 10:37:34 +00:00
kaidaguerre
c3177f5956 Add Variables and Inputs to dashboard ExecutionStarted event. Ensure missing inputs are reported as errors for non-interactive executions. Closes #2606 2022-10-27 12:33:23 +01:00
kaidaguerre
17b74fa7e7 Validate inputs when running single dashboard. Do not upload snapshot if dashboard was cancelled. Closes #2551 2022-10-26 11:29:17 +01:00
kaidaguerre
028d46c8ff Revert connection watching min-interval. Remove filewatcher from utils and and use go-kit filewatcher instead. 2022-10-17 22:07:21 +01:00
kaidaguerre
1dc28f4681 Add --source-snapshot option to dashboard command. Closes #2503. (#2491) 2022-10-11 23:36:27 +01:00
kaidaguerre
cb42d5d3eb Update CLI to upload snapshots to the cloud using --share and --snapshot options. Update Dashboard command to support passing a dashboard name as an argument. Closes #2365. Closes #2367 2022-09-02 17:05:40 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00