{"record":{"id":"0c3709736bf86bd8","repo":"deepseek-ai/deepseek-harness","slug":"runtime-wheel-platform-tag-payload-must-be-expe","errorCode":null,"errorMessage":"runtime wheel {platform_tag} payload must be {expected_files}; found {found_files}","messagePattern":"runtime wheel (.+?) payload must be (.+?); found (.+?)","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"python/sdk-runtime/hatch_build.py","lineNumber":75,"sourceCode":"                \"deepseek-harness-runtime-bin is wheel-only; build and publish platform wheels only.\"\n            )\n\n        platform_tag = os.environ.get(\"DSH_RUNTIME_PLATFORM_TAG\") or _host_platform_tag()\n        matches = [value for value in _PLATFORMS.values() if value[0] == platform_tag]\n        if len(matches) != 1:\n            supported = \", \".join(value[0] for value in _PLATFORMS.values())\n            raise RuntimeError(\n                f\"unsupported DSH_RUNTIME_PLATFORM_TAG {platform_tag!r}; expected one of {supported}\"\n            )\n        expected_executable = matches[0][1]\n        runtime_dir = Path(self.root) / \"src\" / \"deepseek_harness_runtime\" / \"runtime\"\n        runtime_files = sorted(runtime_dir.glob(\"dsh-jsonrpc-agent-pkg-*\") if runtime_dir.is_dir() else [])\n        expected_files = [expected_executable, f\"{expected_executable}-rg\"]\n        if \"-macos-\" in expected_executable:\n            expected_files.append(f\"{expected_executable}-spawn-helper\")\n        found_files = [path.name for path in runtime_files]\n        if found_files != expected_files:\n            raise RuntimeError(\n                f\"runtime wheel {platform_tag} payload must be {expected_files}; found {found_files}\"\n            )\n        for executable in runtime_files:\n            if executable.stat().st_mode & stat.S_IXUSR == 0:\n                raise RuntimeError(f\"runtime executable is not executable: {executable}\")\n        build_data[\"pure_python\"] = False\n        build_data[\"infer_tag\"] = False\n        build_data[\"tag\"] = f\"py3-none-{platform_tag}\"\n","sourceCodeStart":57,"sourceCodeEnd":84,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/python/sdk-runtime/hatch_build.py#L57-L84","documentation":"Error \"runtime wheel {platform_tag} payload must be {expected_files}; found {found_files}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at python/sdk-runtime/hatch_build.py:75 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Adjust the wheel payload so it contains exactly the expected files for the platform tag."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}