Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My fork to support ghost cells #1

Open
wants to merge 329 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
329 commits
Select commit Hold shift + click to select a range
1930424
Local packaging of bundle
sourishkrout Jun 11, 2024
c0a9bb6
3.5.10-edge.0
Jun 12, 2024
16d926c
Add git context (#1415)
peraltafederico Jun 12, 2024
9e6d38d
Updates strings for Stateful Platform (#1429)
pastuxso Jun 14, 2024
1e04112
Silly bug where muliple dashes get in the way
sourishkrout Jun 14, 2024
2072765
3.5.10-edge.1
Jun 14, 2024
6f58c91
Bump graphql from 16.8.1 to 16.8.2 (#1431)
dependabot[bot] Jun 17, 2024
302e3a4
Bump eslint-plugin-unicorn from 53.0.0 to 54.0.0 (#1430)
dependabot[bot] Jun 17, 2024
cfc7773
Bump @wdio/cli from 8.38.0 to 8.38.2 (#1432)
dependabot[bot] Jun 17, 2024
b5bd117
Bump chromedriver from 125.0.2 to 126.0.1 (#1433)
dependabot[bot] Jun 17, 2024
14783ae
Wed because everbody does Mon
sourishkrout Jun 24, 2024
d71922d
Bump @google-cloud/run from 1.2.0 to 1.3.0 (#1439)
dependabot[bot] Jun 24, 2024
0df8d31
Upgrade deps - June 2024 (#1442)
sourishkrout Jun 24, 2024
b557dc0
Upstream issue in jsonc-parser was fixed
sourishkrout Jun 24, 2024
3c36775
Ugh, forgot to run update
sourishkrout Jun 24, 2024
4e29610
3.5.10-edge.2
sourishkrout Jun 24, 2024
7550d83
3.5.10
Jun 25, 2024
122892c
Command should operate independent of focus
sourishkrout Jun 25, 2024
7d1db49
Prevent notebook UX from being rendered unusable (#1443)
sourishkrout Jun 25, 2024
ab1a966
3.6.0-edge.0
Jun 25, 2024
8c2c36b
Attempt parsing YAML if not already parsed
sourishkrout Jun 26, 2024
73a140f
feat(CloudRenderers): Initial AWS_PROFILE handling (#1445)
pastuxso Jun 27, 2024
37b8ef3
Fix lifecycle ID for cells at deserialization time (#1449)
sourishkrout Jun 27, 2024
80a2c48
3.6.0-edge.1
Jun 27, 2024
b0f4aad
Unfortunately sometimes GHA are slow to respond
sourishkrout Jun 24, 2024
88e07f6
3.6.0
Jun 27, 2024
4a15509
Deal with newlines
sourishkrout Jun 27, 2024
0f8b9bb
Simple list size toggle
sourishkrout Jun 27, 2024
9eaf081
Only display if max count is exceeded
sourishkrout Jun 27, 2024
779d136
3.6.1-edge.0
Jun 28, 2024
d78b647
Prevent overly wide layout
sourishkrout Jun 28, 2024
03f24ad
3.6.1-edge.1
Jun 28, 2024
3a9aae9
Config NODE_OPTIONS (#1451)
peraltafederico Jun 29, 2024
ddf59da
Send file contents (#1435)
peraltafederico Jun 29, 2024
efc8ad3
Implements Stateful Platform Authentication on Startup (#1454)
pastuxso Jun 30, 2024
15aa6ba
Use native xvfb (#1452)
peraltafederico Jul 1, 2024
3c38d8a
Allow terminalRows to be set at document-level (#1456)
sourishkrout Jul 1, 2024
68d44a3
Insert progress message since Cloud CLIs have added latency for SSH
sourishkrout Jul 1, 2024
9404da8
Overlooked these in docs
sourishkrout Jul 1, 2024
75b5dfb
3.6.1-edge.2
Jul 1, 2024
1c40270
Temporary disabling SSH Command (#1458)
pastuxso Jul 2, 2024
4d559e3
Fix SSH Button for EC2 Details Renderer (#1459)
pastuxso Jul 2, 2024
286db28
3.6.1-edge.3
Jul 2, 2024
686f9f0
3.6.1
Jul 2, 2024
1bdaf68
Words and logo (#1460)
admc Jul 6, 2024
6d809d7
Add initial azure examples (#1457)
pastuxso Jul 6, 2024
8135474
Might help to more explicitly explain here what these things are, sor…
admc Jul 9, 2024
7b30a83
3.6.2-edge.0
Jul 9, 2024
cbbd74d
One fell swoop deps upgrade (#1466)
sourishkrout Jul 9, 2024
3d188f4
Replace "unknown" languageIDs at deserialization (#1468)
sourishkrout Jul 9, 2024
28e4e60
Pin view to cloud panel
sourishkrout Jul 10, 2024
ad7c9b2
3.6.2-edge.1
Jul 10, 2024
f3427aa
I think it's importat to describe a relationship with runme (#1473)
admc Jul 10, 2024
20dd35e
Start moving away from runme cloud domain/endpoint resolution (#1474)
sourishkrout Jul 10, 2024
be1b9fb
3.6.2-edge.2
Jul 10, 2024
969e3e0
3.6.2
Jul 10, 2024
81eb0f5
Showcase how to integrate with Dagger (#1414)
sourishkrout Jul 10, 2024
ede7d33
Stateful extension marketplace README.md (#1476)
admc Jul 11, 2024
95ea33c
Whoops, wrong name
sourishkrout Jul 11, 2024
32e20a2
Add README to overwrites
sourishkrout Jul 11, 2024
94cdab7
3.6.3-edge.0
Jul 11, 2024
fb8d635
Fix fsPath reference (#1480)
peraltafederico Jul 12, 2024
61dbd1f
Add initial GKE Nodes Tab (#1464)
pastuxso Jul 15, 2024
1dbf5f1
Initial GCE Instance view (#1465)
pastuxso Jul 15, 2024
5e3d6cf
Enable Platform session cache (#1482)
peraltafederico Jul 16, 2024
65393f7
Include lock file
sourishkrout Jul 16, 2024
a0eaf71
Guard against index access in empty array
sourishkrout Jul 17, 2024
43c46e3
3.6.3-edge.1
Jul 17, 2024
6ea212b
3.6.3
Jul 18, 2024
bba0def
Hide preview gist button (#1487)
peraltafederico Jul 18, 2024
24dd139
Platform auth secrets per stage (#1488)
sourishkrout Jul 18, 2024
f011cb2
Simplify and remove deletion of cell ID - unclear why it's needed (#1…
sourishkrout Jul 19, 2024
14ddee3
Check for presence of both persistent and transient IDs
sourishkrout Jul 19, 2024
46fcc44
Console is a terminal is shell
sourishkrout Jul 22, 2024
1c34cbb
Using the new scoped @xterm/* packages (#1347)
sourishkrout Jul 24, 2024
f975d49
Run tests against latest vscode (#1441)
sourishkrout Jul 24, 2024
c7cbf49
Dependabot unified updates (#1495)
pastuxso Jul 25, 2024
6698983
3.6.4-edge.0
Jul 25, 2024
f91193e
Let users decide if masked or unmasked should be default (#1496)
sourishkrout Jul 29, 2024
82788b7
3.6.4-edge.1
Jul 29, 2024
b118c17
3.6.4
Jul 30, 2024
0ac4966
Adds Open Dashboard button (#1497)
pastuxso Jul 30, 2024
374a81d
Unified Dependabot updates (#1508)
pastuxso Jul 31, 2024
f7c05e5
Fork/rollup terminal (#1509)
sourishkrout Jul 31, 2024
d40650f
Change terminal profile icon and name
sourishkrout Jul 31, 2024
a8be1a1
Include sessionID into terminal name
sourishkrout Jul 31, 2024
2838ef0
Pass fake extension URI
sourishkrout Jul 31, 2024
5dcfbda
Ditch only
sourishkrout Jul 31, 2024
fdc2b81
3.6.5-edge.0
Jul 31, 2024
e7ebb9f
Improvements to `Env Store` (experimental) panel (#1479)
sourishkrout Jul 31, 2024
ce1276c
Bump fast-xml-parser and @aws-sdk/credential-providers (#1511)
dependabot[bot] Jul 31, 2024
ef69d97
Fix typo Dahsboard to Dashboard (#1514)
pastuxso Aug 1, 2024
6600b5d
Adds support to render Regional GKE Clusters (#1515)
pastuxso Aug 1, 2024
269aa43
Dependabot Updates (#1529)
pastuxso Aug 7, 2024
86dac7c
3.6.5-edge.1
Aug 7, 2024
454601d
Add open cell output button (#1517)
peraltafederico Aug 8, 2024
89d1b5a
Fix git dir (#1532)
peraltafederico Aug 8, 2024
96f7f0c
Unified dependabot updates (#1534)
pastuxso Aug 9, 2024
0a31dc5
Send device info (#1533)
peraltafederico Aug 9, 2024
b6e8085
Recover previous dagger state (#1528)
pastuxso Aug 9, 2024
dac6fdf
3.6.5-edge.2
Aug 9, 2024
1ca95e8
Dagger integration polish
sourishkrout Aug 12, 2024
b47cc16
Ignore comments in resource detection
sourishkrout Aug 12, 2024
073dfe9
3.6.5-edge.3
Aug 12, 2024
5544496
Formatting
sourishkrout Aug 12, 2024
32f59f2
3.6.5
Aug 12, 2024
9ddf3d7
Trim ending whitespace
sourishkrout Aug 12, 2024
9363f72
3.7.0-edge.0
Aug 12, 2024
60a938f
Prototype ghost cells for use with foyle (#1475)
jlewi Aug 13, 2024
b36022b
Ignore session files
sourishkrout Aug 13, 2024
5e0dbf9
Don't spill my secret
sourishkrout Aug 13, 2024
07a4adf
Only use integration for dagger call
sourishkrout Aug 13, 2024
f41e054
Bump husky from 9.0.11 to 9.1.4 (#1540)
dependabot[bot] Aug 14, 2024
2372c66
3.7.0-edge.1
Aug 14, 2024
bff1297
3.7.0
Aug 14, 2024
87eb92d
Make v2 to v2alpha1 seamless
sourishkrout Aug 15, 2024
35f55b8
3.7.1-edge.0
Aug 15, 2024
395ed02
Include into zod schema
sourishkrout Aug 15, 2024
366d64b
Specifically check for v1
sourishkrout Aug 15, 2024
7e7d16a
3.7.1-edge.1
Aug 15, 2024
11f2ce5
Skip Dagger integration for background task
sourishkrout Aug 16, 2024
ecf39e6
3.7.1-edge.2
Aug 16, 2024
12b6332
Simplify detection
sourishkrout Aug 16, 2024
52bab8f
3.7.1-edge.3
Aug 16, 2024
0867447
Fix jlewi/foyle#188 (#1536)
jlewi Aug 19, 2024
293f8c0
Deprecates and Removes Legacy Cloud Integration Support (#1551)
pastuxso Aug 19, 2024
61038db
Unified Dependabot Updates (#1552)
pastuxso Aug 19, 2024
3337bc4
3.7.1-edge.4
Aug 19, 2024
c07138d
3.7.1
Aug 20, 2024
f59fb64
Updates dependabot config (#1571)
pastuxso Aug 21, 2024
7fed03f
Exclude GitHub Action e2e Tests for Dependabot PRs (#1578)
pastuxso Aug 21, 2024
86521cd
GhostCells: Fix removal of ghost rendering and prevent stale inserts …
jlewi Aug 21, 2024
b7366dc
3.7.2
Aug 21, 2024
3499372
Unified Dependabot Updates (#1581)
pastuxso Aug 23, 2024
f6a63bf
Use the connect protocol to generate unary AI completions (#1559)
jlewi Aug 26, 2024
ea2be63
Evolve Dagger pipeline example
sourishkrout Aug 27, 2024
f40f661
Warn about unsupported shells (#1550)
pastuxso Aug 28, 2024
4c75105
3.7.3-edge.0
Aug 28, 2024
0fe4cc7
Bug fix: AIManager doesn't properly get the configuration for baseURL…
jlewi Aug 28, 2024
0ab6985
Rename runner v2alpha1 to v2 (#1586)
sourishkrout Aug 28, 2024
f1cc965
3.7.3-edge.1
Aug 28, 2024
5b8bc05
Change versioning-strategy to increase (#1601)
pastuxso Aug 30, 2024
64d5b23
3.7.3
Aug 30, 2024
77caab2
Dependabot updates 20240828 (#1606)
pastuxso Aug 30, 2024
eb2aa08
Update descriptions to own the Runme Notebooks term a little more cle…
admc Aug 30, 2024
76942d8
3.7.4-edge.0
Aug 30, 2024
dda7d8a
Use the Foyle API to report Log Events (#1589)
jlewi Sep 4, 2024
c9d0be3
Integrate reporter (#1558)
peraltafederico Sep 4, 2024
ff4f439
Dependabot 20240904 (#1618)
pastuxso Sep 5, 2024
d2d4ce9
Running e2e tests using VSCode v1.92.2 (#1622)
pastuxso Sep 5, 2024
b73edd5
3.7.4-edge.1
Sep 9, 2024
fc69f82
Initial Feature flag config (#1588)
pastuxso Sep 9, 2024
3f2615b
Shorter is better (#1627)
sourishkrout Sep 10, 2024
a6e0113
3.7.4-edge.2
Sep 10, 2024
4b5b954
Grouping e2e testing modules for Dependabot Updates (#1624)
pastuxso Sep 10, 2024
39bfc0e
3.7.4
Sep 10, 2024
12b2017
Await reporter after running the cell (#1638)
sourishkrout Sep 10, 2024
1b4a40c
Revert "Initial Feature flag config (#1588)" (#1639)
pastuxso Sep 10, 2024
e7c4fac
Rewire overwrites to use Runme GHA (#1643)
sourishkrout Sep 10, 2024
c7d19c1
3.7.5-edge.0
Sep 10, 2024
1fa725d
Integrate environments (#1599)
peraltafederico Sep 11, 2024
c36aa0b
Separate dependabot rules for /examples/k8s (#1645)
pastuxso Sep 11, 2024
b483033
3.7.5
Sep 11, 2024
555d3f3
Unblocking extension init (#1653)
pastuxso Sep 11, 2024
2929b16
Fix toggling between markdown/text with action buttons (#1644)
sourishkrout Sep 11, 2024
a5c8f9b
3.7.6-edge.0
Sep 12, 2024
0270a3c
Initial Feature flag config (#1642)
pastuxso Sep 12, 2024
c5a0106
Dependabot Updates 20240912 (#1655)
pastuxso Sep 13, 2024
d79bff5
Remove option to enable aiLogs in the server (#1661)
jlewi Sep 18, 2024
1a48894
Fix code-server login (#1662)
peraltafederico Sep 18, 2024
708a281
Force Session Outputs in Platform Auth (#1656)
peraltafederico Sep 18, 2024
675196b
3.7.6-edge.1
Sep 18, 2024
fd85398
Create releases either way
sourishkrout Sep 18, 2024
4a2b9e3
Upload any vsix files
sourishkrout Sep 18, 2024
8445324
Removes vsCodeVersion to skip checkVersion (#1670)
pastuxso Sep 18, 2024
60707fe
3.7.6-edge.2
Sep 18, 2024
a951505
Revert since tags cause issues in other repos
sourishkrout Sep 19, 2024
5f58952
Loads StatefulAuth provider only when it's necessary (#1672)
pastuxso Sep 19, 2024
4173df4
Pass languageId into resolve program API (#1660)
sourishkrout Sep 19, 2024
ae812b7
Telemetry (turn off with DO_NOT_TRACK env var) (#1674)
sourishkrout Sep 19, 2024
39e7e23
3.8.0-edge.0
sourishkrout Sep 20, 2024
d516319
3.8.0-edge.1
Sep 20, 2024
6fe8799
3.8.0
Sep 20, 2024
c3fb2db
Dependabot 20240919 (#1673)
pastuxso Sep 20, 2024
6b15df5
Improves shell detection error message (#1676)
pastuxso Sep 20, 2024
c6314e7
Disables SonarCloud (#1680)
pastuxso Sep 23, 2024
2ca185b
3.8.1-edge.0
Sep 23, 2024
d27fcfd
Adds don't ask again button for Shell Warning (#1681)
pastuxso Sep 23, 2024
73a5e2b
Finalize Runme terminal (#1683)
sourishkrout Sep 24, 2024
73f2bd0
Warn if Runme Terminal is launched using Runner v1
sourishkrout Sep 24, 2024
4ce4d81
3.8.1-edge.1
Sep 24, 2024
5bcf950
Turn on "Fork" button by default (#1684)
sourishkrout Sep 25, 2024
713ec81
Revert type
sourishkrout Sep 25, 2024
d24230b
Check for Fork button
sourishkrout Sep 25, 2024
c60f189
3.8.1-edge.2
Sep 25, 2024
41daead
Base rollup terminal example
sourishkrout Sep 25, 2024
8a3f799
Explicit saves only
sourishkrout Sep 25, 2024
cba9fe5
3.8.1
Sep 25, 2024
24e9e86
Don't remove
sourishkrout Sep 25, 2024
f2e54a6
Multi-line
sourishkrout Sep 25, 2024
37db30b
3.8.2-edge.0
sourishkrout Sep 25, 2024
610b2a4
3.8.2
Sep 25, 2024
7c58bed
Simplify save detection
sourishkrout Sep 26, 2024
2a03ec2
3.8.3-edge.0
sourishkrout Sep 26, 2024
87c76f5
Check for both
sourishkrout Sep 26, 2024
25675c8
3.8.3-edge.1
sourishkrout Sep 26, 2024
fb908de
3.8.3
Sep 26, 2024
0b81a90
3.8.4-edge.0
Sep 26, 2024
d678954
Overwrite scrollback buffer by two magnitudes
sourishkrout Sep 26, 2024
b53489e
Add json flag
sourishkrout Sep 26, 2024
8ac9d0a
Enables Cells Saving in Runme (#1679)
pastuxso Sep 26, 2024
491ff4f
3.8.4-edge.1
Sep 27, 2024
3cb2144
3.8.4
Sep 27, 2024
ee7b4ef
Integrate Escalation (#1671)
peraltafederico Sep 30, 2024
c7a06bc
Set ENV var
sourishkrout Sep 30, 2024
4245a32
Going back to the latest stable VS Code version to perform e2e tests …
pastuxso Sep 30, 2024
b948d72
3.8.5-edge.0
Oct 1, 2024
01420f8
Enable for Runme (#1699)
sourishkrout Oct 1, 2024
2e235f1
3.8.5-edge.1
Oct 1, 2024
ab9d3ef
3.8.5
Oct 1, 2024
557ffff
Bump to Node v20.17.0 (#1696)
pastuxso Oct 1, 2024
dd2ecd0
Update Dependabot schedule (#1701)
pastuxso Oct 2, 2024
cfaa248
Dependabot 20241002 (#1705)
pastuxso Oct 2, 2024
155065a
CLI Button comes back (#1706)
pastuxso Oct 2, 2024
8985c9a
Dependabot 20241002 (#1710)
pastuxso Oct 3, 2024
cc7065a
Include selected index in GenerateCellsRequest (#1709)
jlewi Oct 3, 2024
913292f
3.8.6-edge.0
Oct 3, 2024
9ae3bc5
Add support to perform copy to clipboard on Linux (#1700)
pastuxso Oct 4, 2024
a130109
Render markup cells as ghost cells (#1713)
jlewi Oct 8, 2024
8e04312
3.8.6-edge.1
Oct 8, 2024
5c87db2
Minor Fixes and Enhancements (#1712)
pastuxso Oct 9, 2024
b5debac
3.8.6-edge.2
Oct 9, 2024
9ccbe07
3.8.6
Oct 9, 2024
b653ab8
Dependabot 20241009 (#1726)
pastuxso Oct 9, 2024
01768bb
Make lifecycle identity truly optional in Runme (#1707)
sourishkrout Oct 10, 2024
3e36b16
3.8.7-edge.0
Oct 10, 2024
98ebfe0
Fix Feature Flag runtime overrides (#1729)
pastuxso Oct 11, 2024
6eaa8a2
3.9.0-edge.0
sourishkrout Oct 15, 2024
65eac90
3.9.0
Oct 15, 2024
fff7903
Adds additional headers to support better debugging in cloud environm…
pastuxso Oct 15, 2024
e51f1f2
Explicit errors when saving cells (#1733)
peraltafederico Oct 15, 2024
d56fba5
Reconfig columns
sourishkrout Oct 16, 2024
90fcc5b
Premature
sourishkrout Oct 17, 2024
9fed206
Maintenance changes Dependabot + Config (#1743)
pastuxso Oct 18, 2024
d2dadcc
Remove duplicate
sourishkrout Oct 19, 2024
004b49f
Squashed commit of the following:
jlewi Oct 24, 2024
95d19ca
Squashed commit of the following:
jlewi Oct 24, 2024
a8e337a
Squashed commit of the following:
jlewi Oct 24, 2024
8cd6df4
Squashed commit of the following:
jlewi Oct 24, 2024
eec2496
Upgrade to the latest Foyle connect packages; I accidentally downgrad…
jlewi Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
out
dagger
node_modules
__generated__
__generated-platform__
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"max-len": [
2,
120
{ "code": 120, "ignoreUrls": true, "ignoreTemplateLiterals": true }
]
},
"ignorePatterns": [
Expand Down
38 changes: 29 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@ updates:
directory: "/"
schedule:
interval: weekly
time: "11:00"
time: "06:00"
day: "wednesday"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary
versioning-strategy: increase
ignore:
# we want to update this package manually as it changes
# the minimum required VS Code version for this extension
# to run
- dependency-name: "@types/vscode"
# we want to update this package manually as we don't have
# any influence which Node.js version VS Code uses
- dependency-name: "@types/node"
# ESM only packages we can't update since VS Code doesn't
# support ESM yet
- dependency-name: "got"
Expand All @@ -23,3 +18,28 @@ updates:
- dependency-name: "@octokit/rest"
# it breaks wdio-vscode-service
- dependency-name: "vscode-uri"
# Deprecated
- dependency-name: "@vercel/client"
groups:
aws-sdk:
patterns:
- "@aws-sdk/client-ec2"
- "@aws-sdk/client-eks"
- "@aws-sdk/credential-providers"
e2e-tests:
patterns:
- "@wdio/cli"
- "@wdio/local-runner"
- "@wdio/mocha-framework"
- "@wdio/spec-reporter"
- "chromedriver"
- "wdio-vscode-service"
- "webdriverio"
- package-ecosystem: npm
directory: "/examples/k8s"
schedule:
interval: monthly
time: "09:00"
day: "wednesday"
timezone: "America/Los_Angeles"
open-pull-requests-limit: 1
36 changes: 36 additions & 0 deletions .github/scripts/overwrites/runme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
cwd: ../../..
---

# Settings Overwrites

Remove panels mostly relevant for development.

```sh {"id":"01J7EZNXTG43WAYRWPFX7MHN7F","interactive":"false","name":"deactivate-panels"}
npm pkg delete "contributes.views.runme[1]" # remove chat
npm pkg delete "contributes.views.runme[1]" # remove search
git diff package.json
```

Deactivate smart env store and remove panels.

```sh {"id":"01J7EZQJX1843SKQCRC7P8BHYV","interactive":"false","name":"deactivate-smartenv"}
npm pkg delete "contributes.views[runme-notebook]"
npm pkg delete "contributes.viewsContainers.panel"
npm pkg set "contributes.configuration[0].properties[runme.experiments.smartEnvStore].default=false" --json
git diff package.json
```

Enable smart env store for edge/pre-release.

```sh {"id":"01J7F152F569Z9QXZZEV0CW1Z6","interactive":"false","name":"activate-smartenv"}
npm pkg set "contributes.configuration[0].properties[runme.experiments.smartEnvStore].default=true" --json
git diff package.json
```

### Reset

```sh {"excludeFromRunAll":"true","id":"01J7EZQSG262FMGJAYG1W6Z3EQ"}
git checkout -f package.json
git diff package.json
```
18 changes: 18 additions & 0 deletions .github/scripts/overwrites/stateful.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
cwd: ../../..
---

# Settings Overwrites

To overwrite Runme's defaults to match Stateful's run following commands:

```sh {"id":"01J1N29F9C3BCHS56FWF55DA0E","name":"overwrite-stateful","promptEnv":"no"}
export EXTENSION_NAME="platform"
bash .github/scripts/overwrites/stateful.sh
```

To clean up and revert back to Runme's defaults, run the following commands:

```sh {"id":"01J1N2CE95P9D3ZQZNDQGMVFGX","name":"overwrite-reset"}
git checkout -f assets package*.json README.md
```
23 changes: 23 additions & 0 deletions .github/scripts/overwrites/stateful.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# package.json stateful overwrites
npm pkg set name="$EXTENSION_NAME"
npm pkg set displayName="Stateful Notebooks for DevOps"
npm pkg set description="DevOps Notebooks built on Runme, connected for collaboration."
npm pkg set homepage="https://stateful.com"
npm pkg set contributes.configuration[0].properties[runme.app.baseDomain].default="platform.stateful.com"
npm pkg set contributes.configuration[0].properties[runme.app.platformAuth].default=true --json
npm pkg set contributes.configuration[0].properties[runme.server.lifecycleIdentity].default=1 --json
npm pkg set contributes.configuration[0].properties[runme.app.notebookAutoSave].default="yes"
npm pkg set contributes.configuration[0].properties[runme.terminal.scrollback].default=100000 --json
npm pkg set contributes.configuration[0].properties[runme.app.panel.runme.cloud].default="\"\"" --json
npm pkg set contributes.views.runme[0].name="Platform"
npm pkg set contributes.viewsContainers.activitybar[0].title="Stateful"
npm pkg delete galleryBanner

cp -f "assets/$EXTENSION_NAME-icon.gif" "assets/icon.gif"
cp -f "assets/$EXTENSION_NAME-logo-open-dark.svg" "assets/logo-open-dark.svg"
cp -f "assets/$EXTENSION_NAME-logo-open-light.svg" "assets/logo-open-light.svg"
cp -f "assets/$EXTENSION_NAME-logo-sidebar.svg" "assets/logo-sidebar.svg"

cp -f "README-$EXTENSION_NAME.md" "README.md"
47 changes: 25 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
release:
runs-on: ubuntu-latest
env:
DO_NOT_TRACK: 1
REPOSITORY: runme
steps:
- name: Clone Repository
Expand All @@ -60,6 +61,9 @@ jobs:
with:
node-version: 18

- name: Install xvfb
run: sudo apt-get update -y && sudo apt-get install xvfb

- name: Install Dependencies
run: npm ci
env:
Expand All @@ -82,10 +86,7 @@ jobs:
if: ${{ github.event.inputs.releaseChannel == 'stable' }}

- name: Run Tests
uses: coactions/setup-xvfb@v1
with:
run: npm test
options: "-screen 0 1600x1200x24"
run: xvfb-run --server-args="-screen 0 1600x1200x24" npm test
env:
NODE_ENV: production

Expand All @@ -94,17 +95,10 @@ jobs:
echo "EXTENSION_NAME=${EXTENSION_NAME}" >> $GITHUB_ENV

- name: Overwrite Extension Definition
uses: stateful/runme-action@v2
with:
workflows: overwrite-stateful
if: env.EXTENSION_NAME != 'runme'
run: |
jq ".name = \"$EXTENSION_NAME\"" package.json | jq ".displayName = \"Stateful Platform\"" | jq ".description = \"CloudOps Workflows made for Self-Service\"" | jq "del( .galleryBanner )" > _package.json
mv -f _package.json package.json

- name: Set Assets
run: |
cp -f "assets/$EXTENSION_NAME-icon.gif" "assets/icon.gif"
cp -f "assets/$EXTENSION_NAME-logo-open-dark.svg" "assets/logo-open-dark.svg"
cp -f "assets/$EXTENSION_NAME-logo-open-light.svg" "assets/logo-open-light.svg"
cp -f "assets/$EXTENSION_NAME-logo-sidebar.svg" "assets/logo-sidebar.svg"

- name: Get Stable Releases
uses: actions/github-script@v6
Expand Down Expand Up @@ -175,13 +169,22 @@ jobs:
if: ${{ github.event.inputs.releaseChannel == 'edge' || env.EXTENSION_NAME != 'runme' }}
run: node .github/scripts/updateEdgeVersion.js

- name: Deactivate additional panel
run: |
jq 'del( .contributes.views.runme[1], .contributes.views.runme[2] )' package.json > _package.json
jq 'del( .contributes.views["runme-notebook"], .contributes.viewsContainers.panel, .contributes.terminal )' _package.json > __package.json
mv -f __package.json package.json
rm -f _package.json
# if: ${{ github.event.inputs.releaseChannel == 'stable' }}
- name: Deactivate additional panel & terminal
uses: stateful/runme-action@v2
with:
workflows: deactivate-panels

- name: Deactivate smart env store for stable
uses: stateful/runme-action@v2
with:
workflows: deactivate-smartenv
if: ${{ github.event.inputs.releaseChannel == 'stable' }}

- name: Activate smart env store for edge
uses: stateful/runme-action@v2
with:
workflows: activate-smartenv
if: ${{ github.event.inputs.releaseChannel == 'edge' }}

# Linux X86
- name: Package Extension Linux x86_64 (Edge)
Expand Down Expand Up @@ -409,7 +412,7 @@ jobs:
if: env.EXTENSION_NAME == 'runme'
uses: ncipollo/release-action@v1
with:
artifacts: "./runme-*"
artifacts: "./*.vsix"
bodyFile: ${{ github.workspace }}-CHANGELOG.txt
tag: ${{ env.GIT_TAG }}
prerelease: ${{ github.event.inputs.releaseChannel == 'edge' }}
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: SonarCloud
on:
workflow_dispatch:

# cancel old edit events being processed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install xvfb
run: sudo apt-get update -y && sudo apt-get install xvfb
- name: 👷 Install Dependencies
run: npm ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🧪 Setup and Test with Runme
run: xvfb-run npx runme run configureNPM setup build test:ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUNME_TEST_TOKEN: ${{ secrets.RUNME_TEST_TOKEN }}
RUNME_PROJECT: ${{ github.workspace }}
SHELL: bash
GITHUB_ACTOR: ${{ github.actor }}
- name: 🔼 Upload Artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: |
tests/e2e/screenshots
tests/e2e/logs
- name: 🔼 Upload coverage
uses: actions/upload-artifact@v4
if: ${{github.actor != 'dependabot[bot]' && matrix.os == 'ubuntu-latest'}}
with:
name: coverage
path: ./coverage
if-no-files-found: error

sonarcloud:
if: ${{github.actor != 'dependabot[bot]' && vars.EXTENSION_NAME == 'runme'}}
name: SonarCloud Analysis
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Retrieve saved coverage
uses: actions/[email protected]
with:
name: coverage
path: ./coverage

- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
42 changes: 10 additions & 32 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,59 +16,37 @@ jobs:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
DO_NOT_TRACK: 1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.17.0"
- name: Install xvfb
run: sudo apt-get update -y && sudo apt-get install xvfb
- name: 👷 Install Dependencies
run: npm ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 🧪 Setup and Test with Runme
uses: coactions/setup-xvfb@v1
with:
run: npx runme run configureNPM setup build test:ci
run: xvfb-run npx runme run configureNPM setup build test:ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUNME_TEST_TOKEN: ${{ secrets.RUNME_TEST_TOKEN }}
RUNME_PROJECT: ${{ github.workspace }}
SHELL: bash
GITHUB_ACTOR: ${{ github.actor }}
- name: 🔼 Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: |
tests/e2e/screenshots
tests/e2e/logs
- name: 🔼 Upload coverage
uses: actions/upload-artifact@v3
if: ${{github.actor != 'dependabot[bot]' && matrix.os == 'ubuntu-latest'}}
with:
name: coverage
path: ./coverage
if-no-files-found: error
- name: 🐛 Debug Build
uses: stateful/vscode-server-action@v1
if: failure()
with:
timeout: "300000"

sonarcloud:
if: ${{github.actor != 'dependabot[bot]' && vars.EXTENSION_NAME == 'runme'}}
name: SonarCloud Analysis
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Retrieve saved coverage
uses: actions/download-artifact@v3
with:
name: coverage
path: ./coverage

- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ vscode-runme-CHANGELOG.txt
.node_modules
examples/.vscode
assets
.venv
**/*-01*.md
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.19.0
v20.17.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.19.0
nodejs 20.17.0
Loading
Loading