)]}'
{
  "commit": "346b6959c8ac443660aed22e07a923a5c31c58cb",
  "tree": "58f0cf351959ec13d296715347b7fd1c40e4c6b9",
  "parents": [
    "7b2a0c8aacb2ff56615de5d390df3bf037701e19"
  ],
  "author": {
    "name": "Adam Cozzette",
    "email": "adamc@aspect.build",
    "time": "Mon Jun 15 14:57:06 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 15 14:57:06 2026 -0700"
  },
  "message": "fix(nextjs): add missing dependencies in nextjs_standalone_server (#2890)\n\nAdds a server_test to examples/nextjs that starts the standalone server\nbinary and polls for an HTTP response, catching potential regressions\nwhere the build succeeds but the server fails to run.\n\nThis turned up some issues where we had some missing dependencies. These\nwould not necessarily be easy to catch with manual testing, since \"bazel\nrun\" does not use a sandbox and can therefore succeed even when\nimportant dependencies are absent. The most important thing was making\nsure the `js_binary` takes a dependency on the actual sources produced\nby `next build`.\n\n---\n\n### Changes are visible to end-users: yes\n\n- Searched for relevant documentation and updated as needed: yes\n- Breaking change (forces users to change their own code or config): no\n- Suggested release notes appear below: yes\n\nFix handling of dependencies in nextjs_standalone_server()\n\n### Test plan\n\n- Covered by existing test cases\n- New test cases added\n\n---------\n\nCo-authored-by: Claude Sonnet 4.6 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0904be06d53e5a7629328311a79c22a3b5759113",
      "old_mode": 33188,
      "old_path": "contrib/nextjs/defs.bzl",
      "new_id": "efd8231304bc06aba2e0255429a012038b9f3db7",
      "new_mode": 33188,
      "new_path": "contrib/nextjs/defs.bzl"
    },
    {
      "type": "modify",
      "old_id": "24c29f917f380367806366a0ab894bc657772405",
      "old_mode": 33188,
      "old_path": "examples/nextjs/BUILD.bazel",
      "new_id": "bca56893b17493a142154991c34cf6ca442faedc",
      "new_mode": 33188,
      "new_path": "examples/nextjs/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "346323351725fbcb2df1bce0407553459cae012f",
      "new_mode": 33261,
      "new_path": "examples/nextjs/server_test.sh"
    }
  ]
}
