Skip to content
New issue

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

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

Already on GitHub? # to your account

[pull] develop from enso-org:develop #92

Open
wants to merge 176 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
c6f4b4a
Cleanup jline dependencies (#12020)
hubertp Jan 9, 2025
f5e330d
[Quickfix] import std lib benchmark does not fail on IR cache version…
Akirathan Jan 9, 2025
0970a2a
Fix asset rows not being memoized (#12029)
somebody1234 Jan 9, 2025
a617492
update deps and cleanup unused halo code (#11989)
Frizi Jan 9, 2025
4ace1b2
Generate IR definitions by annotation processor - 1st step (#11770)
Akirathan Jan 9, 2025
b02e228
Respect number order when sorting assets by title (#12030)
somebody1234 Jan 10, 2025
7d9d69b
`EnsoMultiValue.firstDispatch` to speed benchmarks up (#11975)
JaroslavTulach Jan 10, 2025
354ccce
Remove unused native libs from opencv (#12021)
Akirathan Jan 10, 2025
7d4110d
Eliminate handler frames from `Caught_Panic.stack_trace` (#12024)
JaroslavTulach Jan 10, 2025
ff1a6b4
`HelloWorldCacheTest` CI failures fix + more logging (#12025)
JaroslavTulach Jan 10, 2025
7ceb1fb
Sort output of `S3_File.list` and `Enso_File.list` (#11929)
GregoryTravis Jan 10, 2025
09929c3
Revert veaury back to 2.4 (#12039)
farmaazon Jan 10, 2025
516e0f2
Always re-package signed jars with existing MANIFEST (#12041)
hubertp Jan 13, 2025
3543bd9
Better detection for Enso's NI when launching Language Server (#12034)
hubertp Jan 13, 2025
c2f0925
Builtins expose Enso methods (#11687)
Akirathan Jan 13, 2025
8a28671
Add missing teardown to a few cloud tests (#12044)
radeusgd Jan 14, 2025
aea7f5c
Prefer module methods over `Any` instance ones (#12048)
JaroslavTulach Jan 14, 2025
3331cbc
Revert "Disable visualizations for subexpressions (#11949)" (#12050)
hubertp Jan 14, 2025
303888e
Invalidate queries when the user goes online + Fix offline mode (#11944)
MrFlashAccount Jan 14, 2025
48aa65c
Bazel build system (#11337)
Frizi Jan 14, 2025
4324e65
Fix ClassCastException when builtin is invoked with wrong args (#12033)
Akirathan Jan 15, 2025
27d9419
Types with `private` constructors can be public (#12052)
JaroslavTulach Jan 15, 2025
6dc3e33
Address common issues after bazel merge (#12060)
Frizi Jan 15, 2025
b1cc4f1
Remove listGroups while building categories (#11988)
MrFlashAccount Jan 15, 2025
d2c279f
Marking docs/types/types.md as (mostly) outdated (#12049)
JaroslavTulach Jan 16, 2025
ddda787
Introduce ENSO_LAUNCHER env var to configure behavior of buildEngineD…
Akirathan Jan 16, 2025
5817dfc
Refactor Suggestion DB (#12065)
kazcw Jan 17, 2025
4c3b232
Provide fallback local ENSO_IDE_PROJECT_MANAGER_URL for all builds. (…
Frizi Jan 17, 2025
8ec938d
Mention that WSL bash is not suitable on Windows (#12070)
vitvakatu Jan 17, 2025
6a2c17c
refactor RunningLooper (#12058)
AdRiley Jan 17, 2025
1d4a1a6
Add horizontal lines to table viz (#12055)
marthasharkey Jan 17, 2025
7cde786
Refactor Builders for the In-Memory Table (#12046)
jdunkerley Jan 17, 2025
fb6f842
Dynamic widget improvements to `Table.filter`. (#12032)
jdunkerley Jan 17, 2025
1625112
revert platform detection in HTML (#12082)
MrFlashAccount Jan 20, 2025
17dcbd6
Quick Fix Import Button (#12051)
JaroslavTulach Jan 20, 2025
570f141
Infrastructure for `enso --docs` option & signature generator (#10291)
JaroslavTulach Jan 21, 2025
36169e9
Fix header rename (#12064)
farmaazon Jan 21, 2025
242c27d
Adapt `parse` test for Snowflake edge case (#12085)
radeusgd Jan 21, 2025
09f5169
Joined buttons (#12079)
MrFlashAccount Jan 21, 2025
a02cf2f
Add Table.Offset (#12071)
AdRiley Jan 21, 2025
3caaf1c
Menu component (#12080)
MrFlashAccount Jan 21, 2025
9507b5c
Next step in In-Memory tidy up work. (#12087)
jdunkerley Jan 21, 2025
0034798
Remove sentry from .env file (#12094)
MrFlashAccount Jan 21, 2025
3587ca2
In-Memory Refactor Part 3 (#12096)
jdunkerley Jan 22, 2025
cb7601e
Fix DB maintenance actions broken by #7117 (#12105)
radeusgd Jan 22, 2025
58e1b3d
Async Execution (project scheduling) (#10827)
somebody1234 Jan 22, 2025
aa45212
Add cloud icons. Remove some unused icons. (#12107)
AdRiley Jan 22, 2025
54f09bf
Column offset (#12092)
AdRiley Jan 22, 2025
1f5ba9d
Cleaning up `Standard.Base.Meta` API (#12031)
JaroslavTulach Jan 22, 2025
a1e01fc
BenchmarksRunner does not override jvm args of forked processes. (#12…
Akirathan Jan 22, 2025
2000918
Improve scatterplot legend entance/exits (#12013)
marthasharkey Jan 23, 2025
49cb150
Use AG Grid filter types (#12072)
marthasharkey Jan 23, 2025
7029c4a
Fix spurious imports, clean up tests (#12076)
kazcw Jan 23, 2025
9f6fc3b
Unhandled Java Exceptions not handled in same way as Enso panics (#1…
4e6 Jan 23, 2025
c6d00bb
`Download_Mode` for `File`, `S3_File` and `Enso_File` (#12017)
GregoryTravis Jan 23, 2025
00bde82
Abstract project names (#12106)
kazcw Jan 23, 2025
78febd5
Better error when unknown language is used with `foreign` in binary m…
JaroslavTulach Jan 24, 2025
8cc8c4f
`ENSO_LAUNCHER` can be `native,test,debug,fast,-ls` (#12117)
JaroslavTulach Jan 24, 2025
ec90e49
Second batch of dashboard/cloud icons (#12125)
AdRiley Jan 24, 2025
b3dbfa9
Fix mouse interactions in node visualizations (#12127)
Frizi Jan 24, 2025
092d7c0
Move Help section to the Topbar (#12059)
MrFlashAccount Jan 24, 2025
6592bae
Remove storage from offset (#12130)
AdRiley Jan 24, 2025
03c1c3c
Bump path-to-regexp and express in /tools/simple-library-server (#11816)
dependabot[bot] Jan 24, 2025
bc32447
Introduce `Value_Type.Null`, fix edge cases for `read_many` (#11737)
radeusgd Jan 24, 2025
f281f84
Component status colors (#12124)
kazcw Jan 24, 2025
a64dd4a
Enable std-database in native image (#12068)
hubertp Jan 26, 2025
79da040
Bump vite 6.0.9 (#12135)
farmaazon Jan 27, 2025
d960676
Disable bazel remote cache on self-hosted runners (#12145)
Frizi Jan 27, 2025
e26b9c6
Tooltips fixes (#12067)
vitvakatu Jan 27, 2025
08ecd3d
Breadcrumbs component (#12115)
MrFlashAccount Jan 27, 2025
8dd1598
Workaround UnresolvedSymbol issues on CI (#12148)
hubertp Jan 27, 2025
db2b784
Hide `main` signature in doc editor (#12116)
kazcw Jan 27, 2025
c54fb07
Display component evaluating status (#12126)
kazcw Jan 27, 2025
19527bb
Enable bazel caches for lint and deploy storybook jobs (#12147)
vitvakatu Jan 27, 2025
761cb40
Use fn... to reference any module function (#12128)
JaroslavTulach Jan 27, 2025
7051db4
Remove logging (#12139)
GregoryTravis Jan 27, 2025
7c9f3c1
Use new release of rules_rust instead of using git override. (#12159)
Frizi Jan 27, 2025
a47ed0f
Refine single-value column to treat it as that single value (#12120)
radeusgd Jan 27, 2025
5f53340
Remove magic numbers from SQL generation (#12141)
AdRiley Jan 27, 2025
f25164d
Refactoring Storage (#12119)
jdunkerley Jan 27, 2025
39c727b
Hide Enso devtools in Prod for users outside of enso team (#12140)
MrFlashAccount Jan 28, 2025
ba4993e
Adding some practical tests for intersection types in context of usin…
radeusgd Jan 28, 2025
2b6c7d7
Disable flaky test (#12167)
GregoryTravis Jan 28, 2025
df5fdfa
Dump compiler IR to IGV (#12061)
Akirathan Jan 28, 2025
6f3f187
Always attempt to resolve to a default edition (#12157)
hubertp Jan 28, 2025
166ad90
Avoiding duplicated code inside of the with index and `-NoIndex` task…
JaroslavTulach Jan 28, 2025
54ccd1a
Enable Standard.AWS and Standard.Microsoft in native image (#12156)
hubertp Jan 29, 2025
4cae524
Expect failure when parsing external Qualified Names (#12172)
farmaazon Jan 29, 2025
fe49064
Remove directory listing on job failure (#12164)
hubertp Jan 29, 2025
caec1e6
Keep `EnsoMultiValue` as `self` when dispatching `Any` instance metho…
JaroslavTulach Jan 29, 2025
96b3a97
Add third data quality metric (#11939)
marthasharkey Jan 30, 2025
6a216f0
Make test dir unique in S3_Spec (#12173)
GregoryTravis Jan 30, 2025
5c07590
Quick Editing in Table Editor Widget (#12129)
farmaazon Jan 30, 2025
2ca2880
Use bazel remote cache server on self-hosted runners (#12160)
Frizi Jan 30, 2025
b0d05a3
Prepare API generator for automatic check (#12175)
Akirathan Jan 30, 2025
9daf16d
GitHub Artifacts API update (#12210)
4e6 Feb 3, 2025
7cbe777
Table Widget Fixes (#12196)
jdunkerley Feb 3, 2025
36d967e
New icon component (#12091)
MrFlashAccount Feb 3, 2025
e1a5a23
Add Snowflake to native-image (#12193)
hubertp Feb 3, 2025
dcb8957
Pair.to Meta.Type . qualified_name . should_equal 'Standard.Base.Data…
JaroslavTulach Feb 3, 2025
1cb86a5
Move output ports to edges level (#12133)
vitvakatu Feb 3, 2025
a310865
Add-image button in docs panel (#12202)
kazcw Feb 3, 2025
50c9d53
Proper port position updates during animations (#12179)
Frizi Feb 3, 2025
6cbd3d1
Numbered and nested lists (#12190)
kazcw Feb 4, 2025
e38c2b1
Generate API docs for Standard.Base (#12203)
Akirathan Feb 4, 2025
44001b5
Add IDE artifacts to the release workfow page (#12221)
4e6 Feb 4, 2025
b52f2e1
Remove hash from default column name (#12222)
farmaazon Feb 4, 2025
0b30579
Data for bench website generation are gathered from 2024-10-01. (#12227)
Akirathan Feb 4, 2025
171723a
Include Mac OS X aarch64 version of native lib of opencv (#12197)
Akirathan Feb 4, 2025
1894d2c
Fix artifact upload in benchmark jobs (#12226)
Akirathan Feb 4, 2025
7031afe
Refine single-column Table to act as a Column (#12165)
radeusgd Feb 4, 2025
fa6b03c
Continued work on Table widgets (#12225)
jdunkerley Feb 5, 2025
2297dca
Cloud File Browser displays full tree in teams plan. (#12208)
farmaazon Feb 5, 2025
10fe252
Fix benchmark comparison in `bench_download.py` tool (#12234)
Akirathan Feb 5, 2025
cfd8055
Fix Table and Column test for nothing values (#12205)
AdRiley Feb 5, 2025
7e651ea
Refactor offset tests (#12191)
AdRiley Feb 5, 2025
a829bdb
Add extra columns when reading Delimited file (#12231)
radeusgd Feb 5, 2025
68ccb3d
Use `BuiltinRootNode.ArgNode` to extract argument for a builtin metho…
JaroslavTulach Feb 8, 2025
253e9b6
Fill in line numbers for IR.bgv files (#12218)
JaroslavTulach Feb 8, 2025
535ae00
Fix CI issues with corepack signature verification (#12249)
Frizi Feb 8, 2025
efe8786
Convert some global typing passes to mini passes (#11717)
Akirathan Feb 8, 2025
d681da3
Fix tests that falsely assumed table ordering in DB (#12248)
radeusgd Feb 8, 2025
f419a12
Small fix to DB_Column visualization (#12245)
radeusgd Feb 8, 2025
3b99204
Add Standard.Tableau to native-image (#12204)
hubertp Feb 10, 2025
082b09a
New gate for stdlib API check (#12223)
Akirathan Feb 10, 2025
7d5bee6
Expression update contains full multi-value info (#12195)
4e6 Feb 10, 2025
05d07bc
Add DB_Table.offset for SQLServer (#12206)
AdRiley Feb 10, 2025
112c224
Move Cast out of Storage, new common utils for cast and unary operati…
jdunkerley Feb 10, 2025
4ebc124
Bump openssl from 0.10.66 to 0.10.70 (#12224)
farmaazon Feb 11, 2025
8af687b
Replace more IR Scala case classes with Java interfaces (#12211)
Akirathan Feb 11, 2025
fadaf44
Editing markdown documentation with buttons (#12217)
vitvakatu Feb 11, 2025
1bd2a62
Add DB_Table.offset for snowflake, postgres and sqlite (#12251)
AdRiley Feb 11, 2025
8bc7025
Improvements in DX/Compiler/CI (#12158)
MrFlashAccount Feb 12, 2025
f18f6ba
Include Standard.Google_Api in NI (#12256)
hubertp Feb 12, 2025
fd2c808
Bump serialize-javascript from 6.0.1 to 6.0.2 in /tools/enso4igv (#12…
dependabot[bot] Feb 12, 2025
cbd85a2
Bump esbuild from 0.24.2 to 0.25.0 (#12261)
farmaazon Feb 12, 2025
f815f49
Enable ydoc-server tests (#12252)
4e6 Feb 12, 2025
595e0a8
Dispatch of `to_text`, `is_a` & co. on intersection types (#12192)
JaroslavTulach Feb 12, 2025
123126f
Add git submodule for dev-env repository. (#12264)
farmaazon Feb 13, 2025
30e1031
Filename input in Cloud File Browser for write component. (#12228)
farmaazon Feb 13, 2025
28a1b03
Add a few more Table benchmarks (#12269)
radeusgd Feb 13, 2025
fea3957
Add unit tests for expressions (#12262)
AdRiley Feb 13, 2025
33a9ba9
Enable Key-pair authentication for Snowflake (#12247)
radeusgd Feb 13, 2025
d7e8fb0
Always run clean builds on `develop` (#12270)
hubertp Feb 14, 2025
566d3d5
Ensure logging does not report spurious failures (#12265)
hubertp Feb 14, 2025
24c926b
Basic generic JDBC connection (#12073)
GregoryTravis Feb 14, 2025
9466d3a
Move static expression methods to enso (#12284)
AdRiley Feb 15, 2025
3d4690f
Enable NI with IDE (#12287)
hubertp Feb 16, 2025
d2b10bd
Use https protocol for git submodules (#12288)
4e6 Feb 17, 2025
6494161
Removing State from method signatures (#12233)
JaroslavTulach Feb 17, 2025
c9d740b
Creating directory in File Browser (#12275)
farmaazon Feb 17, 2025
e6d8e43
Fix infinite recursion when calling `to_text` on an Atom with lazy fi…
Akirathan Feb 17, 2025
06bb294
Fix excel cache test failure (#12174)
GregoryTravis Feb 17, 2025
b786a33
Implement Iterators on Storage, arithmetic and comparisons use the St…
jdunkerley Feb 17, 2025
3d6f2ec
Enabling native launchers for the release (#12296)
JaroslavTulach Feb 17, 2025
244d84d
Expression support for arithmetic functions as numbers (#12297)
AdRiley Feb 18, 2025
b2f5ca0
Register with IDE instead of the Browser (#12108)
MrFlashAccount Feb 19, 2025
bf75d44
Make submodule URL relative (#12321)
farmaazon Feb 19, 2025
887a80a
Log arguments passed to the 'main' function (#12319)
radeusgd Feb 19, 2025
965941c
Fix delete dialog appearing (#12229)
MrFlashAccount Feb 19, 2025
59c82f3
Use checked signatures for Table and Column (#12283)
radeusgd Feb 19, 2025
560e9a5
Ability to run just a single benchmark on the CI (#12324)
Akirathan Feb 19, 2025
d976b35
Regex support in Expressions (#12320)
AdRiley Feb 20, 2025
35fe2b3
Add flag for setting GUI mode (#12325)
farmaazon Feb 20, 2025
4b38d9a
Move comparisons from Null, Date, Time, DateTime and String Storages …
jdunkerley Feb 20, 2025
bc0825c
Improve error reporting of named argument mismatch (#12238)
radeusgd Feb 20, 2025
1f43b02
Fix detection of bundled runtime with --jvm option (#12318)
Akirathan Feb 20, 2025
d7f3364
Run all benchmarks when empty name specified (#12332)
Akirathan Feb 20, 2025
85bd560
Enable escaping (#12333)
AdRiley Feb 20, 2025
adf367e
Limit the size of expressions (#12336)
AdRiley Feb 20, 2025
ccf0b19
Rename directories in Cloud File Browser. (#12323)
farmaazon Feb 21, 2025
de55ce9
Revert accidential change in bazel-build (#12342)
farmaazon Feb 21, 2025
a1c2924
Different labels for stdlib API checks (#12326)
Akirathan Feb 21, 2025
96440df
Text Predicates into new Operations (#12339)
jdunkerley Feb 21, 2025
6709d47
Encapsulating State access by moving nodes to runtime.state package (…
JaroslavTulach Feb 22, 2025
76f5f70
Honor ENSO_LAUNCHER in runProjectManagerDistribution (#12343)
JaroslavTulach Feb 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# all node modules
node_modules
app/gui/node_modules
app/common/node_modules
app/ide-desktop/client/node_modules
app/ide-desktop/icons/node_modules
app/ide-desktop/lib/assets/node_modules
app/ide-desktop/lib/client/node_modules
app/ide-desktop/lib/common/node_modules
app/ide-desktop/lib/content-config/node_modules
app/ide-desktop/lib/dashboard/node_modules
app/ide-desktop/lib/esbuild-plugin-copy-directories/node_modules
app/ide-desktop/lib/icons/node_modules
app/ide-desktop/lib/ts-plugin-namespace-auto-import/node_modules
app/ide-desktop/node_modules
app/rust-ffi/node_modules
app/ydoc-server/node_modules
app/ydoc-server-nodejs/node_modules
app/ydoc-server-polyglot/node_modules
app/ydoc-shared/node_modules
app/ydoc-shared/parser-codegen/generated
app/ydoc-shared/parser-codegen/node_modules
lib/js/runner/node_modules

#
.bloop
bazel-enso
bazel-out
bazel-testlogs
build-cache
.idea
.vscode
.dist
target
build
.git
48 changes: 48 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# FIXME: consider using RC files from guide: https://docs.aspect.build/guides/bazelrc/

## General rules
common --enable_platform_specific_config
common --incompatible_allow_tags_propagation
common --incompatible_use_plus_in_repo_names
test --test_output=errors
build --show_result=20
build --reuse_sandbox_directories
build --nolegacy_external_runfiles
build --noexperimental_check_output_files --experimental_allow_tags_propagation
fetch --noexperimental_check_output_files --experimental_allow_tags_propagation
query --noexperimental_check_output_files --experimental_allow_tags_propagation
build --nobuild_runfile_links
coverage --build_runfile_links

## JS

# passes an argument `--skipLibCheck` to *every* spawn of tsc
common --@aspect_rules_ts//ts:skipLibCheck=always
common --@aspect_rules_ts//ts:default_to_tsc_transpiler

# Allow the Bazel server to check directory sources for changes. Ensures that the Bazel server
# notices when a directory changes, if you have a directory listed in the srcs of some target.
# Recommended when using
# [copy_directory](https://github.com/aspect-build/bazel-lib/blob/main/docs/copy_directory.md) and
# [rules_js](https://github.com/aspect-build/rules_js) since npm package are source directories
# inputs to copy_directory actions.
# Docs: https://bazel.build/reference/command-line-reference#flag--host_jvm_args
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1

## GraalVM toolchain
build --extra_toolchains=@graalvm//:bootstrap_runtime_toolchain

## GraalVM versions
common --tool_java_runtime_version=graalvm_21
common --tool_java_language_version=21

common --java_runtime_version=graalvm_21
common --java_language_version=21

## Rust
startup --windows_enable_symlinks
build --enable_runfiles
build --@rules_rust//rust/toolchain/channel=nightly

## Allow local overrides of bazel configuration
try-import %workspace%/.bazelrc.local
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.4.1
15 changes: 4 additions & 11 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,11 @@
target-dir = "target/rust/"
rustflags = ["--cfg", "tokio_unstable"]

[target.wasm32-unknown-unknown]
rustflags = [
# Increas the stack size from 1MB to 2MB. This is required to avoid running out of stack space
# in debug builds. The error is reported as `RuntimeError: memory access out of bounds`.
"-C",
"link-args=-z stack-size=2097152",
]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
# Static linking is required to avoid the need for the Visual C++ Redistributable. We care about this primarily for our
# installer binary package.
rustflags = ["-C", "link-arg=/STACK:2097152", "-C", "target-feature=+crt-static"]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-pc-windows-gnu]
rustflags = ["-C", "link-arg=-Wl,--stack,2097152"]
[target.x86_64-unknown-linux-gnu]
rustflags = ["-Clink-arg=-fuse-ld=lld"]
49 changes: 49 additions & 0 deletions .github/workflows/bazel-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bazel build
on:
push:
branches:
- develop
pull_request: {}
jobs:
build-gui:
name: Run bazel GUI build
# if: github.ref != 'refs/heads/develop'
runs-on:
- ubuntu-latest
steps:
- uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-cache: true
bazelrc: build --remote_cache=grpcs://${{ vars.ENSO_BAZEL_CACHE_URI }} --remote_cache_header="authorization=Basic ${{ secrets.ENSO_BAZEL_CACHE_TOKEN }}"
- uses: actions/checkout@v4
- name: Expose env variables
run: |
cat << END > app/gui/.env.production
ENSO_IDE_ENVIRONMENT="${{ vars.ENSO_CLOUD_ENVIRONMENT }}"
ENSO_IDE_API_URL="${{ vars.ENSO_CLOUD_API_URL }}"
ENSO_IDE_CHAT_URL="${{ vars.ENSO_CLOUD_CHAT_URL }}"
ENSO_IDE_COGNITO_DOMAIN="${{ vars.ENSO_CLOUD_COGNITO_DOMAIN }}"
ENSO_IDE_COGNITO_REGION="${{ vars.ENSO_CLOUD_COGNITO_REGION }}"
ENSO_IDE_COGNITO_USER_POOL_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_ID }}"
ENSO_IDE_COGNITO_USER_POOL_WEB_CLIENT_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_WEB_CLIENT_ID }}"
ENSO_IDE_GOOGLE_ANALYTICS_TAG="${{ vars.ENSO_CLOUD_GOOGLE_ANALYTICS_TAG }}"
ENSO_IDE_SENTRY_DSN="${{ vars.ENSO_CLOUD_SENTRY_DSN }}"
ENSO_IDE_STRIPE_KEY="${{ vars.ENSO_CLOUD_STRIPE_KEY }}"
ENSO_IDE_AG_GRID_LICENSE_KEY="${{ vars.ENSO_AG_GRID_LICENSE_KEY }}"
ENSO_IDE_MAPBOX_API_TOKEN="${{ vars.ENSO_MAPBOX_API_TOKEN }}"
ENSO_IDE_COMMIT_HASH="${{ github.sha }}"
ENSO_IDE_VERSION="SNAPSHOT-${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
ENSO_IDE_CLOUD_BUILD="false"
END
- run: bazel build //app/gui:dist
- name: Get build output location
id: get_bazel_output
run: |
OUTPUT_SYMLINK=$(bazel cquery --output=files //app/gui:dist)
BAZEL_OUTPUT=$(readlink -f "$OUTPUT_SYMLINK")
echo "location=$BAZEL_OUTPUT" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: gui-static
path: ${{ steps.get_bazel_output.outputs.location }}
if-no-files-found: error
30 changes: 17 additions & 13 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
runs-on:
- X64
steps:
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
- if: runner.os == 'Windows'
name: Setup required bazel environment
run: "\n\"BAZEL_SH=C:\\Program Files\\Git\\bin\\bash.exe\" >> $env:GITHUB_ENV\n\"BAZEL_VC=C:\\BuildTools\\VC\" >> $env:GITHUB_ENV\n "
shell: pwsh
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@0.13.0
with:
version: v0.12.1
bazelrc: build --remote_cache=grpcs://${{ vars.ENSO_BAZEL_CACHE_URI }} --remote_cache_header="authorization=Basic ${{ secrets.ENSO_BAZEL_CACHE_TOKEN }}"
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
- name: Expose Artifact API and context information.
uses: actions/github-script@v7
with:
Expand All @@ -29,26 +33,26 @@ jobs:
uses: actions/checkout@v4
with:
clean: false
submodules: recursive
- if: runner.os == 'macOS'
name: Setup nodejs version
uses: actions/setup-node@v4
with:
node-version-file: .node-version
- if: runner.os != 'Linux'
run: npm install -g corepack@0.31.0 && corepack --version
- name: Build Script Setup
run: ./run --help || (git clean -ffdx && ./run --help)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: "(contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)"
- if: "(contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || (github.ref == 'refs/heads/develop') || inputs.clean_build_required)"
name: Clean before
run: ./run git-clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./run changelog-check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: failure() && runner.os == 'Windows'
name: List files if failed (Windows)
run: Get-ChildItem -Force -Recurse
- if: failure() && runner.os != 'Windows'
name: List files if failed (non-Windows)
run: ls -lAR
- if: "(always()) && (contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || inputs.clean_build_required)"
- if: "(always()) && (contains(github.event.pull_request.labels.*.name, 'CI: Clean build required') || (github.ref == 'refs/heads/develop') || inputs.clean_build_required)"
name: Clean after
run: ./run git-clean
env:
Expand Down
36 changes: 25 additions & 11 deletions .github/workflows/engine-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- cron: 0 0 * * *
workflow_dispatch:
inputs:
bench-name:
description: Name (regex) of the benchmark to run.
required: false
type: string
just-check:
description: If set, benchmarks will be only checked to run correctly, not to measure actual performance.
required: true
Expand All @@ -18,11 +22,15 @@ jobs:
runs-on:
- benchmark
steps:
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/wasm-pack-action@v0.4.0
- if: runner.os == 'Windows'
name: Setup required bazel environment
run: "\n\"BAZEL_SH=C:\\Program Files\\Git\\bin\\bash.exe\" >> $env:GITHUB_ENV\n\"BAZEL_VC=C:\\BuildTools\\VC\" >> $env:GITHUB_ENV\n "
shell: pwsh
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@0.13.0
with:
version: v0.12.1
bazelrc: build --remote_cache=grpcs://${{ vars.ENSO_BAZEL_CACHE_URI }} --remote_cache_header="authorization=Basic ${{ secrets.ENSO_BAZEL_CACHE_TOKEN }}"
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
- name: Expose Artifact API and context information.
uses: actions/github-script@v7
with:
Expand All @@ -31,7 +39,13 @@ jobs:
uses: actions/checkout@v4
with:
clean: false
submodules: recursive
- if: runner.os == 'macOS'
name: Setup nodejs version
uses: actions/setup-node@v4
with:
node-version-file: .node-version
- if: runner.os != 'Linux'
run: npm install -g corepack@0.31.0 && corepack --version
- name: Build Script Setup
run: ./run --help || (git clean -ffdx && ./run --help)
env:
Expand All @@ -44,12 +58,11 @@ jobs:
- run: ./run backend benchmark runtime
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: failure() && runner.os == 'Windows'
name: List files if failed (Windows)
run: Get-ChildItem -Force -Recurse
- if: failure() && runner.os != 'Windows'
name: List files if failed (non-Windows)
run: ls -lAR
- name: Upload benchmark results
uses: actions/upload-artifact@v4
with:
name: benchmark-results.xml
path: engine/runtime-benchmarks/bench-report.xml
- if: (always())
name: Clean after
run: ./run git-clean
Expand All @@ -59,5 +72,6 @@ jobs:
GRAAL_EDITION: GraalVM CE
timeout-minutes: 240
env:
ENSO_BUILD_BENCH_NAME: ${{ inputs.bench-name }}
ENSO_BUILD_MINIMAL_RUN: ${{ true == inputs.just-check }}
ENSO_BUILD_SKIP_VERSION_CHECK: "true"
Loading