)]}'
{
  "commit": "d1f82e98ffe72d8378fbff4d127c6863d96b1f72",
  "tree": "5c5e47642c62a059307b7cb72f46edc302b86750",
  "parents": [
    "38b959fcda1df417ad833acc006fb4a039b4f9ce"
  ],
  "author": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Thu Feb 08 19:27:46 2024 +0100"
  },
  "committer": {
    "name": "Lorenz Brun",
    "email": "lorenz@monogon.tech",
    "time": "Mon Feb 12 18:10:28 2024 +0000"
  },
  "message": "m/node: use pstore for panic storage\n\nThe old solution never worked as the ESP was not mounted at that stage.\nIn general storing crash data there is suboptimal as it makes lots of\nassumptions about the system state.\n\nFor kernel crashes we already use pstore and there is an interface for\nstoring userspace messages in pstore as well. Set up the panic handler\nto put its logs in there and extend the pstore cleanup runnable to also\ndump that part of pstore into the logtree after reboot.\n\nIn most cases this also requires a kernel patch as most pstore backends\nto not allow userspace messages, probably to preserve limited space.\nSince we always clean pstore after reboot, this should be fine.\n\nChange-Id: I011109112e7bfd24d1772d5853a1d491c0cfd026\nReviewed-on: https://review.monogon.dev/c/monogon/+/2753\nReviewed-by: Serge Bazanski \u003cserge@monogon.tech\u003e\nTested-by: Jenkins CI\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f17ffc0049ed3f818fa1eba5d716504f52b64ee",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/panichandler.go",
      "new_id": "7a6534ba30b9f421ba5daa020f69d425824ec886",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/panichandler.go"
    },
    {
      "type": "modify",
      "old_id": "857488a0525506d3f14d488397956a1fad359b5c",
      "old_mode": 33188,
      "old_path": "metropolis/node/core/pstore.go",
      "new_id": "c8863e50881146f42c0231fe70d7087ddf5e883f",
      "new_mode": 33188,
      "new_path": "metropolis/node/core/pstore.go"
    },
    {
      "type": "modify",
      "old_id": "b553c3cfb8b9c2ae76020782d71f3b627290dd04",
      "old_mode": 33188,
      "old_path": "metropolis/pkg/pstore/pstore.go",
      "new_id": "1bfe586f83f71fcf379d909c8fcdf339d05eb0ad",
      "new_mode": 33188,
      "new_path": "metropolis/pkg/pstore/pstore.go"
    },
    {
      "type": "modify",
      "old_id": "e862cb1537defbea98ce400c7c67046afdc9f9bf",
      "old_mode": 33188,
      "old_path": "third_party/linux/external.bzl",
      "new_id": "84ba704b6dfb9a15b1e1e9fb5996091d58b9de1a",
      "new_mode": 33188,
      "new_path": "third_party/linux/external.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8886d94cd54f6dcbd2460a153d2c4126d2f29e7b",
      "new_mode": 33188,
      "new_path": "third_party/linux/external/enable-pmsg.patch"
    },
    {
      "type": "modify",
      "old_id": "b31a14103af8f083746ae185ef8e11ddd1aa2c73",
      "old_mode": 33188,
      "old_path": "third_party/linux/linux-metropolis.config",
      "new_id": "830a77b172445a44933f93d5fa5eb8b8047be389",
      "new_mode": 33188,
      "new_path": "third_party/linux/linux-metropolis.config"
    }
  ]
}
