-
Notifications
You must be signed in to change notification settings - Fork 716
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
[component model] instantiate #3218
Open
dannypsnl
wants to merge
17
commits into
master
Choose a base branch
from
component-model/instantiate
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+2,431
−66
Conversation
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
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. |
dannypsnl
force-pushed
the
component-model/instantiate
branch
3 times, most recently
from
February 23, 2024 07:33
98f8cf5
to
0524918
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
2 times, most recently
from
March 4, 2024 05:57
263b7e6
to
1ae315b
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
March 6, 2024 06:29
702105e
to
2ee0a0e
Compare
dannypsnl
commented
Mar 6, 2024
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
March 11, 2024 08:59
ad0d330
to
cc50f42
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
2 times, most recently
from
March 12, 2024 12:23
0c1460e
to
749d4c3
Compare
hydai
requested changes
Mar 13, 2024
hydai
requested changes
Mar 13, 2024
This comment was marked as resolved.
This comment was marked as resolved.
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
March 14, 2024 05:34
8c2d59d
to
7644092
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3218 +/- ##
==========================================
- Coverage 79.83% 77.78% -2.06%
==========================================
Files 253 262 +9
Lines 34948 35888 +940
Branches 6122 6456 +334
==========================================
+ Hits 27902 27914 +12
- Misses 5622 6547 +925
- Partials 1424 1427 +3 ☔ View full report in Codecov by Sentry. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
dannypsnl
force-pushed
the
component-model/instantiate
branch
3 times, most recently
from
March 20, 2024 09:11
44b2deb
to
369906b
Compare
dannypsnl
commented
Mar 21, 2024
dannypsnl
force-pushed
the
component-model/instantiate
branch
2 times, most recently
from
March 25, 2024 17:59
aa1d588
to
f51430d
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
2 times, most recently
from
May 13, 2024 05:06
3436114
to
d61259d
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
May 14, 2024 10:52
f67917d
to
d61259d
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
May 14, 2024 10:53
d61259d
to
fdb35e5
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
May 27, 2024 07:57
1a908d8
to
f25bc16
Compare
dannypsnl
force-pushed
the
component-model/instantiate
branch
2 times, most recently
from
May 30, 2024 01:18
edf18b4
to
fa0f78c
Compare
31 tasks
* section order will affect index space * skip validation process for now * nested core module instantiation * record all environments had been used * add type and core:type into index space (in component instance) * (FIXME) import section: the current implementation will treat a plugin as module instance instead a component instance, in the end we should have both * instantiate component sort part * export function instance out, so we can run it from CLI * canoncial lift without options * canoncial lower without options * unify component and module instance in VM * drafting inline exports concept Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
* wasi-http implementation * drafting example for test * fix a bug in store manager, soft modules do it wrong * fix instance problem misc * update to follow review feedback * mark TODO * add prefix * reinterpret_cast * format stuff Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
- canonical changes - extracting out the instantiate of each section to its own file - `alias` is correct, the bug is coming from the demo code Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
1. [component] create `Executor::lowering` function that gets a higher function instance, returns a lower function instance 2. add enum `TypeCode::String` 3. add `StrVariant` so host function can operate string 4. [plugin] update wasi-http implementation to use new stuffs Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
* pushing canonical lifting a bit, now call flow has no error came out * add header * cannot allocate ValVariant * `vector` of component instance use push_back * fix test build * remove const descriptor * avoid occurs casting which will fail on some platforms * remove `const` * proper initialize * anonymous namespace * lift lower function that occurs string correctly misc * mark TODO * use hard code version to allocate string in memory * abort execution if run into unimplemented option * add formatter for AST type * use formatter Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
misc * complete defined value type formatter * format the Component function type Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
NOTE: some internal bugs still there, so the demo haven't fully work yet. Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
misc: remove unused code Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
misc * missing `break` in cases * adjustment Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
…ng content misc * missing `break` * reduce interface of `StrVariant` Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
misc: format Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
Signed-off-by: Lîm Tsú-thuàn <dannypsnl@secondstate.io>
dannypsnl
force-pushed
the
component-model/instantiate
branch
from
June 3, 2024 02:37
fa0f78c
to
26b64b1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#3151
AST::FunctionType