manifest.json 1.8 KB
{
  "id": "sentry-removal",
  "title": "移除 Sentry 并精简小程序包体",
  "sourceProject": "dj-car-boutique-work-wechat",
  "affectedPaths": [
    "app.js",
    "config.js",
    "packageEquity/pages/aiCheck/chat/chat.js",
    "packageEquity/pages/aiCheck/components/SpeechPopup/SpeechPopup.js",
    "utils",
    "packageUsedCar/newRequestIndex.js",
    "packageDynamicForm",
    "package.json",
    "scripts",
    "tests"
  ],
  "interfaces": [
    "wx.$sendSentry(error) removed",
    "CommonJS Request export retained",
    "newRequest.get(url, params, config) retained",
    "newRequest.post(url, data, config) retained"
  ],
  "tests": [
    {
      "id": "sentry-runtime-absence",
      "file": "tests/sentryRemoval.test.mjs",
      "level": "contract",
      "expectedBefore": "pass",
      "status": "pass"
    },
    {
      "id": "used-car-request-contract",
      "file": "tests/usedCarRequestBundle.test.mjs",
      "level": "integration",
      "expectedBefore": "pass",
      "status": "pass"
    },
    {
      "id": "upload-exclusions",
      "file": "tests/migration-readiness/uploadExclusions.test.mjs",
      "level": "contract",
      "expectedBefore": "pass",
      "status": "pass"
    }
  ],
  "baseline": {
    "command": "git rev-parse --short HEAD",
    "result": "6ddc6360"
  },
  "apiInventory": "docs/migrations/sentry-removal/api-inventory.md",
  "acceptance": "docs/migrations/sentry-removal/test-acceptance.md",
  "verification": {
    "commands": [
      {
        "command": "node --test tests/sentryRemoval.test.mjs tests/usedCarRequestBundle.test.mjs tests/migration-readiness/uploadExclusions.test.mjs",
        "status": "pass"
      },
      {
        "command": "npm test",
        "status": "pass"
      },
      {
        "command": "git diff --check",
        "status": "pass"
      }
    ]
  }
}