{"receipt_id":"agent1-1","seq":1,"branch_id":"agent1","kind":"command","cmd":"git ls-files -z","path":null,"exit_code":0,"stdout_tail":".py\u0000datalad/support/external_versions.py\u0000datalad/support/github_.py\u0000datalad/support/gitrepo.py\u0000datalad/support/globbedpaths.py\u0000datalad/support/itertools.py\u0000datalad/support/json_py.py\u0000datalad/support/keyring_.py\u0000datalad/support/locking.py\u0000datalad/support/nda_.py\u0000datalad/support/network.py\u0000datalad/support/parallel.py\u0000datalad/support/param.py\u0000datalad/support/path.py\u0000datalad/support/repo.py\u0000datalad/support/repodates.py\u0000datalad/support/s3.py\u0000datalad/support/sshconnector.py\u0000datalad/support/sshrun.py\u0000datalad/support/stats.py\u0000datalad/support/status.py\u0000datalad/support/strings.py\u0000datalad/support/tests/__init__.py\u0000datalad/support/tests/test_annexrepo.py\u0000datalad/support/tests/test_ansi_colors.py\u0000datalad/support/tests/test_cache.py\u0000datalad/support/tests/test_cookies.py\u0000datalad/support/tests/test_digests.py\u0000datalad/support/tests/test_due_utils.py\u0000datalad/support/tests/test_external_versions.py\u0000datalad/support/tests/test_fileinfo.py\u0000datalad/support/tests/test_github_.py\u0000datalad/support/tests/test_gitrepo.py\u0000datalad/support/tests/test_globbedpaths.py\u0000datalad/support/tests/test_json_py.py\u0000datalad/support/tests/test_locking.py\u0000datalad/support/tests/test_network.py\u0000datalad/support/tests/test_parallel.py\u0000datalad/support/tests/test_path.py\u0000datalad/support/tests/test_repo_save.py\u0000datalad/support/tests/test_repodates.py\u0000datalad/support/tests/test_sshconnector.py\u0000datalad/support/tests/test_sshrun.py\u0000datalad/support/tests/test_stats.py\u0000datalad/support/tests/test_status.py\u0000datalad/support/tests/test_vcr_.py\u0000datalad/support/tests/test_versions.py\u0000datalad/support/tests/utils.py\u0000datalad/support/third/__init__.py\u0000datalad/support/third/loris_token_generator.py\u0000datalad/support/third/nda_aws_token_generator.py\u0000datalad/support/third/noseclasses.py\u0000datalad/support/third/nosetester.py\u0000datalad/support/vcr_.py\u0000datalad/support/versions.py\u0000datalad/tests/__init__.py\u0000datalad/tests/heavyoutput.py\u0000datalad/tests/test__main__.py\u0000datalad/tests/test_api.py\u0000datalad/tests/test_archives.py\u0000datalad/tests/test_auto.py\u0000datalad/tests/test_base.py\u0000datalad/tests/test_config.py\u0000datalad/tests/test_constraints.py\u0000datalad/tests/test_direct_mode.py\u0000datalad/tests/test_dochelpers.py\u0000datalad/tests/test_installed.py\u0000datalad/tests/test_interface.py\u0000datalad/tests/test_log.py\u0000datalad/tests/test_misc.py\u0000datalad/tests/test_s3.py\u0000datalad/tests/test_strings.py\u0000datalad/tests/test_testrepos.py\u0000datalad/tests/test_tests_utils.py\u0000datalad/tests/test_utils.py\u0000datalad/tests/test_utils_cached_dataset.py\u0000datalad/tests/test_utils_testrepos.py\u0000datalad/tests/test_version.py\u0000datalad/tests/test_witless_runner.py\u0000datalad/tests/utils.py\u0000datalad/tests/utils_cached_dataset.py\u0000datalad/tests/utils_testdatasets.py\u0000datalad/tests/utils_testrepos.py\u0000datalad/ui/__init__.py\u0000datalad/ui/base.py\u0000datalad/ui/dialog.py\u0000datalad/ui/progressbars.py\u0000datalad/ui/tests/__init__.py\u0000datalad/ui/tests/test_base.py\u0000datalad/ui/tests/test_dialog.py\u0000datalad/ui/utils.py\u0000datalad/utils.py\u0000datalad/version.py\u0000docs/Makefile\u0000docs/casts/basic_search.sh\u0000docs/casts/boxcom.sh\u0000docs/casts/cmdline_basic_usage.sh\u0000docs/casts/datalad_convenience_vs_git.sh\u0000docs/casts/heudiconv_dicom_to_bids.sh\u0000docs/casts/publish_on_github.sh\u0000docs/casts/reproducible_analysis.sh\u0000docs/casts/seamless_nested_repos.sh\u0000docs/casts/simple_provenance_tracking.sh\u0000docs/casts/track_data_from_webpage.sh\u0000docs/config-format.rst\u0000docs/datalad-metadata.rst\u0000docs/design.rst\u0000docs/source/_static/datalad_logo.png\u0000docs/source/_static/favicon.ico\u0000docs/source/_templates/autosummary/module.rst\u0000docs/source/acknowledgements.rst\u0000docs/source/background.rst\u0000docs/source/basics.rst\u0000docs/source/basics_cmdline.rst.in\u0000docs/source/basics_nesteddatasets.rst.in\u0000docs/source/changelog.rst\u0000docs/source/cmdline.rst\u0000docs/source/conf.py\u0000docs/source/config.rst\u0000docs/source/customization.rst\u0000docs/source/designpatterns.rst\u0000docs/source/glossary.rst\u0000docs/source/index.rst\u0000docs/source/metadata.rst\u0000docs/source/modref.rst\u0000docs/source/publications.rst\u0000docs/source/related.rst\u0000docs/utils/pygments_ansi_color.py\u0000pyproject.toml\u0000readthedocs.yml\u0000requirements-devel.txt\u0000requirements.txt\u0000sandbox/git-annex-remote-gitobjects\u0000setup.py\u0000tools/Dockerfile.fullmaster\u0000tools/Singularity\u0000tools/Singularity.0.11.1\u0000tools/Singularity.0.11.5\u0000tools/Singularity.0.11.x\u0000tools/Singularity.fullmaster\u0000tools/Singularity.git-annex-dev\u0000tools/Singularity.maint\u0000tools/bisect-git-annex\u0000tools/bisect-git-annex.scripts/bisect-git-annex-doublepasswd.sh\u0000tools/bisect-git-annex.scripts/bisect-git-annex-lock.sh\u0000tools/cast2asciinema\u0000tools/cast2narration\u0000tools/cast2rst\u0000tools/cast2script\u0000tools/cast_bash.rc\u0000tools/cast_live\u0000tools/changelog-todo\u0000tools/checkpwd.py\u0000tools/ci/appveyor_enable_windevmode.ps1\u0000tools/ci/appveyor_env_setup.bat\u0000tools/ci/appveyor_install_git-annex.bat\u0000tools/ci/appveyor_ssh2localhost.bat\u0000tools/ci/appveyor_ssh2localhost.sh\u0000tools/ci/appveyor_ssh_config\u0000tools/ci/benchmark-travis-pr.sh\u0000tools/ci/bisect-python.sh\u0000tools/ci/download-latest-artifact\u0000tools/ci/gpg-90F7E9EB.pub\u0000tools/ci/install-annex.sh\u0000tools/ci/install-minimum-git.sh\u0000tools/ci/install-upstream-git.sh\u0000tools/ci/prep-travis-devel-annex.sh\u0000tools/ci/prep-travis-forssh.sh\u0000tools/cmdline-completion\u0000tools/copy_urls_from_datalad.py\u0000tools/coverage-bin/datalad\u0000tools/coverage-bin/git-annex-remote-datalad\u0000tools/coverage-bin/git-annex-remote-datalad-archives\u0000tools/describegitannex\u0000tools/downgrade-annex\u0000tools/dtime\u0000tools/eval_under_testloopfs\u0000tools/git-web-submodules.sh\u0000tools/link_issues_CHANGELOG\u0000tools/mimic_merges\u0000tools/mimic_repo\u0000tools/mkcontrib\u0000tools/monitor-interrupts.py\u0000tools/profile_python\u0000tools/testing/.gitignore\u0000tools/testing/bad_internals/_scrapy/scrapy.py\u0000tools/testing/conf/apache-ssh-supervisor.conf\u0000tools/testing/conf/etc/apt/apt.conf.d/99apt-cacher\u0000tools/testing/make_test_repo\u0000tools/testing/make_test_repos\u0000tools/testing/start_website_in_docker\u0000tools/testing/start_website_in_docker-Dockerfile.in\u0000tools/testing/test_README_in_docker\u0000tools/testing/test_README_in_docker-Dockerfile.in\u0000tools/testing/travis_ifdown_nonlo.sh\u0000tools/upgrade-annex-osx.sh\u0000tools/urlinfo\u0000tools/which.py\u0000tox.ini\u0000","stderr_tail":"","stdout_sha256":"cd980b40df0490dee666b2d7e23ee94bf0d90274aaa74fcef82853717e49bc67","log_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/logs/agent1/agent1-1.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T21:11:29.891761Z","duration_s":0.003752,"timed_out":false,"image_before":"e2f1a248-c809-4025-9aef-e265746f3f28","image_after":"5a97e4e3-7cc3-4654-a564-826b5ecad973","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 \"_gh_exception\" datalad/support/github_.py","path":null,"exit_code":1,"stdout_tail":"","stderr_tail":"","stdout_sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","log_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/logs/agent1/agent1-2.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T21:11:41.221387Z","duration_s":0.003345,"timed_out":false,"image_before":"5a97e4e3-7cc3-4654-a564-826b5ecad973","image_after":"3114002a-afdd-4198-90ef-dbf6787af1c1","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-fb4d445fe100447cbf260f682a5ec481/bin/busybox sh -c 'mkdir -p /datalad/datalad/support && cp /opt/receipts-fb4d445fe100447cbf260f682a5ec481/incoming/af931f4f3825d795ca17a92a6b6af26acf1708d1e50d6b9733cf31fc68a09515 /datalad/datalad/support/github_.py'","path":"datalad/support/github_.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"af931f4f3825d795ca17a92a6b6af26acf1708d1e50d6b9733cf31fc68a09515","log_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/logs/agent1/agent1-3.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T21:11:51.248334Z","duration_s":0.004817999999999999,"timed_out":false,"image_before":"3114002a-afdd-4198-90ef-dbf6787af1c1","image_after":"2049d74b-07ce-4748-a69c-4672da4c83ab","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-abb481bb768c4ba2960d1efd00baedcd/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-abb481bb768c4ba2960d1efd00baedcd/receipts_pytest.py -x datalad/support/tests/test_github_.py::test_get_repo_url datalad/support/tests/test_github_.py::test__make_github_repos --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-4.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\ncollected 2 items\n\ndatalad/support/tests/test_github_.py ..                                 [100%]\n\n=============================== warnings summary ===============================\n../usr/local/lib/python3.10/site-packages/requests/__init__.py:113\n  /usr/local/lib/python3.10/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (6.0.0dev0)/charset_normalizer (3.4.4) doesn't match a supported version!\n    warnings.warn(\n\n../usr/local/lib/python3.10/site-packages/nose/plugins/manager.py:418\n  /usr/local/lib/python3.10/site-packages/nose/plugins/manager.py:418: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n    import pkg_resources\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n==================================== PASSES ====================================\n___________________________ test__make_github_repos ____________________________\n----------------------------- Captured stderr call -----------------------------\n[WARNING] Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n[WARNING] Failed to create repository while using token 2to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n[WARNING] Failed to create repository while using token 3to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n------------------------------ Captured log call -------------------------------\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:109]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 2to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 3to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\n------------ generated xml file: /opt/receipts/reports/agent1-4.xml ------------\n=========================== short test summary info ============================\nPASSED datalad/support/tests/test_github_.py::test_get_repo_url\nPASSED datalad/support/tests/test_github_.py::test__make_github_repos\n======================== 2 passed, 2 warnings in 1.95s =========================\n","stderr_tail":"","stdout_sha256":"5c088111e309dde21fe914941f822eef87706ce96d27a8b7237dded5443cf058","log_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/logs/agent1/agent1-4.log","tree_digest":"e4a69058672bbb267ad378a47461bc1157177ad3cf579ad42304f8a47e254b11","tree_download_s":3.6237712500151247,"started_at":"2026-10-03T21:11:54.882610Z","duration_s":2.115309,"timed_out":false,"image_before":"2049d74b-07ce-4748-a69c-4672da4c83ab","image_after":"14034fa1-aca8-4689-b4fb-9193741b6c1f","junit":{"passed":["datalad/support/tests/test_github_.py::test_get_repo_url","datalad/support/tests/test_github_.py::test__make_github_repos"],"failed":[],"errors":[],"skipped":[],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-5","seq":5,"branch_id":"agent1","kind":"command","cmd":"/opt/receipts-da046c51f62a4e00a093d45afcbf89df/bin/busybox mkdir -p /opt/receipts/reports && python -I /opt/receipts-da046c51f62a4e00a093d45afcbf89df/receipts_pytest.py -x datalad/support/tests/test_github_.py --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning -o junit_family=xunit1 -p no:cacheprovider -rA --continue-on-collection-errors --junitxml=/opt/receipts/reports/agent1-5.xml","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\ncollected 3 items\n\ndatalad/support/tests/test_github_.py ..s                                [100%]\n\n=============================== warnings summary ===============================\n../usr/local/lib/python3.10/site-packages/requests/__init__.py:113\n  /usr/local/lib/python3.10/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (6.0.0dev0)/charset_normalizer (3.4.4) doesn't match a supported version!\n    warnings.warn(\n\n../usr/local/lib/python3.10/site-packages/nose/plugins/manager.py:418\n  /usr/local/lib/python3.10/site-packages/nose/plugins/manager.py:418: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n    import pkg_resources\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n==================================== PASSES ====================================\n___________________________ test__make_github_repos ____________________________\n----------------------------- Captured stderr call -----------------------------\n[WARNING] Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n[WARNING] Failed to create repository while using token 2to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n[WARNING] Failed to create repository while using token 3to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122] \n------------------------------ Captured log call -------------------------------\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:109]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 1to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 2to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\nWARNING  datalad.support.github_:github_.py:242 Failed to create repository while using token 3to...: very bad status \"some data\" [test_github_.py:_make_github_repo:122]\n------------ generated xml file: /opt/receipts/reports/agent1-5.xml ------------\n=========================== short test summary info ============================\nPASSED datalad/support/tests/test_github_.py::test_get_repo_url\nPASSED datalad/support/tests/test_github_.py::test__make_github_repos\nSKIPPED [1] ../usr/local/lib/python3.10/site-packages/_pytest/unittest.py:498: condition was True\n=================== 2 passed, 1 skipped, 2 warnings in 2.01s ===================\n","stderr_tail":"","stdout_sha256":"7d5c92df7b0fe462a63ed109b2aa2e04b395c8b4f93f4880a7e844df157673ac","log_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/logs/agent1/agent1-5.log","tree_digest":"e4a69058672bbb267ad378a47461bc1157177ad3cf579ad42304f8a47e254b11","tree_download_s":2.7483292079996318,"started_at":"2026-10-03T21:12:06.180601Z","duration_s":2.129852,"timed_out":false,"image_before":"14034fa1-aca8-4689-b4fb-9193741b6c1f","image_after":"d425b26f-0cb8-420d-b250-a2dd442eee17","junit":{"passed":["datalad/support/tests/test_github_.py::test_get_repo_url","datalad/support/tests/test_github_.py::test__make_github_repos"],"failed":[],"errors":[],"skipped":["datalad/support/tests/test_github_.py::test__gen_github_entity_organization"],"collection_errors":[],"failure_text":{}},"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-6","seq":6,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-5614287f51b44cee96079454d1a853f4: /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 7d897d841b393c9fbae43ddb9e202f6a9987e5f5","path":null,"exit_code":0,"stdout_tail":"diff --git a/datalad/support/github_.py b/datalad/support/github_.py\nindex 6848a6785..85ddaa345 100644\n--- a/datalad/support/github_.py\n+++ b/datalad/support/github_.py\n@@ -60,6 +60,17 @@ def _token_str(token):\n     return token[:3] + '...'\n \n \n+def _gh_exception(exc_cls, *args):\n+    \"\"\"Instantiate a GitHub exception, compatible with changes in PyGithub.\n+    Some exceptions (e.g. BadCredentialsException) now require a ``headers``\n+    argument. If only two arguments are provided, assume ``headers=None``.\n+    \"\"\"\n+    if exc_cls is gh.BadCredentialsException and len(args) == 2:\n+        # status, data -> add headers\n+        return exc_cls(args[0], args[1], None)\n+    return exc_cls(*args)\n+\n+\n def _get_tokens_for_login(login, tokens):\n     selected_tokens = []\n     for t in tokens:\n","stderr_tail":"","stdout_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","log_path":null,"tree_digest":"e4a69058672bbb267ad378a47461bc1157177ad3cf579ad42304f8a47e254b11","tree_download_s":4.01511837518774,"started_at":"2026-10-03T21:12:29.125687Z","duration_s":0.08316345792263746,"timed_out":false,"image_before":"d425b26f-0cb8-420d-b250-a2dd442eee17","image_after":"d425b26f-0cb8-420d-b250-a2dd442eee17","junit":null,"diff":{"files":[{"path":"datalad/support/github_.py","added":11,"deleted":0,"category":"source","status":"modified"}],"patch_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","patch_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/artifacts/agent1/agent1-6.patch"},"patch_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","dropped_paths":[],"snapshot_sha":"7d897d841b393c9fbae43ddb9e202f6a9987e5f5"}
{"receipt_id":"agent1-7","seq":7,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-e06e6e136ba1453189126d4cfccecdf6: /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 7d897d841b393c9fbae43ddb9e202f6a9987e5f5","path":null,"exit_code":0,"stdout_tail":"diff --git a/datalad/support/github_.py b/datalad/support/github_.py\nindex 6848a6785..85ddaa345 100644\n--- a/datalad/support/github_.py\n+++ b/datalad/support/github_.py\n@@ -60,6 +60,17 @@ def _token_str(token):\n     return token[:3] + '...'\n \n \n+def _gh_exception(exc_cls, *args):\n+    \"\"\"Instantiate a GitHub exception, compatible with changes in PyGithub.\n+    Some exceptions (e.g. BadCredentialsException) now require a ``headers``\n+    argument. If only two arguments are provided, assume ``headers=None``.\n+    \"\"\"\n+    if exc_cls is gh.BadCredentialsException and len(args) == 2:\n+        # status, data -> add headers\n+        return exc_cls(args[0], args[1], None)\n+    return exc_cls(*args)\n+\n+\n def _get_tokens_for_login(login, tokens):\n     selected_tokens = []\n     for t in tokens:\n","stderr_tail":"","stdout_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","log_path":null,"tree_digest":"e4a69058672bbb267ad378a47461bc1157177ad3cf579ad42304f8a47e254b11","tree_download_s":4.7247266669292,"started_at":"2026-10-03T21:12:52.354959Z","duration_s":0.06070729182101786,"timed_out":false,"image_before":"d425b26f-0cb8-420d-b250-a2dd442eee17","image_after":"d425b26f-0cb8-420d-b250-a2dd442eee17","junit":null,"diff":{"files":[{"path":"datalad/support/github_.py","added":11,"deleted":0,"category":"source","status":"modified"}],"patch_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","patch_path":"~/dev/nebius-hackathon/pilot/v2-P/datalad__datalad-5603/runs/pilot-datalad__datalad-5603-ad232ce16e/artifacts/agent1/agent1-7.patch"},"patch_sha256":"bb3ba164b232ad98a427e51a32cae45f57b5e9243221d59a1e3e039d05f3e2df","dropped_paths":[],"snapshot_sha":"7d897d841b393c9fbae43ddb9e202f6a9987e5f5"}
