hyperprobe-agent 1.2.26b2__tar.gz → 1.2.26b3__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 (35) hide show
  1. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/PKG-INFO +1 -1
  2. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/agent.py +6 -2
  3. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/broker.py +2 -2
  4. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/PKG-INFO +1 -1
  5. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/setup.py +1 -1
  6. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/LICENSE +0 -0
  7. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/README.md +0 -0
  8. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/__init__.py +0 -0
  9. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/__init__.py +0 -0
  10. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/evaluator.py +0 -0
  11. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/logger.py +0 -0
  12. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/monitoring_engine.py +0 -0
  13. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/probe_output.py +0 -0
  14. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/quota.py +0 -0
  15. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/safety.py +0 -0
  16. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/serializer.py +0 -0
  17. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/core/trace_extractor.py +0 -0
  18. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/__init__.py +0 -0
  19. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/agent_pb2.py +0 -0
  20. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe/protos/agent_pb2_grpc.py +0 -0
  21. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/SOURCES.txt +0 -0
  22. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/dependency_links.txt +0 -0
  23. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/requires.txt +0 -0
  24. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/hyperprobe_agent.egg-info/top_level.txt +0 -0
  25. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/setup.cfg +0 -0
  26. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_agent.py +0 -0
  27. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_evaluator.py +0 -0
  28. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_fork.py +0 -0
  29. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_logger.py +0 -0
  30. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_metric_probes.py +0 -0
  31. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_multithreading_integration.py +0 -0
  32. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_p1_regressions.py +0 -0
  33. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_probe_output.py +0 -0
  34. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_serializer.py +0 -0
  35. {hyperprobe_agent-1.2.26b2 → hyperprobe_agent-1.2.26b3}/tests/test_startup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperprobe-agent
3
- Version: 1.2.26b2
3
+ Version: 1.2.26b3
4
4
  Summary: Production-grade, non-breaking live debugger and telemetry agent for Python.
5
5
  Home-page: https://www.hyperprobe.co
6
6
  Author: Arif, Saksham, Karan
@@ -469,7 +469,9 @@ class HyperProbeAgent:
469
469
  try:
470
470
  self._sync_with_broker()
471
471
  except Exception as e:
472
- logger.error(f"[HyperProbe] Sync loop encountered error: {str(e)}")
472
+ cause = getattr(e, "__cause__", None)
473
+ msg = f"{e} (cause: {cause})" if cause and str(cause) not in str(e) else str(e)
474
+ logger.error(f"[HyperProbe] Sync loop encountered error: {msg}")
473
475
  self.stop_event.wait(self.sync_interval_sec)
474
476
 
475
477
  def _sync_with_broker(self):
@@ -572,8 +574,10 @@ class HyperProbeAgent:
572
574
  f"[HyperProbe] Successfully flushed {len(batch)} telemetry events to broker."
573
575
  )
574
576
  except Exception as e:
577
+ cause = getattr(e, "__cause__", None)
578
+ msg = f"{e} (cause: {cause})" if cause and str(cause) not in str(e) else str(e)
575
579
  broker_logger.error(
576
- f"[HyperProbe] Failed to flush telemetry: {str(e)}. "
580
+ f"[HyperProbe] Failed to flush telemetry: {msg}. "
577
581
  f"Retaining {len(batch)} events for retry."
578
582
  )
579
583
  return
@@ -80,7 +80,7 @@ class BrokerClient:
80
80
  )
81
81
  return response
82
82
  except Exception as e:
83
- raise BrokerTransportError("GetProbes failed") from e
83
+ raise BrokerTransportError(f"GetProbes failed: {e}") from e
84
84
 
85
85
  @staticmethod
86
86
  def _to_proto_event(event):
@@ -128,4 +128,4 @@ class BrokerClient:
128
128
  )
129
129
  return response.finished_probe_ids
130
130
  except Exception as e:
131
- raise BrokerTransportError("ReportTelemetry failed") from e
131
+ raise BrokerTransportError(f"ReportTelemetry failed: {e}") from e
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperprobe-agent
3
- Version: 1.2.26b2
3
+ Version: 1.2.26b3
4
4
  Summary: Production-grade, non-breaking live debugger and telemetry agent for Python.
5
5
  Home-page: https://www.hyperprobe.co
6
6
  Author: Arif, Saksham, Karan
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text() if (this_directory
7
7
 
8
8
  setup(
9
9
  name="hyperprobe-agent",
10
- version="1.2.26beta2",
10
+ version="1.2.26beta3",
11
11
  author="Arif, Saksham, Karan",
12
12
  author_email="arif@hypertest.co, saksham@hypertest.co, karan@hypertest.co",
13
13
  description="Production-grade, non-breaking live debugger and telemetry agent for Python.",