-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SY-1438 basic calculated channels (#995)
* checkpoint * checkpoint * [doodle] - doggy * checkpoint * [checkpoint] * checkpoint * [computron] - simplified package * [computron] - updated embedded logic * [computron] - improved unsafe slice data access * [computron] - separated build files for different OSes * [computron] - mod tidy * [console] - fixed modal positioning * [computron] - simplified expressions and reduced amount of code * [synnax] - touch ups to calculated channel service * [synnax] - fixed issues with renaming multiple channels of different types (virtual, free virtual, persisted) * [console] - re-added monaco editor to package.json * [synnax] - fixed merge conflict for calculated channels * [computron] update build script * checkpoint * checkpoint * builds but linking error * checkpoint - encodings error * [computron] refactor to have seperate compturon files for windows and unix - need to dedup * [computron] missed change in mac build script * [pluto] remove doodle * [pluto] remove doodle * [pluto] open edit channel from resource tree * [console] load in data from the calculated channel when editing * [api/dist] update calc channels through create pipeline * [console/client] add tests - still name doesnt get updated in tree but in tests for some reason * [distribution/channel] can update name as well now * checkpoint * checkpoint * update tests * [dist] fix tests * [checkpoint] * remove unnecessary logs * remove unrelated changes to py examples * delete empty files * remove commented out tests * address pr comments * [x/go] add testes for embed * address more pr comments * [distribution/channel] refactor createFreVirtual * [distribution/channel] update tests to retrieve after update: * [console] refactor calculated modal * pr comment: * unfocus test * nested expression * add ts test * address pr comments * test * reduce code duplication * [computron] tests pass on windows * [computron] removed warnings on windows build * move python install dir to temp * [computron] clean up * use lockTHreadAndGIL * [console/calc chans] add a hook to update requires list upon opening * checkpoint * checkpoint * [console] lint * pr comments * [computron] fix windows path * [computron] pass python error to log * [computron/calculated] log warnings * [console/calc] update schema * [calculated] improve error handling * windows installer * update windows workflow * handle passing hyphens into the calc expression * [pkg/service/framer/calc] tests * [pkg/service/framer/calc] div by zero test * change hyphen message * [pkg/service/channel and pkg/service/framer/] update calc expression without hard reloading * [console/src/channel] add beta tag * [console/calc] add tooltip * address pr comments * set mac version * update gitignore * [ci] update server deploy workflow * [ci] update synnax test workflow * [pkg/distribution/channe] return * [computron ] update build for linux * [dist/channel] update create test * update workflow file * build visual studio tools * update workflow * add necessary dependencies to computron earthfile * update linux build script * [computron] add linux linking flags * fix linting errors * lint * fix ci errors * lint * lint * change linux build steps * [console] - updated beta-tag on calculations * [console] - adjusted command selection context * [console] - addressed pull request comments' * [computron] - a bit of tuning * [console] - added variable channel icons * [pluto] - improved editor CSS styles * [console] - fixed editor parenthesis color * [console] - removed unnecessary editor layout * add explicit linker flags * build against static python * add more flags and env vars * [service/framer] fix downsampling * fix failing ubuntu typescript test for unsigned/signed cast check * undo poetry lock chagnes * format * pr touchups * update build python workflow * move go step * [console] - changed editor line highlighting * [synnax] - implemented tests for nested calculations * [ci] add workflow to run computron tests * [ci] add step to move python dll * [synnax] - pr touchups * allow none for requires or expression * [x/ts] change form arrow func to exported func * [console] - fixed imports from unique package * [synnax] - removed visual studio community installation --------- Co-authored-by: Emiliano Bonilla <[email protected]>
- Loading branch information
Showing
90 changed files
with
3,853 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ jobs: | |
- alamos/go/** | ||
- aspen/** | ||
- cesium/** | ||
- computron/** | ||
- freighter/go/** | ||
- synnax/** | ||
- x/go/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Test - Computron | ||
|
||
on: | ||
push: | ||
branches: [ main, rc ] | ||
paths: | ||
- 'computron/**' | ||
- '.github/workflows/test.computron.yaml' | ||
pull_request: | ||
branches: [ main, rc ] | ||
paths: | ||
- 'computron/**' | ||
- '.github/workflows/test.computron.yaml' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: Test (${{ matrix.os }}) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.work | ||
cache-dependency-path: go.work.sum | ||
|
||
- name: Install Visual Studio Build Tools | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
choco install visualstudio2022community -y | ||
choco install visualstudio2022-workload-vctools -y | ||
choco install visualstudio2022-workload-nativedesktop -y | ||
- name: Build Python for Computron | ||
working-directory: computron | ||
run: go generate | ||
|
||
- name: Download Dependencies | ||
working-directory: computron | ||
run: go mod download | ||
|
||
- name: Move Python DLL (Windows) | ||
if: matrix.os == 'windows-latest' | ||
working-directory: computron | ||
run: | | ||
Copy-Item python_install\bin\python311.dll .\ -Force | ||
- name: Run Tests | ||
working-directory: computron | ||
run: go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,7 @@ | |
"lineplot", | ||
"Migratable", | ||
"msgpackr", | ||
"mult", | ||
"NavDrawer", | ||
"nsis", | ||
"OPCUA", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.