microvm-ctl 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. {microvm_ctl-0.2.0/microvm_ctl.egg-info → microvm_ctl-0.2.1}/PKG-INFO +1 -1
  2. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/__init__.py +1 -1
  3. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/hooks/server.py +3 -1
  4. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1/microvm_ctl.egg-info}/PKG-INFO +1 -1
  5. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/pyproject.toml +1 -1
  6. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/LICENSE +0 -0
  7. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/README.md +0 -0
  8. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/bootstrap.py +0 -0
  9. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/cli.py +0 -0
  10. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/client.py +0 -0
  11. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/config.py +0 -0
  12. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/data/lambda-microvms/2025-09-09/endpoint-rule-set-1.json.gz +0 -0
  13. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/data/lambda-microvms/2025-09-09/paginators-1.json +0 -0
  14. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/data/lambda-microvms/2025-09-09/service-2.json.gz +0 -0
  15. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/endpoint.py +0 -0
  16. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/fleet.py +0 -0
  17. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/hooks/__init__.py +0 -0
  18. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/images.py +0 -0
  19. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/integrations/__init__.py +0 -0
  20. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/integrations/durable.py +0 -0
  21. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/integrations/stepfunctions.py +0 -0
  22. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/lease.py +0 -0
  23. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/monitor.py +0 -0
  24. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/playground/__init__.py +0 -0
  25. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/playground/server.py +0 -0
  26. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/playground/static/index.html +0 -0
  27. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm/throttle.py +0 -0
  28. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm_ctl.egg-info/SOURCES.txt +0 -0
  29. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm_ctl.egg-info/dependency_links.txt +0 -0
  30. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm_ctl.egg-info/entry_points.txt +0 -0
  31. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm_ctl.egg-info/requires.txt +0 -0
  32. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/microvm_ctl.egg-info/top_level.txt +0 -0
  33. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/setup.cfg +0 -0
  34. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_config.py +0 -0
  35. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_cost_model.py +0 -0
  36. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_endpoint.py +0 -0
  37. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_fleet.py +0 -0
  38. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_hooks.py +0 -0
  39. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_hooks_lease.py +0 -0
  40. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_hooks_validate.py +0 -0
  41. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_integrations.py +0 -0
  42. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_integrations_durable.py +0 -0
  43. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_lease.py +0 -0
  44. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_playground.py +0 -0
  45. {microvm_ctl-0.2.0 → microvm_ctl-0.2.1}/tests/test_throttle.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microvm-ctl
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Control and execution plane for AWS Lambda MicroVMs: build images, launch Firecracker microVMs, scale fleets inside your quotas, call into them securely, and watch it all live.
5
5
  Author: Vivek Raja P S
6
6
  License: Apache-2.0
@@ -12,7 +12,7 @@ from microvm.images import ImageBuilder, ImageBuildError
12
12
  from microvm.lease import Lease, LeasePolicy
13
13
  from microvm.monitor import CostModel, FleetMonitor
14
14
 
15
- __version__ = "0.2.0"
15
+ __version__ = "0.2.1"
16
16
 
17
17
  __all__ = [
18
18
  "microvm_client",
@@ -607,6 +607,9 @@ class HookApp:
607
607
 
608
608
  def _events(self):
609
609
  """SSE: `data:` per new log line, `event: snapshot` every 5 s, until the client leaves."""
610
+ # capture the cursor before the client can see our headers: anything logged from the
611
+ # moment the client is connected must arrive as a `data:` line, never be skipped
612
+ seq = app.job.seq
610
613
  try:
611
614
  self.send_response(200)
612
615
  self.send_header("Content-Type", "text/event-stream")
@@ -615,7 +618,6 @@ class HookApp:
615
618
  self.end_headers()
616
619
  except (BrokenPipeError, ConnectionResetError, OSError):
617
620
  return
618
- seq = app.job.seq
619
621
  deadline, next_snapshot = time.time() + 3600, 0.0
620
622
  try:
621
623
  while time.time() < deadline and not self.server.stopping.is_set():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microvm-ctl
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Control and execution plane for AWS Lambda MicroVMs: build images, launch Firecracker microVMs, scale fleets inside your quotas, call into them securely, and watch it all live.
5
5
  Author: Vivek Raja P S
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "microvm-ctl"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Control and execution plane for AWS Lambda MicroVMs: build images, launch Firecracker microVMs, scale fleets inside your quotas, call into them securely, and watch it all live."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
File without changes
File without changes
File without changes
File without changes