{
  "comments": [
    {
      "id": "IC_kwDOQqKzuc8AAAABIJHnRQ",
      "author": {
        "login": "foggy-projects"
      },
      "authorAssociation": "OWNER",
      "body": "已处理并推送到 `main`：3f2678e7 (`fix: clarify runtime model validation behavior`)。\n\n处理结论：\n- `models validate --models-dir` 在同 namespace、同 path 已存在宿主加载 bundle 时，会复用现有 bundle 校验，不再重复注册 `runtime-validation-<namespace>` 临时 bundle。\n- 响应会带 `BUNDLE_ALREADY_REGISTERED` warning，说明本次复用了已注册 bundle。\n- 保留原有 `clearExisting` 语义：如果存在历史临时 validation bundle，会先清理，再判断是否复用宿主 bundle。\n- 补充了对应回归测试。\n\n验证：\n- `mvn test` 通过\n- `mvn install -DskipTests` 通过\r\n",
      "createdAt": "2026-06-30T08:28:53Z",
      "includesCreatedEdit": false,
      "isMinimized": false,
      "minimizedReason": "",
      "reactionGroups": [],
      "url": "https://github.com/foggy-projects/foggy-data-mcp-bridge/issues/106#issuecomment-4841400133",
      "viewerDidAuthor": true
    },
    {
      "id": "IC_kwDOQqKzuc8AAAABIJe10A",
      "author": {
        "login": "foggy-projects"
      },
      "authorAssociation": "OWNER",
      "body": "Downstream follow-up from TMS query-cloud-service verification.\n\nI rechecked consumable artifacts after the `3f2678e7` fix:\n\n- GitHub releases still stop at `runtime-api-launcher-v0.1.1`.\n- Git tags show `v9.1.0.beta` -> `f41cbf6...`, while the fix commit is `3f2678e7...`.\n- `mvn dependency:get -Dartifact=com.foggysource:foggy-runtime-api:LATEST -Dtransitive=false -U` still resolves to `9.1.0.beta`.\n- local Maven metadata currently lists only `foggy-runtime-api:9.1.0.beta`.\n\nSo I cannot yet run a release/artifact-based downstream verification for query-cloud-service. Could you please publish or point us to the Maven coordinate / launcher release / tag that contains `3f2678e7`?\n\nOnce available, I will rerun the same TMS validation smoke against query-cloud-service:\n\n1. same namespace `models validate --models-dir <target-copy>` should reuse the loaded bundle and report the expected warning instead of 150/150 duplicate failures.\n2. clean namespace validation should no longer fail on duplicate registration side effects.\n\nDownstream tracking: `docs/v3.5.5`, FB-008.",
      "createdAt": "2026-06-30T09:17:48Z",
      "includesCreatedEdit": false,
      "isMinimized": false,
      "minimizedReason": "",
      "reactionGroups": [],
      "url": "https://github.com/foggy-projects/foggy-data-mcp-bridge/issues/106#issuecomment-4841780688",
      "viewerDidAuthor": true
    },
    {
      "id": "IC_kwDOQqKzuc8AAAABIJsrYg",
      "author": {
        "login": "foggy-projects"
      },
      "authorAssociation": "OWNER",
      "body": "Local downstream validation passed after installing bridge main locally.\n\nEnvironment:\n- bridge commit: 3f2678e724f94799590fb94f78aeb7a4c7120483\n- installed artifact: com.foggysource:foggy-runtime-api:9.1.0.beta via local Maven install\n- host: query-cloud-service rebuilt with `mvn -pl query-cloud-service -am -DskipTests package`\n- CLI: foggy-runtime-cli 0.1.7\n\nValidation for this issue:\n- command shape: `models validate --models-dir <external-bundle>` against already loaded namespace `tms-ai`\n- exitCode=0, success=true\n- totalFiles=150, validFiles=150, invalidFiles=0\n- warning: `BUNDLE_ALREADY_REGISTERED`, message says the existing bundle was reused instead of registering a duplicate temporary bundle\n\nAdditional regression:\n- `mvn -pl query-cloud-service test` passed: Tests run=151, Failures=0, Errors=0, Skipped=0\n\nThis clears the downstream local blocker for #106. We can rerun a short regression after a formal runtime-api/launcher release is published.",
      "createdAt": "2026-06-30T09:46:20Z",
      "includesCreatedEdit": false,
      "isMinimized": false,
      "minimizedReason": "",
      "reactionGroups": [],
      "url": "https://github.com/foggy-projects/foggy-data-mcp-bridge/issues/106#issuecomment-4842007394",
      "viewerDidAuthor": true
    },
    {
      "id": "IC_kwDOQqKzuc8AAAABLwFp_Q",
      "author": {
        "login": "foggy-projects"
      },
      "authorAssociation": "OWNER",
      "body": "修复提交：`3f2678e724f94799590fb94f78aeb7a4c7120483` 已进入默认分支 `main`。同 namespace、同 path 已由宿主加载时，`models validate --models-dir` 复用现有 bundle，并返回 `BUNDLE_ALREADY_REGISTERED` warning，不再注册重复临时资源。\n\n验证结果：Issue 下游复测在已加载 namespace `tms-ai` 上返回 exitCode=0、150/150 valid、0 invalid，并确认 warning 表示复用已注册 bundle；query-cloud-service 151 tests 全通过。\n\n关闭结论：已加载 namespace 的重复资源失败已修复并通过真实宿主模型集验证，关闭本 Issue。",
      "createdAt": "2026-07-26T13:03:27Z",
      "includesCreatedEdit": false,
      "isMinimized": false,
      "minimizedReason": "",
      "reactionGroups": [],
      "url": "https://github.com/foggy-projects/foggy-data-mcp-bridge/issues/106#issuecomment-5083589117",
      "viewerDidAuthor": true
    }
  ],
  "number": 106,
  "state": "CLOSED",
  "title": "models validate --models-dir duplicates resources when namespace is already loaded",
  "url": "https://github.com/foggy-projects/foggy-data-mcp-bridge/issues/106"
}