{"receipt_id":"agent1-1","seq":1,"branch_id":"agent1","kind":"command","cmd":"git ls-files -z","path":null,"exit_code":0,"stdout_tail":"t/TestAPI.test_environment_variable.yaml\u0000tests/cassettes/test_client/TestAPI.test_from_file.yaml\u0000tests/cassettes/test_client/TestAPI.test_instance.yaml\u0000tests/cassettes/test_client/TestAPI.test_links.yaml\u0000tests/cassettes/test_client/TestAPICollectionSearch.test_search.yaml\u0000tests/cassettes/test_client/TestAPISearch.test_search_max_items_unlimited_default.yaml\u0000tests/cassettes/test_client/TestConformsTo.test_changing_conforms_to_changes_behavior.yaml\u0000tests/cassettes/test_client/TestQueryables.test_get_queryables.yaml\u0000tests/cassettes/test_client/TestQueryables.test_get_queryables_collections.yaml\u0000tests/cassettes/test_client/TestSigning.test_sign_with_return_warns.yaml\u0000tests/cassettes/test_client/TestSigning.test_signing.yaml\u0000tests/cassettes/test_client/test_collections_are_clients.yaml\u0000tests/cassettes/test_client/test_fallback_strategy.yaml\u0000tests/cassettes/test_client/test_get_items_without_ids.yaml\u0000tests/cassettes/test_client/test_non_recursion_on_fallback.yaml\u0000tests/cassettes/test_client/test_query_string_in_collections_url.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_get_item.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_get_item_with_item_search.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_get_items.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_get_items_with_ids.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_get_queryables.yaml\u0000tests/cassettes/test_collection_client/TestCollectionClient.test_instance.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_bbox_results.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_client_side_bbox.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_client_side_datetime.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_client_side_q.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_datetime_results.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_enabled_but_client_side_q.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_matched.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_q_results.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_result_paging.yaml\u0000tests/cassettes/test_collection_search/TestCollectionSearch.test_result_paging_max_collections.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_datetime_results.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_deprecations[get_all_items-item_collection-False-True].yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_deprecations[get_all_items_as_dict-item_collection_as_dict-False-False].yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_deprecations[get_item_collections-pages-True-True].yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_deprecations[get_items-items-True-True].yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_deprecations[item_collections-pages-True-True].yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_get_all_items.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_get_all_items_deprecated.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_ids_results.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_intersects_results.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_item_collection.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_items_as_dicts.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_result_paging.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_result_paging_max_items.yaml\u0000tests/cassettes/test_item_search/TestItemSearch.test_results.yaml\u0000tests/cassettes/test_item_search/TestItemSearchParams.test_collection_object.yaml\u0000tests/cassettes/test_item_search/TestItemSearchParams.test_mixed_collection_object_and_string.yaml\u0000tests/cassettes/test_item_search/TestItemSearchQuery.test_query_json_syntax.yaml\u0000tests/cassettes/test_item_search/TestItemSearchQuery.test_query_shortcut_syntax.yaml\u0000tests/cassettes/test_item_search/test_fields.yaml\u0000tests/cassettes/test_item_search/test_multiple_collections.yaml\u0000tests/cassettes/test_stac_api_io/TestSTAC_IOOverride.test_request_input.yaml\u0000tests/cassettes/test_stac_api_io/TestSTAC_IOOverride.test_str_input.yaml\u0000tests/cassettes/test_stac_api_io/TestSTAC_IOOverride.test_timeout_smoke_test.yaml\u0000tests/cassettes/test_stac_api_io/test_stac_io_in_pystac.yaml\u0000tests/data/astraea_api.json\u0000tests/data/fedeo_clearinghouse.json\u0000tests/data/netherlands_aoi.json\u0000tests/data/planetary-computer-aster-l1t-collection.json\u0000tests/data/planetary-computer-collection.json\u0000tests/data/planetary-computer-root.json\u0000tests/data/sample-item-collection.json\u0000tests/data/sample-item.json\u0000tests/data/test-case-1/catalog.json\u0000tests/data/test-case-1/country-1/area-1-1/area-1-1-imagery/area-1-1-imagery.json\u0000tests/data/test-case-1/country-1/area-1-1/area-1-1-labels/area-1-1-labels.json\u0000tests/data/test-case-1/country-1/area-1-1/collection.json\u0000tests/data/test-case-1/country-1/area-1-2/area-1-2-imagery/area-1-2-imagery.json\u0000tests/data/test-case-1/country-1/area-1-2/area-1-2-labels/area-1-2-labels.json\u0000tests/data/test-case-1/country-1/area-1-2/collection.json\u0000tests/data/test-case-1/country-1/catalog.json\u0000tests/data/test-case-1/country-2/area-2-1/area-2-1-imagery/area-2-1-imagery.json\u0000tests/data/test-case-1/country-2/area-2-1/area-2-1-labels/area-2-1-labels.json\u0000tests/data/test-case-1/country-2/area-2-1/collection.json\u0000tests/data/test-case-1/country-2/area-2-2/area-2-2-imagery/area-2-2-imagery.json\u0000tests/data/test-case-1/country-2/area-2-2/area-2-2-labels/area-2-2-labels.json\u0000tests/data/test-case-1/country-2/area-2-2/collection.json\u0000tests/data/test-case-1/country-2/catalog.json\u0000tests/helpers.py\u0000tests/test_base_search.py\u0000tests/test_cli.py\u0000tests/test_client.py\u0000tests/test_collection_client.py\u0000tests/test_collection_search.py\u0000tests/test_free_text.py\u0000tests/test_item_search.py\u0000tests/test_stac_api_io.py\u0000","stderr_tail":"","stdout_sha256":"7ffce9c4a2da0014f666f7dfeb07401abf6bfca37d2e3c053268d8168b9c7768","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-1.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:25:41.339400Z","duration_s":0.00401,"timed_out":false,"image_before":"470069e4-8e84-48c5-a768-6ca34fc2d23f","image_after":"16405ee2-e953-4029-bc85-0a71bb5dd209","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-2","seq":2,"branch_id":"agent1","kind":"command","cmd":"grep -n \"test_get_collection_fallback_strategy_for_static_catalogs\\|test_get_collection_for_static_catalogs_raise_if_not_found\" tests/test_client.py","path":null,"exit_code":0,"stdout_tail":"796:def test_get_collection_fallback_strategy_for_static_catalogs() -> None:\n811:def test_get_collection_for_static_catalogs_raise_if_not_found() -> None:\n","stderr_tail":"","stdout_sha256":"94ad6239643c44e5fe16fee4aa23c137380fcc98af0add43eb0de490febac0a3","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-2.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:25:50.506097Z","duration_s":0.003199,"timed_out":false,"image_before":"16405ee2-e953-4029-bc85-0a71bb5dd209","image_after":"a5d04b93-88d2-42fb-a646-9dabea2c427f","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-3","seq":3,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-318b18404a5e4802af2e469735c86252/bin/busybox sh -c 'mkdir -p /pystac-client/pystac_client && cp /opt/receipts-318b18404a5e4802af2e469735c86252/incoming/475500060b44294b1405c80cb9bdd689ff220ad6e3382063930b827640474c02 /pystac-client/pystac_client/client.py'","path":"pystac_client/client.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"475500060b44294b1405c80cb9bdd689ff220ad6e3382063930b827640474c02","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-3.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:25:55.825058Z","duration_s":0.004725,"timed_out":false,"image_before":"a5d04b93-88d2-42fb-a646-9dabea2c427f","image_after":"42a5f664-8897-45a5-b63a-e1ad8585a736","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-4","seq":4,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-20efe3c5ddf74fdeae4b9befe8923c2b/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-20efe3c5ddf74fdeae4b9befe8923c2b/receipts_pytest.py tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-4.xml","path":null,"exit_code":1,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /pystac-client\nconfigfile: pyproject.toml\nplugins: benchmark-5.2.3, console-scripts-1.4.1, cov-7.0.0, recording-0.13.4, requests-mock-1.12.1\ncollecting ... collected 2 items\n\ntests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs PASSED [ 50%]\ntests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found FAILED [100%]\n\n=================================== FAILURES ===================================\n__________ test_get_collection_for_static_catalogs_raise_if_not_found __________\n\n    def test_get_collection_for_static_catalogs_raise_if_not_found() -> None:\n        client = Client.from_file(str(TEST_DATA / \"test-case-1\" / \"catalog.json\"))\n        with pytest.raises(KeyError, match=\"not found on catalog\"):\n            with pytest.warns(FallbackToPystac):\n>               client.get_collection(\"country-1\")\n\ntests/test_client.py:815: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Client id=test>, collection_id = 'country-1'\n\n    @lru_cache()\n    def get_collection(self, collection_id: str) -> Union[Collection, CollectionClient]:\n        \"\"\"Get a single collection from this Catalog/API\n    \n        Args:\n            collection_id: The Collection ID to get\n    \n        Returns:\n            Union[Collection, CollectionClient]: A STAC Collection\n    \n        Raises:\n            NotFoundError if collection_id does not exist.\n        \"\"\"\n        collection: Union[Collection, CollectionClient]\n    \n        if self._supports_collections():\n            assert self._stac_io is not None\n    \n            url = self._collections_href(collection_id)\n            collection = CollectionClient.from_dict(\n                self._stac_io.read_json(url),\n                root=self,\n                modifier=self.modifier,\n            )\n            call_modifier(self.modifier, collection)\n        else:\n            self._warn_about_fallback(\"COLLECTIONS\", \"FEATURES\")\n            for collection in super().get_collections():\n                if collection.id == collection_id:\n                    call_modifier(self.modifier, collection)\n                    break\n>       return collection\nE       UnboundLocalError: local variable 'collection' referenced before assignment\n\npystac_client/client.py:415: UnboundLocalError\n==================================== PASSES ====================================\n------------ generated xml file: /opt/receipts/reports/agent1-4.xml ------------\n=========================== short test summary info ============================\nPASSED tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs\nFAILED tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found\n========================= 1 failed, 1 passed in 0.33s ==========================\n","stderr_tail":"","stdout_sha256":"4af0c94f695296012ea867df9f78304ed65ca2a4bb519905ab8a4f04a508ac0f","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-4.log","tree_digest":"47a74baa5875f5c69acb135815c39f5a8908f9d907c55b36877d72640ed5c4da","tree_download_s":12.641129292082042,"started_at":"2026-10-03T22:25:58.348731Z","duration_s":1.029828,"timed_out":false,"image_before":"42a5f664-8897-45a5-b63a-e1ad8585a736","image_after":"cb67cfd5-c803-460d-b2c8-7784356bc1b7","junit":{"passed":["tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs"],"failed":["tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found"],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{"tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found":"UnboundLocalError: local variable 'collection' referenced before assignment\ndef test_get_collection_for_static_catalogs_raise_if_not_found() -> None:\n        client = Client.from_file(str(TEST_DATA / \"test-case-1\" / \"catalog.json\"))\n        with pytest.raises(KeyError, match=\"not found on catalog\"):\n            with pytest.warns(FallbackToPystac):\n>               client.get_collection(\"country-1\")\n\ntests/test_client.py:815: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Client id=test>, collection_id = 'country-1'\n\n    @lru_cache()\n    def get_collection(self, collection_id: str) -> Union[Collection, CollectionClient]:\n        \"\"\"Get a single collection from this Catalog/API\n    \n        Args:\n            collection_id: The Collection ID to get\n    \n        Returns:\n            Union[Collection, CollectionClient]: A STAC Collection\n    \n        Raises:\n            NotFoundError if collection_id does not exist.\n        \"\"\"\n        collection: Union[Collection, CollectionClient]\n    \n        if self._supports_collections():\n            assert self._stac_io is not None\n    \n            url = self._collections_href(collection_id)\n            collection = CollectionClient.from_dict(\n                self._stac_io.read_json(url),\n                root=self,\n                modifier=self.modifier,\n            )\n            call_modifier(self.modifier, collection)\n        else:\n            self._warn_about_fallback(\"COLLECTIONS\", \"FEATURES\")\n            for collection in super().get_collections():\n                if collection.id == collection_id:\n                    call_modifier(self.modifier, collection)\n                    break\n>       return collection\nE       UnboundLocalError: local variable 'collection' referenced before assignment\n\npystac_client/client.py:415: UnboundLocalError"}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-5","seq":5,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-b8f932f7f7d74995a7dfeb8bdaea0d7a/bin/busybox sh -c 'mkdir -p /pystac-client/pystac_client && cp /opt/receipts-b8f932f7f7d74995a7dfeb8bdaea0d7a/incoming/6aee0f510c3bc96beb11750c69c0166f558d140008e6c306295c4c7917e64637 /pystac-client/pystac_client/client.py'","path":"pystac_client/client.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"6aee0f510c3bc96beb11750c69c0166f558d140008e6c306295c4c7917e64637","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-5.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:26:20.587260Z","duration_s":0.004894,"timed_out":false,"image_before":"cb67cfd5-c803-460d-b2c8-7784356bc1b7","image_after":"20e7f5ef-be71-41f1-ba92-feced7f3f298","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-6","seq":6,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-4b5158cf52a84c77a3d9fcb8441011d7/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-4b5158cf52a84c77a3d9fcb8441011d7/receipts_pytest.py tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found -v -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-6.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\nbenchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /pystac-client\nconfigfile: pyproject.toml\nplugins: benchmark-5.2.3, console-scripts-1.4.1, cov-7.0.0, recording-0.13.4, requests-mock-1.12.1\ncollecting ... collected 2 items\n\ntests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs PASSED [ 50%]\ntests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found PASSED [100%]\n\n==================================== PASSES ====================================\n------------ generated xml file: /opt/receipts/reports/agent1-6.xml ------------\n=========================== short test summary info ============================\nPASSED tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs\nPASSED tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found\n============================== 2 passed in 0.28s ===============================\n","stderr_tail":"","stdout_sha256":"f3a415d4fab4b3c34acf11f2e59c4f7067d4691a46ebf1bd48f4226fa97b38ae","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-6.log","tree_digest":"71356d7f11f1dbbc8ffb69df9af99dc117768e7330ece9d35067f35e42ba1383","tree_download_s":58.87662241701037,"started_at":"2026-10-03T22:26:22.409278Z","duration_s":0.996969,"timed_out":false,"image_before":"20e7f5ef-be71-41f1-ba92-feced7f3f298","image_after":"2cce9a8a-6c0c-47ee-8b6f-bf53075f1cf8","junit":{"passed":["tests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs","tests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found"],"failed":[],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-7","seq":7,"branch_id":"agent1","kind":"command","cmd":"cd /pystac-client && python -m pytest tests/test_client.py -v --tb=short 2>&1 | tail -50","path":null,"exit_code":0,"stdout_tail":"configfile: pyproject.toml\nplugins: benchmark-5.2.3, console-scripts-1.4.1, cov-7.0.0, recording-0.13.4, requests-mock-1.12.1\ncollecting ... collected 44 items\n\ntests/test_client.py::TestAPI::test_instance PASSED                      [  2%]\ntests/test_client.py::TestAPI::test_links PASSED                         [  4%]\ntests/test_client.py::TestAPI::test_from_file PASSED                     [  6%]\ntests/test_client.py::TestAPI::test_invalid_url PASSED                   [  9%]\ntests/test_client.py::TestAPI::test_get_collections_with_conformance PASSED [ 11%]\ntests/test_client.py::TestAPI::test_get_collections_single_slash PASSED  [ 13%]\ntests/test_client.py::TestAPI::test_keep_trailing_slash_on_root PASSED   [ 15%]\ntests/test_client.py::TestAPI::test_fall_back_to_data_link_for_collections PASSED [ 18%]\ntests/test_client.py::TestAPI::test_build_absolute_href_from_data_link PASSED [ 20%]\ntests/test_client.py::TestAPI::test_error_if_no_self_href_or_data_link PASSED [ 22%]\ntests/test_client.py::TestAPI::test_custom_request_parameters PASSED     [ 25%]\ntests/test_client.py::TestAPI::test_custom_query_params_get_collections_propagation PASSED [ 27%]\ntests/test_client.py::TestAPI::test_custom_query_params_get_collection_propagation PASSED [ 29%]\ntests/test_client.py::TestAPI::test_get_collections_without_conformance_fallsback_to_pystac PASSED [ 31%]\ntests/test_client.py::TestAPI::test_opening_a_collection PASSED          [ 34%]\ntests/test_client.py::TestAPI::test_headers_with_custom_stac_io PASSED   [ 36%]\ntests/test_client.py::TestAPISearch::test_search_conformance_error PASSED [ 38%]\ntests/test_client.py::TestAPISearch::test_no_search_link PASSED          [ 40%]\ntests/test_client.py::TestAPISearch::test_no_conforms_to PASSED          [ 43%]\ntests/test_client.py::TestAPISearch::test_search PASSED                  [ 45%]\ntests/test_client.py::TestAPISearch::test_json_search_link PASSED        [ 47%]\ntests/test_client.py::TestAPISearch::test_search_max_items_unlimited_default PASSED [ 50%]\ntests/test_client.py::TestAPICollectionSearch::test_search_conformance_error PASSED [ 52%]\ntests/test_client.py::TestAPICollectionSearch::test_search_conformance_warning PASSED [ 54%]\ntests/test_client.py::TestAPICollectionSearch::test_search PASSED        [ 56%]\ntests/test_client.py::TestSigning::test_signing PASSED                   [ 59%]\ntests/test_client.py::TestSigning::test_sign_with_return_warns PASSED    [ 61%]\ntests/test_client.py::TestQueryables::test_get_queryables PASSED         [ 63%]\ntests/test_client.py::TestQueryables::test_get_queryables_collections PASSED [ 65%]\ntests/test_client.py::TestQueryables::test_get_queryables_errors PASSED  [ 68%]\ntests/test_client.py::TestConformsTo::test_ignore_conformance_is_deprecated_and_noop PASSED [ 70%]\ntests/test_client.py::TestConformsTo::test_set_conforms_to_using_list_of_uris PASSED [ 72%]\ntests/test_client.py::TestConformsTo::test_add_and_remove_conforms_to_by_string PASSED [ 75%]\ntests/test_client.py::TestConformsTo::test_clear_all_conforms_to PASSED  [ 77%]\ntests/test_client.py::TestConformsTo::test_empty_conforms_to PASSED      [ 79%]\ntests/test_client.py::TestConformsTo::test_no_conforms_to_falls_back_to_pystac PASSED [ 81%]\ntests/test_client.py::TestConformsTo::test_changing_conforms_to_changes_behavior PASSED [ 84%]\ntests/test_client.py::test_collections_are_clients PASSED                [ 86%]\ntests/test_client.py::test_get_items_without_ids PASSED                  [ 88%]\ntests/test_client.py::test_non_recursion_on_fallback PASSED              [ 90%]\ntests/test_client.py::test_fallback_strategy PASSED                      [ 93%]\ntests/test_client.py::test_get_collection_fallback_strategy_for_static_catalogs PASSED [ 95%]\ntests/test_client.py::test_get_collection_for_static_catalogs_raise_if_not_found PASSED [ 97%]\ntests/test_client.py::test_query_string_in_collections_url PASSED        [100%]\n\n============================== 44 passed in 1.06s ==============================\n","stderr_tail":"","stdout_sha256":"382cf64490df28c86b5a0265e301cad856b33694ad7f43ab1a7589e0e9a72fcd","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/logs/agent1/agent1-7.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:27:25.903040Z","duration_s":1.293672,"timed_out":false,"image_before":"2cce9a8a-6c0c-47ee-8b6f-bf53075f1cf8","image_after":"6351d4cc-5551-43c9-9efc-6cf81084b887","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-8","seq":8,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-6789086a5c2f4a17bf1bddd256a34169: /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false add -A && /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false diff --cached --binary --no-ext-diff --no-textconv --no-renames b12786614c5c0dc93526812e0168b613d37377ef","path":null,"exit_code":0,"stdout_tail":"diff --git a/pystac_client/client.py b/pystac_client/client.py\nindex e843a5a..5621fc9 100644\n--- a/pystac_client/client.py\n+++ b/pystac_client/client.py\n@@ -394,7 +394,7 @@ class Client(pystac.Catalog, QueryablesMixin):\n         Raises:\n             NotFoundError if collection_id does not exist.\n         \"\"\"\n-        collection: Union[Collection, CollectionClient]\n+        collection: Union[Collection, CollectionClient] = None\n \n         if self._supports_collections():\n             assert self._stac_io is not None\n@@ -411,6 +411,9 @@ class Client(pystac.Catalog, QueryablesMixin):\n             for collection in super().get_collections():\n                 if collection.id == collection_id:\n                     call_modifier(self.modifier, collection)\n+                    break\n+            if collection is None:\n+                raise KeyError(f\"Collection {collection_id} not found on catalog\")\n         return collection\n \n     def get_collections(self) -> Iterator[Collection]:\n","stderr_tail":"","stdout_sha256":"4e415af40b354693e4d4cc582c95adafcfa0d5d70f64134332771a940de72541","log_path":null,"tree_digest":"d1de0da8a4af1ebf9f60e364f7af9258221eed563568f3d06868bdfc385b8e27","tree_download_s":11.12261729198508,"started_at":"2026-10-03T22:28:02.228095Z","duration_s":0.219532708870247,"timed_out":false,"image_before":"6351d4cc-5551-43c9-9efc-6cf81084b887","image_after":"6351d4cc-5551-43c9-9efc-6cf81084b887","junit":null,"diff":{"files":[{"path":"pystac_client/client.py","added":4,"deleted":1,"category":"source","status":"modified"}],"patch_sha256":"4e415af40b354693e4d4cc582c95adafcfa0d5d70f64134332771a940de72541","patch_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/stac-utils__pystac-client-782/runs/pilot-stac-utils__pystac-client-782-7d79796c79/artifacts/agent1/agent1-8.patch"},"patch_sha256":"4e415af40b354693e4d4cc582c95adafcfa0d5d70f64134332771a940de72541","dropped_paths":[],"snapshot_sha":"b12786614c5c0dc93526812e0168b613d37377ef"}
