Skip to content
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

draft: live jrpc calls using separate event in a helper thread #1104

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dimaqq
Copy link
Contributor

@dimaqq dimaqq commented Sep 20, 2024

No description provided.

@dimaqq dimaqq force-pushed the hack-helper-thread branch 3 times, most recently from 9d0928d to 28e1a44 Compare October 11, 2024 08:41
@dimaqq dimaqq force-pushed the hack-helper-thread branch from ec9233b to 3f98b53 Compare October 15, 2024 08:44
@dimaqq dimaqq force-pushed the hack-helper-thread branch from 3f98b53 to cb48c2e Compare October 24, 2024 01:30
refactor all things!

demo! use both async (old) and wrapped async (new) to get same data

cleanup🧼

shorter helper thread code

wip

note about exposed

Simon says

implement Application.exposed

typed decorator for the win

wip

plain decorator works better

cleanup🧼

name is entity id

wip

fix: missing file

type up .wait_for_idle()

better code style

write down next steps

chore: refactor jrpc response type coercion for testing

chore: refactor jrpc response type coercion for testing, missing files

chore: document different ways .wait_for_idle(...) may be called

chore: refactor for testability

chore: wip / squash me

chore: clarify wait for idle params

chore: clarify wait for idle params

wip

chore: more hookup

chore: mock out everything needed for old idle loop

chore: refactor test setup

chore: more tests

chore: start on app and unit counting mechanics

chore: more app and unit counting mechanics

reimplement unset status back fill

chore: refactor legacy loop, fix error condition; note that status compounding is ineffective

chore: refactor new loop checker, note to do

chore: kidna finish the idle loop, hopefully?

chore: fill in wait_for_at_least_units=N

chore: wait_for_exact_units

chore: exact and at least units are exclusive

cleanup🧼
@dimaqq dimaqq force-pushed the hack-helper-thread branch from cb48c2e to 869b01c Compare November 1, 2024 11:00
jujubot added a commit that referenced this pull request Nov 22, 2024
#1203

Improve type hints.
Sourced from #1104 
These type hints will be used to upstream the new wait_for_idle()
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 26, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 26, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 26, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 26, 2024
@dimaqq dimaqq mentioned this pull request Nov 26, 2024
8 tasks
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 28, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 28, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 28, 2024
dimaqq added a commit to dimaqq/python-libjuju that referenced this pull request Nov 28, 2024
@dimaqq
Copy link
Contributor Author

dimaqq commented Dec 4, 2024

This branch needs to be rebased on top of main after #1219 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant