Merge branch 'main' into codex-hwr-domain-timeout

This commit is contained in:
Hongsheng Liu authored and GitHub committed 2026-09-10 13:29:45 +08:00
commit bfe1df6bce
620 files changed
+44030 -12299

No files matched your search

@@ -1249,8 +1249,10 @@ class FilesystemHostWeightStore:
retryable=True,
)
)
store_bytes = self._tree_bytes(self.root)
if policy.max_store_bytes is not None and store_bytes + additional_bytes > policy.max_store_bytes:
if (
policy.max_store_bytes is not None
and self._tree_bytes(self.root) + additional_bytes > policy.max_store_bytes
):
raise HostWeightError(
_failure(
ResolutionStage.CAPACITY,