-
-
Notifications
You must be signed in to change notification settings - Fork 324
Concurrent Renders #1165
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
Merged
Merged
Concurrent Renders #1165
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1bc558b
initial work on concurrent renders
rmorshea dd37697
concurrent renders
rmorshea 41c2431
limit to 3.11
rmorshea f681e1b
fix docs
rmorshea 387dc05
update changelog
rmorshea a4fc2f5
simpler add_effect interface
rmorshea b9595ff
improve docstring
rmorshea 24575fc
better changelog description
rmorshea 8c82bfb
effect function accepts stop event
rmorshea 80d3b7a
simplify concurrent render process
rmorshea bfb0d5c
test serial renders too
rmorshea e9fd21e
remove ready event
rmorshea 847277f
fix doc example
rmorshea fb4478f
add docstrings
rmorshea 3c7a496
use function scope async fixtures
rmorshea cd9f527
fix flaky test
rmorshea 8477156
rename config option
rmorshea fc8e688
move effect kick-off into component did render
rmorshea 8559c7b
move effect start to back to layout render
rmorshea 1b828ba
try 3.x again
rmorshea 6d969ec
require tracerite 1.1.1
rmorshea 6036048
fix docs build
rmorshea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,59 +1,59 @@ | ||
name: hatch-run | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
job-name: | ||
required: true | ||
type: string | ||
hatch-run: | ||
required: true | ||
type: string | ||
runs-on-array: | ||
required: false | ||
type: string | ||
default: '["ubuntu-latest"]' | ||
python-version-array: | ||
required: false | ||
type: string | ||
default: '["3.x"]' | ||
node-registry-url: | ||
required: false | ||
type: string | ||
default: "" | ||
secrets: | ||
node-auth-token: | ||
required: false | ||
pypi-username: | ||
required: false | ||
pypi-password: | ||
required: false | ||
workflow_call: | ||
inputs: | ||
job-name: | ||
required: true | ||
type: string | ||
hatch-run: | ||
required: true | ||
type: string | ||
runs-on-array: | ||
required: false | ||
type: string | ||
default: '["ubuntu-latest"]' | ||
python-version-array: | ||
required: false | ||
type: string | ||
default: '["3.11"]' | ||
node-registry-url: | ||
required: false | ||
type: string | ||
default: "" | ||
secrets: | ||
node-auth-token: | ||
required: false | ||
pypi-username: | ||
required: false | ||
pypi-password: | ||
required: false | ||
|
||
jobs: | ||
hatch: | ||
name: ${{ format(inputs.job-name, matrix.python-version, matrix.runs-on) }} | ||
strategy: | ||
matrix: | ||
python-version: ${{ fromJson(inputs.python-version-array) }} | ||
runs-on: ${{ fromJson(inputs.runs-on-array) }} | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
registry-url: ${{ inputs.node-registry-url }} | ||
- name: Pin NPM Version | ||
run: npm install -g [email protected] | ||
- name: Use Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Python Dependencies | ||
run: pip install hatch poetry | ||
- name: Run Scripts | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.node-auth-token }} | ||
PYPI_USERNAME: ${{ secrets.pypi-username }} | ||
PYPI_PASSWORD: ${{ secrets.pypi-password }} | ||
run: hatch run ${{ inputs.hatch-run }} | ||
hatch: | ||
name: ${{ format(inputs.job-name, matrix.python-version, matrix.runs-on) }} | ||
strategy: | ||
matrix: | ||
python-version: ${{ fromJson(inputs.python-version-array) }} | ||
runs-on: ${{ fromJson(inputs.runs-on-array) }} | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
registry-url: ${{ inputs.node-registry-url }} | ||
- name: Pin NPM Version | ||
run: npm install -g [email protected] | ||
- name: Use Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Python Dependencies | ||
run: pip install hatch poetry | ||
- name: Run Scripts | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.node-auth-token }} | ||
PYPI_USERNAME: ${{ secrets.pypi-username }} | ||
PYPI_PASSWORD: ${{ secrets.pypi-password }} | ||
run: hatch run ${{ inputs.hatch-run }} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.