Commit Graph

542 Commits

Author SHA1 Message Date
Dima
e027351bf5
update FluenceJS (#443) 2022-02-24 16:29:34 +03:00
Dima
5eae05dff0
Add top-bottom support (#442) 2022-02-23 12:37:18 +03:00
Dima
4c08cf7343
Add, remove and list scheduled scripts (#440) 2022-02-23 11:16:29 +03:00
Dima
b7aee3d09c
Add timeout to finisher to avoid infinite hanging of async functions (#437) 2022-02-17 20:34:39 +07:00
Dima
145819ec51
update fluencejs to 0.19.2 (#439) 2022-02-17 15:43:03 +03:00
Dima
3320cffde8
Remove service command, file options refactoring (#428) 2022-02-16 10:47:43 +03:00
Dmitry Kurinskiy
c74eb06499
427 topology bug (#433)
* fix path

* topology bug 427 test

* test with join, it works

* improve topology test, still works. add compiler test

* broken compiler test

* CompilerSpec works fine without `wrapWithXor`

* add xor to topology test, it becomes broken

* XOR topology fixed

* ForceExecModel

* Debugging topology WIP

* Fixed

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2022-02-15 19:20:56 +03:00
Dima
1a8af46b51
add env option to aqua cli (#434) 2022-02-15 14:15:27 +07:00
Dima
93d73fa58d
Pass name to a script as argument (#431) 2022-02-10 11:44:39 +03:00
Dima
b0b834e061
update js libs (#430) 2022-02-09 19:43:57 +03:00
Dima
5a79dbb76a
#426 aqua does not generate correct getDataSrv (#429) 2022-02-09 13:24:21 +03:00
Dima
88da133e00
Dist bug fixes (#422) 2022-02-06 08:52:51 +03:00
Dmitry Kurinskiy
6d03a0d95b
Fix for passing a stream argument with lambda to a function waiting for a scalar (#420) 2022-02-06 00:26:07 +03:00
alari
f311afd760 dist enhance 2022-02-05 17:41:35 +03:00
alari
051139d802 dist enhance 2022-02-05 15:30:08 +03:00
Dmitry Kurinskiy
ce46e96412
aqua dist enhance (#419) 2022-02-05 15:19:45 +03:00
Dima
7c711f15e4
Fix ipfs upload in aqua (#415)
* fix path

* fix ipfs

* fix pathes
2022-02-05 14:20:30 +03:00
Dima
02bf1aa25f
Fix path resolving for aqua installed package (#414)
* fix path

* fix compilation
2022-02-05 13:00:31 +03:00
Dmitry Kurinskiy
89455e20c1
Deploy service (#413)
* deploy aqua

* aqua dist deploy
2022-02-05 11:10:18 +03:00
Dmitry Kurinskiy
d5d7b8b5fd
Fix for greedy XOR tags (#412) 2022-02-02 19:06:35 +03:00
Dima
740a9ba653
run manual (#407) 2022-02-02 14:40:10 +03:00
Dima
e4d6c14dd1
builtin as a default import in compiler (#409) 2022-02-01 09:49:19 +03:00
Dmitry Kurinskiy
012cba493c
Op model (#403)
* Separating raw FuncOp from OpModel WIP

* Model compiles, fighting with transform

* Refactoring WIP

* transform compiles

* Fixing AquaCompiler WIP

* Compiler compiles WIP

* AquaContext's allFuncs, allValues

* WIP trying to compile the CLI

* It compiles

* It runs and fails to compile

* Compiles wrong way

* fix TopologySpec

* Sugar bugfix

* fix TransformSpec compilation

* fix test compilation

* fix SemanticSpec

* Topology debugging

* TransformSpec fixed

* Do not import aqua.model

* Take parts in Semantics

* Fix for re-exports

* Maybe a fix for streams

* Maybe a fix for declarations

* streamArgs.aqua in test examples

* more aqua code with bugs

* FuncOp removed

* removed wrapNonEmpty

* fix TransformSpec

* fix SemanticSpec compilation, delete FuncOps

* Separated model/res, model/inline

* tiny fix

* Tests fixed

* TreeNode to wrap labels into cofree standard way

* TreeNodeCompanion with defauls show, equalsOrShowDiff for all Cofree trees we have

* Simple TagInlinerSpec

* Failing test in TagInlinerSpec

* test wip

* test fixed

* delete Node

* delete test-kit, move tests

* fix constants

* Failing TagInliner test

* More complex case for TagInlinerSpec

* TagInlinerSpec fix

* Split RawValueInliner, TagInliner

* Dumb case for ArrowInlinerSpec

* spec for stream renaming

* renaming stream test

* Exports fixed

* SeqModel.wrapWithEmpty for tests

* Deleted EmptyModel

* Bring back EmptyModel

* ArrowInlinerSpec wip

* ArrowInlinerSpec fixed

* Test fixed

* fix

* stream in callback test WIP

* Slightly better logging for TagInliner

* add example in aqua

* test update

* Removed occasional abilities override

* test

* AquaCompilerSpec WIP

* AquaCompilerSpec failing

* AquaCompilerSpec fixed

* fix test

* compiler test, add RestrictionTag

* break test

* fix stream passing to box arguments

* fix exports in context

* Do not reexport builtins

* init for topology bug

* test for topology

* Reproduced the import-reexport bug

* Hops are working...

* Issue #397 does not reproduce!

* foldJoin reproduces the bug

* Reexports inefficiently fixed

* Topology test fixed

* topology bug

* Cache compiled parts

* Cache compiled parts

* ignore the wip topology test

* delete test

* hanging

* add builtin

* Use linked-data-structure `equals` instead of recursive `hashCode`

* A bit more logs

* eq is faster than ==

* Try to join one by one

* op.identity for join

* reverting op.noop for join

* Fix for renaming when value has the same name as argument

* Bump the version to .6

* broken test for names

* second test for renaming

* this test works but i must break it

* add index in call

* JoinModel breaks test

* the test works fine with a fix, but we should check it closely. and `foldJoin.aqua` integration test become broken

* broken test with xor

* Fixed naming issue for lambda's variables substitution

* Topology bug wip

* Fixes #397

* Maybe fix

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2022-01-31 14:48:13 +03:00
Dima
c6b3314d39
identity -> noop (#406) 2022-01-20 11:41:12 +03:00
Dima
255c1f61b5
VarModel -> VarRaw in collect functions (#405) 2022-01-20 07:08:26 +03:00
Dmitry Kurinskiy
f795edfaf7
Join expression (#402) 2022-01-13 13:58:20 +03:00
Dmitry Kurinskiy
5a8a702f1c
Scalar index access (#401)
* Access index by scalar value

* Decomposed resolveField/resolveIndex semantics

* valueToRaw with recursive lambda support

* P.defer for recursive parser

* Desugarize all tags

* .backtrack

* Recursion bugfix

* Some code readability improvement

* Compile bugfix
2022-01-13 13:39:43 +03:00
Dmitry Kurinskiy
061e896b63
Model/raw refactoring (#398)
* Introducing model/raw subproject

* ValueRaw WIP

* ValueRaw WIP

* ValueModel.fromRaw WIP

* Recursive variables renaming

* Tests

* recursiveRaw

* Arrow Inliner refactoring

* desugarize takes its place WIP

* Sugar.desugarize maybe works

* Some movings/renamings

* Compile bug fixed

* Updated scalafmt

* Fix for service defaultId

* Map values recursively
2022-01-13 10:32:59 +03:00
Dima
a051ab0efc
Network info services for aqua CLI (#393) 2021-12-30 13:44:31 +03:00
Aleksey Proshutisnkiy
306c67030e
fluence-js = 0.18.0 (#395) 2021-12-30 13:37:18 +03:00
Dmitry Kurinskiy
6657a41086
Added error_code to last error type (#396) 2021-12-30 13:30:04 +03:00
Dmitry Kurinskiy
d1b54fe39b
Fixes topology for co (#394)
* Fixes topology for co

* Removed debug output

* Test fixed
2021-12-29 12:01:13 +03:00
Dima
4ded24d7a7
Fix publishing (#392) 2021-12-28 12:32:16 +03:00
Dima
082293a4e2
Upload file to Fluence IPFS sidecar (#390) 2021-12-24 15:50:12 +07:00
Dmitry Kurinskiy
22778914ca
Topology refactoring & fixes (#371)
* Topology optimization for Folds

* cache RawCursor's parent for better performance

* Tests fixed

* wip

* wip

* Use the new Topology to find paths

* Compile bug fixed

* Old tests works

* One more fixed test

* Move before seq next

* One more fixed test

* Bugfix

* Disabled debug output

* maybe fix?

* maybe fix?

* Topology wip

* Maybe fix

* Maybe fix

* Fold optimization

* Root topology

* Respect forceExit in endsOn

* better caching

* better caching

* Root afterOn = const

* XorGroup endsOn should break

* no EndsOn for Root

* Maybe better?

* Uncycling

* Eval

* Respect ParTag.Detach

* Detach test

* Detach test failing

* Detach test fixed

* Go to relay via relay

* Fixes #380

* Increment Aqua version to 0.5.2

* Add image to transform readme, update dependencies

* Review fixes

* Updated Scala version in the release flow
2021-12-22 15:21:37 +03:00
Dima
afbdf69438
fix error when no variables in arguments (#388) 2021-12-22 11:28:38 +03:00
Dima
71ea87aefd
#374 Pass structures to aqua run as JSON from an argument or a file (#386) 2021-12-10 14:39:26 +03:00
Dima
3e762d6654
#370 #377 #378 Builtin as default import and minor changes (#384) 2021-12-03 20:30:00 +03:00
boneyard93501
e22867caa4
fluence to 0.15.1 (#382) 2021-11-30 00:00:33 +03:00
Dima
9fa6e9f7b3
#366 Add secret key option #373 Handle timeout errors (#381) 2021-11-26 15:51:32 +03:00
folex
556c21c5ef
CLI: Implement create_keypair (#375) 2021-11-26 14:05:24 +03:00
Dmitry Kurinskiy
8c22a69840
Detach for par (#369) 2021-11-25 12:11:45 +03:00
Dima
7ec3575a84
Add features #362 #363 #367 #357 to run command (#368) 2021-11-25 11:01:08 +03:00
Dima
324bea5aec
add init_peer_id in oputput (#365) 2021-11-24 13:35:28 +03:00
Dima
ae27dcb534
stringify args, add timeout option (#360) 2021-11-19 17:17:47 +03:00
Dima
4eb272e953
Support new fluenceJS version in run command. Print results of a function (#358) 2021-11-17 10:56:42 +03:00
Dmitry Kurinskiy
27b885f12d
#321 restricted stream scopes (#359) 2021-11-17 08:25:06 +03:00
Dima
3665abe4b7
#320 Script storage option (#355) 2021-11-05 12:03:40 +03:00
Dmitry Kurinskiy
0eab86dc4c
Closures syntax (#327) 2021-11-04 19:22:57 +03:00
Dima
b11a76cfc6
#337 Delete duplicated errors (#352) 2021-11-02 17:33:17 +03:00