5297 lines
No EOL
164 KiB
JSON
5297 lines
No EOL
164 KiB
JSON
{
|
|
"version": 1,
|
|
"bugs": [
|
|
{
|
|
"id": "bug-001",
|
|
"timestamp": "2026-05-21T07:38:53.760Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "CLAUDE.md",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 23→30 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T07:38:53.760Z"
|
|
},
|
|
{
|
|
"id": "bug-002",
|
|
"timestamp": "2026-05-21T07:46:54.198Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".claude/skills/kiro-spec-init/SKILL.md",
|
|
"root_cause": "Had `.kiro/settings/templates/specs/init.json`",
|
|
"fix": "Changed to `templates/specs/init.json`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 12,
|
|
"last_seen": "2026-05-21T07:48:24.177Z"
|
|
},
|
|
{
|
|
"id": "bug-003",
|
|
"timestamp": "2026-05-21T07:57:57.180Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 14→19 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T07:57:57.180Z"
|
|
},
|
|
{
|
|
"id": "bug-004",
|
|
"timestamp": "2026-05-21T07:58:54.673Z",
|
|
"error_message": "Wrong reference: g_tmpdir should be g_instdir",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "Used \"g_tmpdir\" instead of \"g_instdir\"",
|
|
"fix": "Changed g_tmpdir → g_instdir",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-21T07:59:00.347Z"
|
|
},
|
|
{
|
|
"id": "bug-005",
|
|
"timestamp": "2026-05-21T08:24:10.738Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: rc == 0",
|
|
"fix": "Added guard clause: if (rc == 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T08:24:10.738Z"
|
|
},
|
|
{
|
|
"id": "bug-006",
|
|
"timestamp": "2026-05-21T08:30:20.719Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/docs/config-replication-design.md",
|
|
"root_cause": "7 lines replaced/restructured",
|
|
"fix": "Rewrote 17→20 lines (7 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T08:30:20.719Z"
|
|
},
|
|
{
|
|
"id": "bug-007",
|
|
"timestamp": "2026-05-21T12:53:13.789Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/request.c",
|
|
"root_cause": "No early return/throw for edge case: ep == NULL",
|
|
"fix": "Added guard clause: if (ep == NULL)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T12:53:13.789Z"
|
|
},
|
|
{
|
|
"id": "bug-008",
|
|
"timestamp": "2026-05-21T13:20:28.953Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: getaddrinfo(host, port_str, &hints, &res",
|
|
"fix": "Added guard clause: if (getaddrinfo(host, port_str, &hints, &res)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T13:20:28.953Z"
|
|
},
|
|
{
|
|
"id": "bug-009",
|
|
"timestamp": "2026-05-21T13:42:53.395Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 6→9 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T13:42:53.395Z"
|
|
},
|
|
{
|
|
"id": "bug-010",
|
|
"timestamp": "2026-05-21T13:43:03.953Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 11→5 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-21T13:43:03.953Z"
|
|
},
|
|
{
|
|
"id": "bug-011",
|
|
"timestamp": "2026-05-22T08:45:33.856Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/docs/config-replication-impl-status.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 10→12 lines (4 removed) | Also: | `handle_config_request()` (primary handler) | ✅ ; | `fetch_config_from_primary()` (standby fetch) | | Also: | `handle_upgrade_config()` | ✅ Compiled, gated | ; | `push_config_to_standbys()` | ⚠ Stub (returns 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-22T08:46:24.228Z"
|
|
},
|
|
{
|
|
"id": "bug-012",
|
|
"timestamp": "2026-05-22T09:18:14.674Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/docs/config-replication-impl-status.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 17→21 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-22T09:18:14.674Z"
|
|
},
|
|
{
|
|
"id": "bug-013",
|
|
"timestamp": "2026-05-25T09:00:50.645Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 6→7 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T09:00:50.645Z"
|
|
},
|
|
{
|
|
"id": "bug-014",
|
|
"timestamp": "2026-05-25T10:34:21.916Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "6 lines replaced/restructured",
|
|
"fix": "Rewrote 13→24 lines (6 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T10:34:21.916Z"
|
|
},
|
|
{
|
|
"id": "bug-015",
|
|
"timestamp": "2026-05-25T10:34:43.964Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 4→10 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T10:34:43.964Z"
|
|
},
|
|
{
|
|
"id": "bug-016",
|
|
"timestamp": "2026-05-25T11:03:39.152Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 8→9 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:03:39.152Z"
|
|
},
|
|
{
|
|
"id": "bug-017",
|
|
"timestamp": "2026-05-25T11:05:06.112Z",
|
|
"error_message": "Missing error handling in send",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:05:06.112Z"
|
|
},
|
|
{
|
|
"id": "bug-018",
|
|
"timestamp": "2026-05-25T11:06:26.871Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:06:26.871Z"
|
|
},
|
|
{
|
|
"id": "bug-019",
|
|
"timestamp": "2026-05-25T11:06:52.401Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 23→40 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:06:52.401Z"
|
|
},
|
|
{
|
|
"id": "bug-020",
|
|
"timestamp": "2026-05-25T11:31:55.826Z",
|
|
"error_message": "Function not marked async",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:31:55.826Z"
|
|
},
|
|
{
|
|
"id": "bug-021",
|
|
"timestamp": "2026-05-25T11:32:18.221Z",
|
|
"error_message": "Missing error handling in types",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-25T11:32:18.221Z"
|
|
},
|
|
{
|
|
"id": "bug-022",
|
|
"timestamp": "2026-05-26T07:16:49.294Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "36 lines replaced/restructured",
|
|
"fix": "Rewrote 63→79 lines (36 removed) | Also: 6. **No simultaneous primaries**: Only one node ca; 7. **Majority-commit WAL replication (CP writes)** | Also: - `handle_request_vote()` handler on all peers; - Config tag + LSN comparison for vote decision",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-26T07:19:18.498Z"
|
|
},
|
|
{
|
|
"id": "bug-023",
|
|
"timestamp": "2026-05-26T07:17:31.980Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "No early return/throw for edge case: req->term < my_term",
|
|
"fix": "Added guard clause: if (req->term < my_term)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:17:31.980Z"
|
|
},
|
|
{
|
|
"id": "bug-024",
|
|
"timestamp": "2026-05-26T07:18:36.066Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "No early return/throw for edge case: n_peers == 2",
|
|
"fix": "Added guard clause: if (n_peers == 2)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:18:36.066Z"
|
|
},
|
|
{
|
|
"id": "bug-025",
|
|
"timestamp": "2026-05-26T07:26:22.871Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 11→28 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:26:22.871Z"
|
|
},
|
|
{
|
|
"id": "bug-026",
|
|
"timestamp": "2026-05-26T07:26:48.363Z",
|
|
"error_message": "Wrong return value",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Was returning: 1;",
|
|
"fix": "Now returns: 1; // single-node: always primary",
|
|
"tags": [
|
|
"auto-detected",
|
|
"return-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:26:48.363Z"
|
|
},
|
|
{
|
|
"id": "bug-027",
|
|
"timestamp": "2026-05-26T07:27:34.925Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Condition was: if (n_peers == 2)",
|
|
"fix": "Changed to: if (n_peers == 1)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:27:34.925Z"
|
|
},
|
|
{
|
|
"id": "bug-028",
|
|
"timestamp": "2026-05-26T07:28:37.278Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 13→28 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:28:37.278Z"
|
|
},
|
|
{
|
|
"id": "bug-029",
|
|
"timestamp": "2026-05-26T07:29:11.741Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Had `main.c`",
|
|
"fix": "Changed to `-EINVAL`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T07:29:11.741Z"
|
|
},
|
|
{
|
|
"id": "bug-030",
|
|
"timestamp": "2026-05-26T08:52:54.129Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "11 lines replaced/restructured",
|
|
"fix": "Rewrote 17→28 lines (11 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T08:52:54.129Z"
|
|
},
|
|
{
|
|
"id": "bug-031",
|
|
"timestamp": "2026-05-26T09:07:01.238Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 28→45 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T09:07:01.238Z"
|
|
},
|
|
{
|
|
"id": "bug-032",
|
|
"timestamp": "2026-05-26T09:07:23.015Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Had `-EINVAL`",
|
|
"fix": "Changed to `--vcpus N`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T09:07:23.015Z"
|
|
},
|
|
{
|
|
"id": "bug-033",
|
|
"timestamp": "2026-05-26T09:07:46.892Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "13 lines replaced/restructured",
|
|
"fix": "Rewrote 22→35 lines (13 removed) | Also: **Files**: `src/controller/main.c`, `src/lib/netio; 1. **Peer-count validation in `main.c`** (before `",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T09:08:37.743Z"
|
|
},
|
|
{
|
|
"id": "bug-034",
|
|
"timestamp": "2026-05-26T09:23:02.818Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "No early return/throw for edge case: rc == 0",
|
|
"fix": "Added guard clause: if (rc == 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T09:23:02.818Z"
|
|
},
|
|
{
|
|
"id": "bug-035",
|
|
"timestamp": "2026-05-26T09:46:12.902Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Had `sysconf(_SC_NPROCESSORS_ONLN)`",
|
|
"fix": "Changed to ` when not specified. Values `",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T09:46:12.902Z"
|
|
},
|
|
{
|
|
"id": "bug-036",
|
|
"timestamp": "2026-05-26T09:48:08.636Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→7 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T09:48:08.636Z"
|
|
},
|
|
{
|
|
"id": "bug-037",
|
|
"timestamp": "2026-05-26T10:08:57.389Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 9→11 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T10:08:57.389Z"
|
|
},
|
|
{
|
|
"id": "bug-038",
|
|
"timestamp": "2026-05-26T10:09:32.424Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "No early return/throw for edge case: c->myconf->config_version_tag != 0",
|
|
"fix": "Added guard clause: if (c->myconf->config_version_tag != 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T10:09:32.424Z"
|
|
},
|
|
{
|
|
"id": "bug-039",
|
|
"timestamp": "2026-05-26T10:09:57.711Z",
|
|
"error_message": "Wrong return value",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Was returning: 0 (standby); fresher peer runs its own election",
|
|
"fix": "Now returns: `-ENODATA`. Not a normal runtime path.",
|
|
"tags": [
|
|
"auto-detected",
|
|
"return-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T10:09:57.711Z"
|
|
},
|
|
{
|
|
"id": "bug-040",
|
|
"timestamp": "2026-05-26T10:10:18.874Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "18 lines replaced/restructured",
|
|
"fix": "Rewrote 29→34 lines (18 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T10:10:18.874Z"
|
|
},
|
|
{
|
|
"id": "bug-041",
|
|
"timestamp": "2026-05-26T10:10:40.149Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Had `test_fetch_config_from_best_peer`",
|
|
"fix": "Changed to `test_handle_config_request_standbys_serve_config`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-26T10:10:40.149Z"
|
|
},
|
|
{
|
|
"id": "bug-042",
|
|
"timestamp": "2026-05-26T11:35:44.097Z",
|
|
"error_message": "Function not marked async",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T11:39:15.673Z"
|
|
},
|
|
{
|
|
"id": "bug-043",
|
|
"timestamp": "2026-05-26T11:40:35.979Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 13→29 lines (8 removed) | Also: 8. **Register OP_requestVote handler** in cluster'; switch at line ~195): since vtaskmgr and iomgr run",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T11:41:16.284Z"
|
|
},
|
|
{
|
|
"id": "bug-044",
|
|
"timestamp": "2026-05-26T13:07:48.902Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "9 lines replaced/restructured",
|
|
"fix": "Rewrote 13→60 lines (9 removed) | Also: 3. **Replace timestamp polling with `EPOLLRDHUP`**; is replaced by an epoll event handler. On `EPOLLRD | Also: - **Split vote recovery**: After failing quorum, s; (using existing `jitter_seed` xorshift64), retry o",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-26T13:09:05.649Z"
|
|
},
|
|
{
|
|
"id": "bug-045",
|
|
"timestamp": "2026-05-26T13:09:48.347Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 8→34 lines (8 removed) | Also: 2. **Replace `ha_check_heartbeat_nocluster()` with; - On `EPOLLRDHUP` from `primary_ctrl_fd`: **close ",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T13:10:03.239Z"
|
|
},
|
|
{
|
|
"id": "bug-046",
|
|
"timestamp": "2026-05-26T13:51:32.274Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: - [ ] `test_heartbeat_carries_committed_lsn`: heartbeat payl; `committed_lsn`; standby updates `ha.last_known_committed_ls",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T13:51:57.860Z"
|
|
},
|
|
{
|
|
"id": "bug-047",
|
|
"timestamp": "2026-05-26T13:52:49.044Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: // Catch-up gate (Clarification 6): behind nodes must not in; if (c->ha.in_catch_up) {",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-26T13:53:15.121Z"
|
|
},
|
|
{
|
|
"id": "bug-048",
|
|
"timestamp": "2026-05-27T03:02:34.912Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: name, key, applied_lsn, and config_tag immediately after TCP; - [ ] `test_ctrl_hello_registers_standby_in_repl`: handle_ct",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-27T03:04:02.739Z"
|
|
},
|
|
{
|
|
"id": "bug-049",
|
|
"timestamp": "2026-05-27T03:03:26.016Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:03:26.016Z"
|
|
},
|
|
{
|
|
"id": "bug-050",
|
|
"timestamp": "2026-05-27T03:36:56.123Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "9 lines replaced/restructured",
|
|
"fix": "Rewrote 37→51 lines (9 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:36:56.123Z"
|
|
},
|
|
{
|
|
"id": "bug-051",
|
|
"timestamp": "2026-05-27T03:52:41.110Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 8→23 lines (8 removed) | Also: - [ ] `test_persistent_conn_single_node_noop`: ha_; when n_peers == 1; primary_ctrl_fd remains -1 (uni",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-27T03:53:14.859Z"
|
|
},
|
|
{
|
|
"id": "bug-052",
|
|
"timestamp": "2026-05-27T03:55:31.440Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 34→51 lines (10 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:55:31.440Z"
|
|
},
|
|
{
|
|
"id": "bug-053",
|
|
"timestamp": "2026-05-27T03:56:41.037Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:56:41.037Z"
|
|
},
|
|
{
|
|
"id": "bug-054",
|
|
"timestamp": "2026-05-27T03:58:16.006Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "11 lines replaced/restructured",
|
|
"fix": "Rewrote 21→28 lines (11 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:58:16.006Z"
|
|
},
|
|
{
|
|
"id": "bug-055",
|
|
"timestamp": "2026-05-27T03:59:16.145Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "../../../../../claude/.claude/plans/prancy-herding-nest.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T03:59:16.145Z"
|
|
},
|
|
{
|
|
"id": "bug-056",
|
|
"timestamp": "2026-05-27T06:45:04.111Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 10→13 lines (2 removed) | Also: **Replace LSF priority election with Raft-style qu; Five focused changes: | Also: 8. **Hard SSL/cert gate**: Controller refuses to b; 9. **Observable via logs**: Election results, vote",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-27T06:46:17.221Z"
|
|
},
|
|
{
|
|
"id": "bug-057",
|
|
"timestamp": "2026-05-27T06:45:34.951Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T06:45:34.951Z"
|
|
},
|
|
{
|
|
"id": "bug-058",
|
|
"timestamp": "2026-05-27T07:23:02.729Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 8→11 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T07:23:02.729Z"
|
|
},
|
|
{
|
|
"id": "bug-059",
|
|
"timestamp": "2026-05-27T07:24:56.724Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-config-bootstrap/brief.md",
|
|
"root_cause": "Had `-ENOSYS`",
|
|
"fix": "Changed to `bootstrap_config_if_needed()`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T07:24:56.724Z"
|
|
},
|
|
{
|
|
"id": "bug-060",
|
|
"timestamp": "2026-05-27T09:24:44.651Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-config-bootstrap/spec.json",
|
|
"root_cause": "Had \"2026-05-27T01:24:00-07:00\"",
|
|
"fix": "Changed to \"2026-05-27T01:30:00-07:00\"",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"json"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-27T09:24:44.651Z"
|
|
},
|
|
{
|
|
"id": "bug-061",
|
|
"timestamp": "2026-05-28T02:54:36.356Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→7 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T02:54:36.356Z"
|
|
},
|
|
{
|
|
"id": "bug-062",
|
|
"timestamp": "2026-05-28T02:55:40.362Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T02:55:40.362Z"
|
|
},
|
|
{
|
|
"id": "bug-063",
|
|
"timestamp": "2026-05-28T03:05:42.555Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→40 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T03:05:42.556Z"
|
|
},
|
|
{
|
|
"id": "bug-064",
|
|
"timestamp": "2026-05-28T03:39:14.341Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T03:39:14.341Z"
|
|
},
|
|
{
|
|
"id": "bug-065",
|
|
"timestamp": "2026-05-28T03:40:17.891Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T03:40:17.891Z"
|
|
},
|
|
{
|
|
"id": "bug-066",
|
|
"timestamp": "2026-05-28T03:41:53.373Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→6 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T03:41:53.373Z"
|
|
},
|
|
{
|
|
"id": "bug-067",
|
|
"timestamp": "2026-05-28T03:42:53.810Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'worker.c'",
|
|
"fix": "Changed to 'startup_validation.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T03:42:53.810Z"
|
|
},
|
|
{
|
|
"id": "bug-068",
|
|
"timestamp": "2026-05-28T04:01:56.031Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/main.c",
|
|
"root_cause": "Condition was: if (arguments->vcpus < 1)",
|
|
"fix": "Changed to: if (validate_vcpus(arguments->vcpus)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:01:56.031Z"
|
|
},
|
|
{
|
|
"id": "bug-069",
|
|
"timestamp": "2026-05-28T04:02:06.925Z",
|
|
"error_message": "Wrong reference: vcpus should be nres",
|
|
"file": "src/include/clusterconfig.h",
|
|
"root_cause": "Used \"vcpus\" instead of \"nres\"",
|
|
"fix": "Changed vcpus → nres",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:02:06.925Z"
|
|
},
|
|
{
|
|
"id": "bug-070",
|
|
"timestamp": "2026-05-28T04:02:19.321Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 12→6 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:02:19.322Z"
|
|
},
|
|
{
|
|
"id": "bug-071",
|
|
"timestamp": "2026-05-28T04:02:48.429Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "Had \"vcpus\"",
|
|
"fix": "Changed to \"resources\"",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:02:48.429Z"
|
|
},
|
|
{
|
|
"id": "bug-072",
|
|
"timestamp": "2026-05-28T04:33:48.790Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_startup.c",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 12→18 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:33:48.790Z"
|
|
},
|
|
{
|
|
"id": "bug-073",
|
|
"timestamp": "2026-05-28T04:50:36.939Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 109→144 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T04:50:36.939Z"
|
|
},
|
|
{
|
|
"id": "bug-074",
|
|
"timestamp": "2026-05-28T05:59:28.525Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Condition was: if (opcode == OPCode_requestVote || opcode == OPCode_p)",
|
|
"fix": "Changed to: if (opcode == OPCode_requestVote ||\n opcod)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T05:59:28.525Z"
|
|
},
|
|
{
|
|
"id": "bug-075",
|
|
"timestamp": "2026-05-28T07:04:33.895Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_election.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:04:33.895Z"
|
|
},
|
|
{
|
|
"id": "bug-076",
|
|
"timestamp": "2026-05-28T07:13:42.089Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:13:42.089Z"
|
|
},
|
|
{
|
|
"id": "bug-077",
|
|
"timestamp": "2026-05-28T07:14:03.724Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:14:03.724Z"
|
|
},
|
|
{
|
|
"id": "bug-078",
|
|
"timestamp": "2026-05-28T07:22:56.418Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: peer_idx < 0 || peer_idx >= ctx->n_peers",
|
|
"fix": "Added guard clause: if (peer_idx < 0 || peer_idx >= ctx->n_peers)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:22:56.418Z"
|
|
},
|
|
{
|
|
"id": "bug-079",
|
|
"timestamp": "2026-05-28T07:49:42.076Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "14 lines replaced/restructured",
|
|
"fix": "Rewrote 92→344 lines (14 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:49:42.076Z"
|
|
},
|
|
{
|
|
"id": "bug-080",
|
|
"timestamp": "2026-05-28T07:50:39.610Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "6 lines replaced/restructured",
|
|
"fix": "Rewrote 25→49 lines (6 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:50:39.610Z"
|
|
},
|
|
{
|
|
"id": "bug-081",
|
|
"timestamp": "2026-05-28T07:53:10.883Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: role != CTRL_STANDBY",
|
|
"fix": "Added guard clause: if (role != CTRL_STANDBY)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T07:53:10.883Z"
|
|
},
|
|
{
|
|
"id": "bug-082",
|
|
"timestamp": "2026-05-28T08:23:40.040Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: ctx->done_posted",
|
|
"fix": "Added guard clause: if (ctx->done_posted)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-28T08:25:11.221Z"
|
|
},
|
|
{
|
|
"id": "bug-083",
|
|
"timestamp": "2026-05-28T08:45:37.921Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: !host || !tag_out",
|
|
"fix": "Added guard clause: if (!host || !tag_out)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T08:45:37.921Z"
|
|
},
|
|
{
|
|
"id": "bug-084",
|
|
"timestamp": "2026-05-28T08:48:58.609Z",
|
|
"error_message": "Wrong reference: capn_str_null should be str",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "Used \"capn_str_null\" instead of \"str\"",
|
|
"fix": "Changed capn_str_null → str",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T08:48:58.609Z"
|
|
},
|
|
{
|
|
"id": "bug-085",
|
|
"timestamp": "2026-05-28T09:12:37.377Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "7 lines replaced/restructured",
|
|
"fix": "Rewrote 17→84 lines (7 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T09:12:37.377Z"
|
|
},
|
|
{
|
|
"id": "bug-086",
|
|
"timestamp": "2026-05-28T09:13:17.676Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_bootstrap_support.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T09:13:17.676Z"
|
|
},
|
|
{
|
|
"id": "bug-087",
|
|
"timestamp": "2026-05-28T10:13:52.421Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !workdir",
|
|
"fix": "Added guard clause: if (!workdir)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T10:13:52.421Z"
|
|
},
|
|
{
|
|
"id": "bug-088",
|
|
"timestamp": "2026-05-28T13:34:49.513Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T13:34:49.513Z"
|
|
},
|
|
{
|
|
"id": "bug-089",
|
|
"timestamp": "2026-05-28T13:51:39.687Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/repl.h",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 3→4 lines (3 removed) | Also: /* ACK handling — call from io_worker read callbac; /* Majority-quorum ACK wait — stub until task 7.3 ",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-28T13:51:55.672Z"
|
|
},
|
|
{
|
|
"id": "bug-090",
|
|
"timestamp": "2026-05-28T13:52:52.636Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T13:52:52.636Z"
|
|
},
|
|
{
|
|
"id": "bug-091",
|
|
"timestamp": "2026-05-28T13:53:09.924Z",
|
|
"error_message": "Wrong reference: in_catch_up should be acked_config_lsn",
|
|
"file": "src/controller/repl.c",
|
|
"root_cause": "Used \"in_catch_up\" instead of \"acked_config_lsn\"",
|
|
"fix": "Changed in_catch_up → acked_config_lsn",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T13:53:09.924Z"
|
|
},
|
|
{
|
|
"id": "bug-092",
|
|
"timestamp": "2026-05-28T14:11:04.583Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/persist.c",
|
|
"root_cause": "No early return/throw for edge case: p->current_lsn == 0 || cutoff_lsn + 1 >= p->current_lsn",
|
|
"fix": "Added guard clause: if (p->current_lsn == 0 || cutoff_lsn + 1 >=)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T14:11:04.583Z"
|
|
},
|
|
{
|
|
"id": "bug-093",
|
|
"timestamp": "2026-05-28T14:19:54.082Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/persist.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 20→29 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T14:19:54.082Z"
|
|
},
|
|
{
|
|
"id": "bug-094",
|
|
"timestamp": "2026-05-28T14:47:44.445Z",
|
|
"error_message": "Wrong reference: ha_state_t should be _Atomic",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Used \"ha_state_t\" instead of \"_Atomic\"",
|
|
"fix": "Changed ha_state_t → _Atomic",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T14:47:44.445Z"
|
|
},
|
|
{
|
|
"id": "bug-095",
|
|
"timestamp": "2026-05-28T15:04:44.613Z",
|
|
"error_message": "Wrong reference: socket should be epoll",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Used \"socket\" instead of \"epoll\"",
|
|
"fix": "Changed socket → epoll",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T15:04:44.613Z"
|
|
},
|
|
{
|
|
"id": "bug-096",
|
|
"timestamp": "2026-05-28T15:05:23.129Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: ha_tcp_connect_hook",
|
|
"fix": "Added guard clause: if (ha_tcp_connect_hook)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-28T15:05:23.129Z"
|
|
},
|
|
{
|
|
"id": "bug-097",
|
|
"timestamp": "2026-05-29T02:48:17.371Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/request.c",
|
|
"root_cause": "No early return/throw for edge case: (ep == NULL",
|
|
"fix": "Added guard clause: if ((ep == NULL)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T02:48:17.371Z"
|
|
},
|
|
{
|
|
"id": "bug-098",
|
|
"timestamp": "2026-05-29T02:50:46.444Z",
|
|
"error_message": "Wrong reference: XCE_ERR_STANDBY should be E_XCE_STANDBY",
|
|
"file": "src/lib/request.c",
|
|
"root_cause": "Used \"XCE_ERR_STANDBY\" instead of \"E_XCE_STANDBY\"",
|
|
"fix": "Changed XCE_ERR_STANDBY → E_XCE_STANDBY",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T02:50:46.444Z"
|
|
},
|
|
{
|
|
"id": "bug-099",
|
|
"timestamp": "2026-05-29T02:51:03.529Z",
|
|
"error_message": "Wrong reference: XCE_ERR_NOT_READY should be E_XCE_NOT_READY",
|
|
"file": "src/lib/testsuite/test_libxce_retry.c",
|
|
"root_cause": "Used \"XCE_ERR_NOT_READY\" instead of \"E_XCE_NOT_READY\"",
|
|
"fix": "Changed XCE_ERR_NOT_READY → E_XCE_NOT_READY",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-29T02:51:16.657Z"
|
|
},
|
|
{
|
|
"id": "bug-100",
|
|
"timestamp": "2026-05-29T03:27:20.556Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:27:20.556Z"
|
|
},
|
|
{
|
|
"id": "bug-101",
|
|
"timestamp": "2026-05-29T03:29:44.753Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/config_repl.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:29:44.753Z"
|
|
},
|
|
{
|
|
"id": "bug-102",
|
|
"timestamp": "2026-05-29T03:37:52.117Z",
|
|
"error_message": "Wrong reference: data should be ctrl_hello_reply_t",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "Used \"data\" instead of \"ctrl_hello_reply_t\"",
|
|
"fix": "Changed data → ctrl_hello_reply_t",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:37:52.117Z"
|
|
},
|
|
{
|
|
"id": "bug-103",
|
|
"timestamp": "2026-05-29T03:53:48.559Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:53:48.559Z"
|
|
},
|
|
{
|
|
"id": "bug-104",
|
|
"timestamp": "2026-05-29T03:54:23.205Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: wal_catchup_entry_t* walcatchupentrymsg;; snapshot_transfer_t* snapshottransfermsg; | Also: /* Forward declarations for types defined later in this file; typedef struct snapshot_transfer_t snapshot_transfer_fw",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-29T03:56:34.078Z"
|
|
},
|
|
{
|
|
"id": "bug-105",
|
|
"timestamp": "2026-05-29T03:57:22.758Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→5 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:57:22.758Z"
|
|
},
|
|
{
|
|
"id": "bug-106",
|
|
"timestamp": "2026-05-29T03:58:07.711Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→3 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T03:58:07.711Z"
|
|
},
|
|
{
|
|
"id": "bug-107",
|
|
"timestamp": "2026-05-29T04:04:12.693Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T04:04:12.693Z"
|
|
},
|
|
{
|
|
"id": "bug-108",
|
|
"timestamp": "2026-05-29T04:06:35.126Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 10→12 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T04:06:35.126Z"
|
|
},
|
|
{
|
|
"id": "bug-109",
|
|
"timestamp": "2026-05-29T06:59:14.045Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !ha",
|
|
"fix": "Added guard clause: if (!ha)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T06:59:14.045Z"
|
|
},
|
|
{
|
|
"id": "bug-110",
|
|
"timestamp": "2026-05-29T07:01:11.916Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 10→20 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T07:01:11.916Z"
|
|
},
|
|
{
|
|
"id": "bug-111",
|
|
"timestamp": "2026-05-29T07:02:31.287Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Condition was: if (c->myconf && c->myconf->cluster_config)",
|
|
"fix": "Changed to: if (c->myconf && c->myconf->peers_cfg.candidates_count)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T07:02:31.287Z"
|
|
},
|
|
{
|
|
"id": "bug-112",
|
|
"timestamp": "2026-05-29T10:40:53.626Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/manual-tests.md",
|
|
"root_cause": "9 lines replaced/restructured",
|
|
"fix": "Rewrote 18→20 lines (9 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T10:40:53.626Z"
|
|
},
|
|
{
|
|
"id": "bug-113",
|
|
"timestamp": "2026-05-29T10:59:37.144Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-config-bootstrap/manual-tests.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T10:59:37.144Z"
|
|
},
|
|
{
|
|
"id": "bug-114",
|
|
"timestamp": "2026-05-29T11:01:49.200Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/manual-tests.md",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 20→36 lines (10 removed) | Also: ### 11.1 Concurrent Startup (3 nodes); - Result: PASS / FAIL",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-29T11:02:31.657Z"
|
|
},
|
|
{
|
|
"id": "bug-115",
|
|
"timestamp": "2026-05-29T12:29:37.335Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 29→45 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T12:29:37.335Z"
|
|
},
|
|
{
|
|
"id": "bug-116",
|
|
"timestamp": "2026-05-29T12:43:56.243Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_bootstrap.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→8 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T12:43:56.243Z"
|
|
},
|
|
{
|
|
"id": "bug-117",
|
|
"timestamp": "2026-05-29T13:41:46.841Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "Had \"Pre-election config loaded: tag=%016\"",
|
|
"fix": "Changed to \"Pre-election config loaded: tag=%016llx\"",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T13:41:46.841Z"
|
|
},
|
|
{
|
|
"id": "bug-118",
|
|
"timestamp": "2026-05-29T13:51:42.299Z",
|
|
"error_message": "Wrong reference: nres should be vcpus",
|
|
"file": "src/include/clusterconfig.h",
|
|
"root_cause": "Used \"nres\" instead of \"vcpus\"",
|
|
"fix": "Changed nres → vcpus",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T13:51:42.299Z"
|
|
},
|
|
{
|
|
"id": "bug-119",
|
|
"timestamp": "2026-05-29T16:32:10.285Z",
|
|
"error_message": "Wrong reference: data should be request_vote_reply_t",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "Used \"data\" instead of \"request_vote_reply_t\"",
|
|
"fix": "Changed data → request_vote_reply_t",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T16:32:10.285Z"
|
|
},
|
|
{
|
|
"id": "bug-120",
|
|
"timestamp": "2026-05-29T16:35:39.908Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 19→25 lines (10 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T16:35:39.908Z"
|
|
},
|
|
{
|
|
"id": "bug-121",
|
|
"timestamp": "2026-05-29T16:36:41.731Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-29T16:36:41.731Z"
|
|
},
|
|
{
|
|
"id": "bug-122",
|
|
"timestamp": "2026-05-30T00:05:02.052Z",
|
|
"error_message": "Wrong reference: cluster_init_phase2 should be cluster_register_listener",
|
|
"file": "src/controller/include/cluster.h",
|
|
"root_cause": "Used \"cluster_init_phase2\" instead of \"cluster_register_listener\"",
|
|
"fix": "Changed cluster_init_phase2 → cluster_register_listener",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T00:05:02.052Z"
|
|
},
|
|
{
|
|
"id": "bug-123",
|
|
"timestamp": "2026-05-30T00:20:27.244Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "No early return/throw for edge case: c->ep.flags == 0",
|
|
"fix": "Added guard clause: if (c->ep.flags == 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T00:20:27.244Z"
|
|
},
|
|
{
|
|
"id": "bug-124",
|
|
"timestamp": "2026-05-30T00:24:49.302Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "30 lines replaced/restructured",
|
|
"fix": "Rewrote 79→61 lines (30 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T00:24:49.302Z"
|
|
},
|
|
{
|
|
"id": "bug-125",
|
|
"timestamp": "2026-05-30T01:12:05.791Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/xce/cluster_def.h",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 8→15 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:12:05.791Z"
|
|
},
|
|
{
|
|
"id": "bug-126",
|
|
"timestamp": "2026-05-30T01:12:16.318Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 7→16 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:12:16.318Z"
|
|
},
|
|
{
|
|
"id": "bug-127",
|
|
"timestamp": "2026-05-30T01:12:38.572Z",
|
|
"error_message": "Wrong reference: CTRL_PERF_NHASH should be c",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Used \"CTRL_PERF_NHASH\" instead of \"c\"",
|
|
"fix": "Changed CTRL_PERF_NHASH → c",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:12:38.572Z"
|
|
},
|
|
{
|
|
"id": "bug-128",
|
|
"timestamp": "2026-05-30T01:18:19.850Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "36 lines replaced/restructured",
|
|
"fix": "Rewrote 77→41 lines (36 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:18:19.850Z"
|
|
},
|
|
{
|
|
"id": "bug-129",
|
|
"timestamp": "2026-05-30T01:21:20.140Z",
|
|
"error_message": "Wrong reference: true should be false",
|
|
"file": ".claude/skills/xce-build/SKILL.md",
|
|
"root_cause": "Used \"true\" instead of \"false\"",
|
|
"fix": "Changed true → false",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:21:20.140Z"
|
|
},
|
|
{
|
|
"id": "bug-130",
|
|
"timestamp": "2026-05-30T01:28:22.079Z",
|
|
"error_message": "Wrong reference: 120 should be 300",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Used \"120\" instead of \"300\"",
|
|
"fix": "Changed 120 → 300",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T01:28:22.079Z"
|
|
},
|
|
{
|
|
"id": "bug-131",
|
|
"timestamp": "2026-05-30T02:37:40.267Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T02:37:40.267Z"
|
|
},
|
|
{
|
|
"id": "bug-132",
|
|
"timestamp": "2026-05-30T03:33:24.652Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 15→21 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T03:33:24.652Z"
|
|
},
|
|
{
|
|
"id": "bug-133",
|
|
"timestamp": "2026-05-30T03:55:45.693Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 9→13 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T03:55:45.693Z"
|
|
},
|
|
{
|
|
"id": "bug-134",
|
|
"timestamp": "2026-05-30T06:19:16.564Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 10→27 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T06:19:16.564Z"
|
|
},
|
|
{
|
|
"id": "bug-135",
|
|
"timestamp": "2026-05-30T06:19:47.181Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "Had `cluster_init_phase2`",
|
|
"fix": "Changed to `cluster_config == NULL`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T06:19:47.181Z"
|
|
},
|
|
{
|
|
"id": "bug-136",
|
|
"timestamp": "2026-05-30T06:38:09.325Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: /* After election determines role: */; int is_first_boot = !c->running; /* running=1 only after cl | Also: #### `ha_dispatch_gate` — CTRL_PRIMARY_COMMITTING case; ```c | Also: ### 3-node startup — ctrl-a wins (with COMMITTING phase); participant PeerC as ctrl-c endpoint | Also: - **`ha_start_election_async()` is fully non-blocking**: Arm; - *Initial startup* (`ha->phase2_done == 0`): calls `cluster",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 5,
|
|
"last_seen": "2026-05-30T06:43:07.267Z"
|
|
},
|
|
{
|
|
"id": "bug-137",
|
|
"timestamp": "2026-05-30T06:44:51.916Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 19→26 lines (4 removed) | Also: ├── ha.h # Add to ha_state_t: clie; │ # ha_repl_ack_re | Also: └── myapp.c # Restructured: phase1 + ; # for(;;) retry loop, cluster_init_phase2,",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-30T06:45:22.626Z"
|
|
},
|
|
{
|
|
"id": "bug-138",
|
|
"timestamp": "2026-05-30T06:56:32.965Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "12 lines replaced/restructured",
|
|
"fix": "Rewrote 15→20 lines (12 removed) | Also: - `src/controller/ha.h` — Add `client_ssl_ctx`, `r; - `src/controller/ha.c` — Main changes above; `ha_ | Also: ├── delay.c # Add delay_task_ms() (ms; │ # Add delay_task_cancel()",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-30T06:57:53.882Z"
|
|
},
|
|
{
|
|
"id": "bug-139",
|
|
"timestamp": "2026-05-30T06:58:05.115Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/election-iomgr-refactor/design.md",
|
|
"root_cause": "Had `delay_task_cancel()`",
|
|
"fix": "Changed to `clock_gettime(CLOCK_MONOTONIC)`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T06:58:05.115Z"
|
|
},
|
|
{
|
|
"id": "bug-140",
|
|
"timestamp": "2026-05-30T07:06:20.968Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/delay.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 53→85 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T07:06:20.968Z"
|
|
},
|
|
{
|
|
"id": "bug-141",
|
|
"timestamp": "2026-05-30T07:36:03.937Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 7→8 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T07:36:03.937Z"
|
|
},
|
|
{
|
|
"id": "bug-142",
|
|
"timestamp": "2026-05-30T07:57:14.052Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: xce_vote_request_hook != NULL",
|
|
"fix": "Added guard clause: if (xce_vote_request_hook != NULL)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T07:57:14.052Z"
|
|
},
|
|
{
|
|
"id": "bug-143",
|
|
"timestamp": "2026-05-30T08:16:03.222Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !pkt || !pkt->data || pkt->sz == 0",
|
|
"fix": "Added guard clause: if (!pkt || !pkt->data || pkt->sz == 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T08:16:03.222Z"
|
|
},
|
|
{
|
|
"id": "bug-144",
|
|
"timestamp": "2026-05-30T08:49:04.058Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T08:49:04.058Z"
|
|
},
|
|
{
|
|
"id": "bug-145",
|
|
"timestamp": "2026-05-30T08:49:59.817Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: atomic_load(&t->cancelled",
|
|
"fix": "Added guard clause: if (atomic_load(&t->cancelled)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T08:49:59.817Z"
|
|
},
|
|
{
|
|
"id": "bug-146",
|
|
"timestamp": "2026-05-30T09:12:38.055Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 14→17 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T09:12:38.055Z"
|
|
},
|
|
{
|
|
"id": "bug-147",
|
|
"timestamp": "2026-05-30T09:13:19.377Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T09:13:19.377Z"
|
|
},
|
|
{
|
|
"id": "bug-148",
|
|
"timestamp": "2026-05-30T09:13:54.779Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_start_election_async.c",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 24→42 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T09:13:54.779Z"
|
|
},
|
|
{
|
|
"id": "bug-149",
|
|
"timestamp": "2026-05-30T10:31:53.836Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_vote_gate.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T10:31:53.836Z"
|
|
},
|
|
{
|
|
"id": "bug-150",
|
|
"timestamp": "2026-05-30T11:08:59.808Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T11:08:59.808Z"
|
|
},
|
|
{
|
|
"id": "bug-151",
|
|
"timestamp": "2026-05-30T11:09:47.905Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T11:09:47.905Z"
|
|
},
|
|
{
|
|
"id": "bug-152",
|
|
"timestamp": "2026-05-30T11:10:30.958Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 62→164 lines (8 removed) | Also: /* Store candidate own tag/lsn in votes[0] for eva; * n_peers==1 → n_other==0, so votes[] has 0 entrie | Also: * election_timeout_ctx_t: argument for the delay_t; * ha_elect_evaluate_and_signal when the election d",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-30T11:13:27.304Z"
|
|
},
|
|
{
|
|
"id": "bug-153",
|
|
"timestamp": "2026-05-30T11:43:01.989Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_repl_push.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T11:43:01.989Z"
|
|
},
|
|
{
|
|
"id": "bug-154",
|
|
"timestamp": "2026-05-30T11:43:44.829Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: /* Push config to standbys with lower config_tag (Req 7.1) *; #ifdef XCE_TESTING",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-30T11:43:58.208Z"
|
|
},
|
|
{
|
|
"id": "bug-155",
|
|
"timestamp": "2026-05-30T11:44:15.059Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T11:44:15.059Z"
|
|
},
|
|
{
|
|
"id": "bug-156",
|
|
"timestamp": "2026-05-30T11:45:24.946Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T11:45:24.946Z"
|
|
},
|
|
{
|
|
"id": "bug-157",
|
|
"timestamp": "2026-05-30T12:02:39.009Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/testsuite/test_ha_startup.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-30T12:03:10.183Z"
|
|
},
|
|
{
|
|
"id": "bug-158",
|
|
"timestamp": "2026-05-30T12:09:20.842Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 22→32 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:09:20.842Z"
|
|
},
|
|
{
|
|
"id": "bug-159",
|
|
"timestamp": "2026-05-30T12:22:57.013Z",
|
|
"error_message": "Wrong return value",
|
|
"file": "src/controller/testsuite/test_ha_startup.c",
|
|
"root_cause": "Was returning: in < 10ms.",
|
|
"fix": "Now returns: in < 5ms (design spec).",
|
|
"tags": [
|
|
"auto-detected",
|
|
"return-value",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:22:57.013Z"
|
|
},
|
|
{
|
|
"id": "bug-160",
|
|
"timestamp": "2026-05-30T12:23:18.560Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/testsuite/test_ha_startup.c",
|
|
"root_cause": "Had \"myapp_run path: ha_start_election_async must retu",
|
|
"fix": "Changed to \"myapp_run path: ha_start_election_async must retu",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:23:18.560Z"
|
|
},
|
|
{
|
|
"id": "bug-161",
|
|
"timestamp": "2026-05-30T12:29:45.867Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:29:45.867Z"
|
|
},
|
|
{
|
|
"id": "bug-162",
|
|
"timestamp": "2026-05-30T12:30:10.570Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-30T12:30:26.987Z"
|
|
},
|
|
{
|
|
"id": "bug-163",
|
|
"timestamp": "2026-05-30T12:31:02.203Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/testsuite/test_ha_failover.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:31:02.203Z"
|
|
},
|
|
{
|
|
"id": "bug-164",
|
|
"timestamp": "2026-05-30T12:45:22.182Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:45:22.182Z"
|
|
},
|
|
{
|
|
"id": "bug-165",
|
|
"timestamp": "2026-05-30T12:46:02.210Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 15→5 lines (10 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:46:02.210Z"
|
|
},
|
|
{
|
|
"id": "bug-166",
|
|
"timestamp": "2026-05-30T12:50:35.870Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/testsuite/test_ha_bootstrap_support.c",
|
|
"root_cause": "No early return/throw for edge case: c->myconf->config_version_tag != 0",
|
|
"fix": "Added guard clause: if (c->myconf->config_version_tag != 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T12:50:35.870Z"
|
|
},
|
|
{
|
|
"id": "bug-167",
|
|
"timestamp": "2026-05-30T13:06:57.152Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: cancelled_val",
|
|
"fix": "Added guard clause: if (cancelled_val)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T13:06:57.152Z"
|
|
},
|
|
{
|
|
"id": "bug-168",
|
|
"timestamp": "2026-05-30T13:24:06.024Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_repl_ack.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T13:24:06.024Z"
|
|
},
|
|
{
|
|
"id": "bug-169",
|
|
"timestamp": "2026-05-30T13:42:28.077Z",
|
|
"error_message": "Wrong reference: third should be second",
|
|
"file": "src/controller/testsuite/test_ha_repl_ack.c",
|
|
"root_cause": "Used \"third\" instead of \"second\"",
|
|
"fix": "Changed third → second",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T13:42:28.077Z"
|
|
},
|
|
{
|
|
"id": "bug-170",
|
|
"timestamp": "2026-05-30T14:35:07.679Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T14:35:07.679Z"
|
|
},
|
|
{
|
|
"id": "bug-171",
|
|
"timestamp": "2026-05-30T15:26:07.538Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 10→15 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T15:26:07.538Z"
|
|
},
|
|
{
|
|
"id": "bug-172",
|
|
"timestamp": "2026-05-30T23:42:12.644Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T23:42:12.644Z"
|
|
},
|
|
{
|
|
"id": "bug-173",
|
|
"timestamp": "2026-05-30T23:42:34.993Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "15 lines replaced/restructured",
|
|
"fix": "Rewrote 23→10 lines (15 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T23:42:34.993Z"
|
|
},
|
|
{
|
|
"id": "bug-174",
|
|
"timestamp": "2026-05-30T23:52:01.776Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→9 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-30T23:52:01.776Z"
|
|
},
|
|
{
|
|
"id": "bug-175",
|
|
"timestamp": "2026-05-31T00:11:29.118Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 14→16 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T00:11:29.118Z"
|
|
},
|
|
{
|
|
"id": "bug-176",
|
|
"timestamp": "2026-05-31T02:09:39.630Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Condition was: if (c->myconf && c->myconf->peers_cfg.candidates_count)",
|
|
"fix": "Changed to: if (ha->my_priority > 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T02:09:39.630Z"
|
|
},
|
|
{
|
|
"id": "bug-177",
|
|
"timestamp": "2026-05-31T02:54:09.113Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "12 lines replaced/restructured",
|
|
"fix": "Rewrote 15→20 lines (12 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T02:54:09.113Z"
|
|
},
|
|
{
|
|
"id": "bug-178",
|
|
"timestamp": "2026-05-31T02:54:42.189Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→8 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T02:54:42.189Z"
|
|
},
|
|
{
|
|
"id": "bug-179",
|
|
"timestamp": "2026-05-31T02:55:12.814Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/xce.build/lib/controller.capnp.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 11→19 lines (4 removed) | Also: encode_Data_ptr(cs, &(d->sha256), s->sha256);; encode_Data_ptr(cs, &(d->bytes), s->bytes);",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-31T03:00:08.081Z"
|
|
},
|
|
{
|
|
"id": "bug-180",
|
|
"timestamp": "2026-05-31T02:57:22.273Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "28 lines replaced/restructured",
|
|
"fix": "Rewrote 31→4 lines (28 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T02:57:22.273Z"
|
|
},
|
|
{
|
|
"id": "bug-181",
|
|
"timestamp": "2026-05-31T03:01:08.147Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 8→18 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T03:01:08.147Z"
|
|
},
|
|
{
|
|
"id": "bug-182",
|
|
"timestamp": "2026-05-31T03:02:13.050Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/request.h",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 10→19 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T03:02:13.050Z"
|
|
},
|
|
{
|
|
"id": "bug-183",
|
|
"timestamp": "2026-05-31T03:02:33.311Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/request.c",
|
|
"root_cause": "No early return/throw for edge case: req == NULL",
|
|
"fix": "Added guard clause: if (req == NULL)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T03:02:33.311Z"
|
|
},
|
|
{
|
|
"id": "bug-184",
|
|
"timestamp": "2026-05-31T03:14:15.595Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→10 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T03:14:15.595Z"
|
|
},
|
|
{
|
|
"id": "bug-185",
|
|
"timestamp": "2026-05-31T03:27:59.922Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 9→11 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T03:27:59.922Z"
|
|
},
|
|
{
|
|
"id": "bug-186",
|
|
"timestamp": "2026-05-31T04:11:45.534Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": ".kiro/specs/raft-library/design.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: Caller->>RaftSM: raft_on_vote_request(state, from, term); alt term < current_term",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-31T04:13:04.500Z"
|
|
},
|
|
{
|
|
"id": "bug-187",
|
|
"timestamp": "2026-05-31T04:13:43.960Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/raft-library/design.md",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 8→26 lines (5 removed) | Also: * raft_init: initialize state for a node.; * All required callbacks (except on_trace and on_v | Also: - C standard library only (`stdint.h`, `pthread.h`; - `raft.c` may include `<stdatomic.h>` for lock-fr | Also: | Threading | `pthread_mutex_t` (caller-owned) | P; | Atomics | None in library | Caller uses atomics ",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 4,
|
|
"last_seen": "2026-05-31T04:19:37.296Z"
|
|
},
|
|
{
|
|
"id": "bug-188",
|
|
"timestamp": "2026-05-31T04:19:54.524Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/raft-library/design.md",
|
|
"root_cause": "Had `raft.c`",
|
|
"fix": "Changed to `raft.h`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T04:19:54.524Z"
|
|
},
|
|
{
|
|
"id": "bug-189",
|
|
"timestamp": "2026-05-31T04:58:21.609Z",
|
|
"error_message": "Missing error handling in RAFT_H",
|
|
"file": "src/lib/raft/raft.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T04:58:21.609Z"
|
|
},
|
|
{
|
|
"id": "bug-190",
|
|
"timestamp": "2026-05-31T05:07:37.759Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/raft/raft.c",
|
|
"root_cause": "No early return/throw for edge case: cfg->n_peers < 1",
|
|
"fix": "Added guard clause: if (cfg->n_peers < 1)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:07:37.759Z"
|
|
},
|
|
{
|
|
"id": "bug-191",
|
|
"timestamp": "2026-05-31T05:23:19.394Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/raft/raft.c",
|
|
"root_cause": "No early return/throw for edge case: s->role == RAFT_CANDIDATE || s->role == RAFT_LEADER",
|
|
"fix": "Added guard clause: if (s->role == RAFT_CANDIDATE || s->role == )",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:23:19.394Z"
|
|
},
|
|
{
|
|
"id": "bug-192",
|
|
"timestamp": "2026-05-31T05:32:36.388Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/testsuite/test_raft.c",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 77→107 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:32:36.388Z"
|
|
},
|
|
{
|
|
"id": "bug-193",
|
|
"timestamp": "2026-05-31T05:35:03.808Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/raft/raft.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 9→62 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:35:03.808Z"
|
|
},
|
|
{
|
|
"id": "bug-194",
|
|
"timestamp": "2026-05-31T05:47:51.091Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/raft/raft.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 8→57 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:47:51.091Z"
|
|
},
|
|
{
|
|
"id": "bug-195",
|
|
"timestamp": "2026-05-31T05:58:45.896Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/raft/raft.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 15→38 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T05:58:45.896Z"
|
|
},
|
|
{
|
|
"id": "bug-196",
|
|
"timestamp": "2026-05-31T06:10:56.560Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/raft/raft_sim.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 6→3 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T06:10:56.560Z"
|
|
},
|
|
{
|
|
"id": "bug-197",
|
|
"timestamp": "2026-05-31T07:08:23.387Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T07:08:23.387Z"
|
|
},
|
|
{
|
|
"id": "bug-198",
|
|
"timestamp": "2026-05-31T07:10:04.095Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "32 lines replaced/restructured",
|
|
"fix": "Rewrote 49→16 lines (32 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T07:10:04.095Z"
|
|
},
|
|
{
|
|
"id": "bug-199",
|
|
"timestamp": "2026-05-31T07:26:39.758Z",
|
|
"error_message": "Missing error handling in before",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T07:26:39.758Z"
|
|
},
|
|
{
|
|
"id": "bug-200",
|
|
"timestamp": "2026-05-31T07:28:29.756Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 6→19 lines (3 removed) | Also: typedef struct {; ha_state_t *ha; | Also: /* ── Type definitions needed by ha_elect_evaluate; *",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-31T07:30:49.949Z"
|
|
},
|
|
{
|
|
"id": "bug-201",
|
|
"timestamp": "2026-05-31T07:57:18.504Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "167 lines replaced/restructured",
|
|
"fix": "Rewrote 291→137 lines (167 removed) | Also: /* Clear voted_for: the old primary is dead; any v; * is stale and must not block the new election. */",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-31T07:58:02.135Z"
|
|
},
|
|
{
|
|
"id": "bug-202",
|
|
"timestamp": "2026-05-31T07:58:38.513Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "12 lines replaced/restructured",
|
|
"fix": "Rewrote 28→68 lines (12 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T07:58:38.513Z"
|
|
},
|
|
{
|
|
"id": "bug-203",
|
|
"timestamp": "2026-05-31T08:16:20.727Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 16→21 lines (2 removed) | Also: /* Task 6.3: delegate vote reply accumulation to r; * raft_on_vote_reply owns quorum tracking and fire",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-31T08:16:28.806Z"
|
|
},
|
|
{
|
|
"id": "bug-204",
|
|
"timestamp": "2026-05-31T08:30:55.738Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "7 lines replaced/restructured",
|
|
"fix": "Rewrote 10→4 lines (7 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T08:30:55.738Z"
|
|
},
|
|
{
|
|
"id": "bug-205",
|
|
"timestamp": "2026-05-31T08:38:33.200Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 5→14 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T08:38:33.200Z"
|
|
},
|
|
{
|
|
"id": "bug-206",
|
|
"timestamp": "2026-05-31T08:40:00.000Z",
|
|
"error_message": "test_vote_reply_handler_term_fencing FAIL: Expected 10 Was 3 — ha->term must be atomically updated to peer term when peer term > ours",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "vote_reply_msg_handler delegated term fencing entirely to raft_cb_become_follower (via raft_on_vote_reply). In XCE_TESTING builds, vote_reply_dispatch calls xce_vote_reply_hook and returns early, bypassing raft_on_vote_reply and thus never updating ha->term.",
|
|
"fix": "Added explicit CAS loop in vote_reply_msg_handler before vote_reply_dispatch to advance ha->term when vr_term > ha->term. This applies on both the production path and the XCE_TESTING hook path.",
|
|
"tags": [
|
|
"term-fencing",
|
|
"raft",
|
|
"ha",
|
|
"xce-testing",
|
|
"test-seam",
|
|
"vote-reply"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T08:40:00.000Z"
|
|
},
|
|
{
|
|
"id": "bug-207",
|
|
"timestamp": "2026-05-31T08:47:08.484Z",
|
|
"error_message": "Wrong reference: test_raft_init_zero_peers_returns_einval should be test_raft_init_even_peers_returns_einval",
|
|
"file": "src/lib/testsuite/test_raft.c",
|
|
"root_cause": "Used \"test_raft_init_zero_peers_returns_einval\" instead of \"test_raft_init_even_peers_returns_einval\"",
|
|
"fix": "Changed test_raft_init_zero_peers_returns_einval → test_raft_init_even_peers_returns_einval",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T08:47:08.484Z"
|
|
},
|
|
{
|
|
"id": "bug-208",
|
|
"timestamp": "2026-05-31",
|
|
"error_message": "ASAN LeakSanitizer: detected memory leaks in scheduler testsuite — build exits with error code",
|
|
"file": "src/scheduler/testsuite/test.c",
|
|
"root_cause": "sched_meet_host_selection() lazily allocates w->host_eval_ctx via build_host_eval_ctx(). Four test functions (test_meet_host_selection_always_true_passes, test_meet_host_selection_always_false_fails, test_meet_host_selection_numeric_match, test_meet_host_selection_string_match) called zarray_fini() without first calling sched_worker_release_host_ctx() to free the lazily-allocated host_eval_ctx.",
|
|
"fix": "Added sched_worker_release_host_ctx(&w) calls before zarray_fini() in all four affected test functions.",
|
|
"tags": [
|
|
"asan",
|
|
"leak",
|
|
"scheduler",
|
|
"test",
|
|
"host_eval_ctx"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31"
|
|
},
|
|
{
|
|
"id": "bug-209",
|
|
"timestamp": "2026-05-31T10:19:47.014Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Condition was: if (ha_rdhup_election_hook != NULL)",
|
|
"fix": "Changed to: if (c->myconf && c->myconf->peers_cfg.candidates_count)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T10:19:47.014Z"
|
|
},
|
|
{
|
|
"id": "bug-210",
|
|
"timestamp": "2026-05-31T10:21:40.444Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "24 lines replaced/restructured",
|
|
"fix": "Rewrote 28→3 lines (24 removed) | Also: if (my_config_tag == 0) {; INFO(\"ha_start_election_async: no local config (ta",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-05-31T10:23:32.151Z"
|
|
},
|
|
{
|
|
"id": "bug-211",
|
|
"timestamp": "2026-05-31T11:29:03.301Z",
|
|
"error_message": "Wrong reference: 2000 should be 5000",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Used \"2000\" instead of \"5000\"",
|
|
"fix": "Changed 2000 → 5000",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T11:29:03.301Z"
|
|
},
|
|
{
|
|
"id": "bug-212",
|
|
"timestamp": "2026-05-31T11:33:55.599Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 15→25 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T11:33:55.599Z"
|
|
},
|
|
{
|
|
"id": "bug-213",
|
|
"timestamp": "2026-05-31T12:32:33.273Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 10→14 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T12:32:33.273Z"
|
|
},
|
|
{
|
|
"id": "bug-214",
|
|
"timestamp": "2026-05-31T12:42:09.400Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 7→17 lines (4 removed) | Also: /* Trigger async config fetch from primary so stan; #ifndef XCE_TESTING | Also: handle_request_vote_reply(vctx->ha, vctx->ctx, vct; /* Fix 5 (HIGH): do NOT free vctx here.",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-05-31T12:45:37.690Z"
|
|
},
|
|
{
|
|
"id": "bug-215",
|
|
"timestamp": "2026-05-31T12:43:45.333Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !pkt || !pkt->data || pkt->sz == 0",
|
|
"fix": "Added guard clause: if (!pkt || !pkt->data || pkt->sz == 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T12:43:45.333Z"
|
|
},
|
|
{
|
|
"id": "bug-216",
|
|
"timestamp": "2026-05-31T12:49:40.554Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-peer-connection-reuse/tasks.md",
|
|
"root_cause": "Had 's vote endpoints to standby control channels\n\n- [",
|
|
"fix": "Changed to 's vote endpoints to standby control channels\n\n- [",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T12:49:40.554Z"
|
|
},
|
|
{
|
|
"id": "bug-217",
|
|
"timestamp": "2026-05-31T12:54:26.372Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T12:54:26.372Z"
|
|
},
|
|
{
|
|
"id": "bug-218",
|
|
"timestamp": "2026-05-31T12:58:44.435Z",
|
|
"error_message": "Wrong reference: Request_body_nodata should be Request_body_nomsg",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Used \"Request_body_nodata\" instead of \"Request_body_nomsg\"",
|
|
"fix": "Changed Request_body_nodata → Request_body_nomsg",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T12:58:44.435Z"
|
|
},
|
|
{
|
|
"id": "bug-219",
|
|
"timestamp": "2026-05-31T14:19:13.820Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 10→18 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T14:19:13.820Z"
|
|
},
|
|
{
|
|
"id": "bug-220",
|
|
"timestamp": "2026-05-31T14:20:41.161Z",
|
|
"error_message": "Wrong reference: vote_reply_msg_handler should be vote_reply_msg_handler_for_test",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Used \"vote_reply_msg_handler\" instead of \"vote_reply_msg_handler_for_test\"",
|
|
"fix": "Changed vote_reply_msg_handler → vote_reply_msg_handler_for_test",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-05-31T14:20:41.161Z"
|
|
},
|
|
{
|
|
"id": "bug-221",
|
|
"timestamp": "2026-06-01T01:38:35.036Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 13→36 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T01:38:35.036Z"
|
|
},
|
|
{
|
|
"id": "bug-222",
|
|
"timestamp": "2026-06-01T01:47:28.189Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "20 lines replaced/restructured",
|
|
"fix": "Rewrote 36→13 lines (20 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T01:47:28.189Z"
|
|
},
|
|
{
|
|
"id": "bug-223",
|
|
"timestamp": "2026-06-01T01:49:30.537Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T01:49:30.537Z"
|
|
},
|
|
{
|
|
"id": "bug-224",
|
|
"timestamp": "2026-06-01T02:07:55.176Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !c->delaymgr.running",
|
|
"fix": "Added guard clause: if (!c->delaymgr.running)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:07:55.176Z"
|
|
},
|
|
{
|
|
"id": "bug-225",
|
|
"timestamp": "2026-06-01T02:26:54.291Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "42 lines replaced/restructured",
|
|
"fix": "Rewrote 64→19 lines (42 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:26:54.291Z"
|
|
},
|
|
{
|
|
"id": "bug-226",
|
|
"timestamp": "2026-06-01T02:27:55.942Z",
|
|
"error_message": "Missing error handling in struct",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:27:55.942Z"
|
|
},
|
|
{
|
|
"id": "bug-227",
|
|
"timestamp": "2026-06-01T02:29:00.462Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 10→14 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:29:00.462Z"
|
|
},
|
|
{
|
|
"id": "bug-228",
|
|
"timestamp": "2026-06-01T02:37:56.961Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/CLAUDE.md",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 5→15 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:37:56.961Z"
|
|
},
|
|
{
|
|
"id": "bug-229",
|
|
"timestamp": "2026-06-01T02:49:09.141Z",
|
|
"error_message": "Wrong operator: && should be !=",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Used \"&&\" instead of \"!=\"",
|
|
"fix": "Changed operator && → !=",
|
|
"tags": [
|
|
"auto-detected",
|
|
"operator-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:49:09.141Z"
|
|
},
|
|
{
|
|
"id": "bug-230",
|
|
"timestamp": "2026-06-01T02:56:53.219Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 16→7 lines (10 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T02:56:53.219Z"
|
|
},
|
|
{
|
|
"id": "bug-231",
|
|
"timestamp": "2026-06-01T03:07:11.679Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "140 lines replaced/restructured",
|
|
"fix": "Rewrote 173→11 lines (140 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:07:11.679Z"
|
|
},
|
|
{
|
|
"id": "bug-232",
|
|
"timestamp": "2026-06-01T03:07:49.710Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "16 lines replaced/restructured",
|
|
"fix": "Rewrote 25→12 lines (16 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:07:49.710Z"
|
|
},
|
|
{
|
|
"id": "bug-233",
|
|
"timestamp": "2026-06-01T03:07:51.264Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'testsuite/test_ha_connect.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_ctrlhello.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:07:51.264Z"
|
|
},
|
|
{
|
|
"id": "bug-234",
|
|
"timestamp": "2026-06-01T03:12:12.378Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 31→37 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:12:12.378Z"
|
|
},
|
|
{
|
|
"id": "bug-235",
|
|
"timestamp": "2026-06-01T03:13:14.521Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'testsuite/test_ha_connection_reuse.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_connect.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:13:14.521Z"
|
|
},
|
|
{
|
|
"id": "bug-236",
|
|
"timestamp": "2026-06-01T03:15:29.129Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: rc < 0",
|
|
"fix": "Added guard clause: if (rc < 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:15:29.129Z"
|
|
},
|
|
{
|
|
"id": "bug-237",
|
|
"timestamp": "2026-06-01T03:23:30.915Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "21 lines replaced/restructured",
|
|
"fix": "Rewrote 28→5 lines (21 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:23:30.915Z"
|
|
},
|
|
{
|
|
"id": "bug-238",
|
|
"timestamp": "2026-06-01T03:23:32.483Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'testsuite/test_ha_connect.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_connection_reuse.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-01T03:24:43.046Z"
|
|
},
|
|
{
|
|
"id": "bug-239",
|
|
"timestamp": "2026-06-01T03:28:46.956Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: ha_tcp_connect_hook != NULL",
|
|
"fix": "Added guard clause: if (ha_tcp_connect_hook != NULL)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T03:28:46.956Z"
|
|
},
|
|
{
|
|
"id": "bug-240",
|
|
"timestamp": "2026-06-01T04:08:07.950Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'testsuite/test_ha_connect.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_connection_reuse.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-06-01T04:12:55.229Z"
|
|
},
|
|
{
|
|
"id": "bug-241",
|
|
"timestamp": "2026-06-01T04:13:03.001Z",
|
|
"error_message": "Wrong reference: test_ha_connect should be test_ha_ctrlhello",
|
|
"file": "src/controller/testsuite/controller_test.c",
|
|
"root_cause": "Used \"test_ha_connect\" instead of \"test_ha_ctrlhello\"",
|
|
"fix": "Changed test_ha_connect → test_ha_ctrlhello",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-01T04:13:08.650Z"
|
|
},
|
|
{
|
|
"id": "bug-242",
|
|
"timestamp": "2026-06-01T05:19:12.427Z",
|
|
"error_message": "Wrong reference: vcpu should be vcpus",
|
|
"file": "src/tools/deploy-ha.sh",
|
|
"root_cause": "Used \"vcpu\" instead of \"vcpus\"",
|
|
"fix": "Changed vcpu → vcpus",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"sh"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T05:19:12.427Z"
|
|
},
|
|
{
|
|
"id": "bug-243",
|
|
"timestamp": "2026-06-01T05:30:33.624Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "10 lines replaced/restructured",
|
|
"fix": "Rewrote 10→6 lines (10 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T05:30:33.624Z"
|
|
},
|
|
{
|
|
"id": "bug-244",
|
|
"timestamp": "2026-06-01T05:36:27.988Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 7→22 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T05:36:27.988Z"
|
|
},
|
|
{
|
|
"id": "bug-245",
|
|
"timestamp": "2026-06-01T05:48:05.878Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 5→10 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T05:48:05.878Z"
|
|
},
|
|
{
|
|
"id": "bug-246",
|
|
"timestamp": "2026-06-01T05:48:40.684Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/lib/request.c",
|
|
"root_cause": "32 lines replaced/restructured",
|
|
"fix": "Rewrote 49→60 lines (32 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T05:48:40.684Z"
|
|
},
|
|
{
|
|
"id": "bug-247",
|
|
"timestamp": "2026-06-01T06:02:47.254Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".claude/skills/xce-deploy-ha/SKILL.md",
|
|
"root_cause": "7 lines replaced/restructured",
|
|
"fix": "Rewrote 17→32 lines (7 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T06:02:47.254Z"
|
|
},
|
|
{
|
|
"id": "bug-248",
|
|
"timestamp": "2026-06-01T06:03:18.973Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/CLAUDE.md",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 6→9 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T06:03:18.973Z"
|
|
},
|
|
{
|
|
"id": "bug-249",
|
|
"timestamp": "2026-06-01T07:28:15.703Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/testsuite/test_ha_connection_reuse.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T07:28:15.703Z"
|
|
},
|
|
{
|
|
"id": "bug-250",
|
|
"timestamp": "2026-06-01T07:46:05.128Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !ep || !ep->data",
|
|
"fix": "Added guard clause: if (!ep || !ep->data)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T07:46:05.128Z"
|
|
},
|
|
{
|
|
"id": "bug-251",
|
|
"timestamp": "2026-06-01T07:46:59.891Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_connection_reuse.c",
|
|
"root_cause": "19 lines replaced/restructured",
|
|
"fix": "Rewrote 67→86 lines (19 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T07:46:59.891Z"
|
|
},
|
|
{
|
|
"id": "bug-252",
|
|
"timestamp": "2026-06-01T08:35:29.969Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/meson.build",
|
|
"root_cause": "Had 'startup_validation.c'",
|
|
"fix": "Changed to 'testsuite/test_ha_rdhup_integration.c'",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"build"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T08:35:29.969Z"
|
|
},
|
|
{
|
|
"id": "bug-253",
|
|
"timestamp": "2026-06-01T10:42:39.262Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-heartbeat-liveness/requirements.md",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 10→17 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T10:42:39.262Z"
|
|
},
|
|
{
|
|
"id": "bug-254",
|
|
"timestamp": "2026-06-01T10:54:01.806Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 6→10 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T10:54:01.806Z"
|
|
},
|
|
{
|
|
"id": "bug-255",
|
|
"timestamp": "2026-06-01T12:02:55.635Z",
|
|
"error_message": "Wrong condition in logic",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Condition was: if (rc != 0)",
|
|
"fix": "Changed to: if (validate_heartbeat_config(ha_cfg.heartbeat_timeout)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"logic-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T12:02:55.635Z"
|
|
},
|
|
{
|
|
"id": "bug-256",
|
|
"timestamp": "2026-06-01T12:36:28.381Z",
|
|
"error_message": "Wrong reference: startup_validation should be testsuite_test_ha_liveness",
|
|
"file": "src/xce.build/build.ninja",
|
|
"root_cause": "Used \"startup_validation\" instead of \"testsuite_test_ha_liveness\"",
|
|
"fix": "Changed startup_validation → testsuite_test_ha_liveness",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"ninja"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T12:36:28.381Z"
|
|
},
|
|
{
|
|
"id": "bug-257",
|
|
"timestamp": "2026-06-01T12:39:55.091Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "76 lines replaced/restructured",
|
|
"fix": "Rewrote 112→155 lines (76 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T12:39:55.091Z"
|
|
},
|
|
{
|
|
"id": "bug-258",
|
|
"timestamp": "2026-06-01T12:42:30.248Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_liveness.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 21→24 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T12:42:30.248Z"
|
|
},
|
|
{
|
|
"id": "bug-259",
|
|
"timestamp": "2026-06-01T12:43:29.946Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_failover.c",
|
|
"root_cause": "7 lines replaced/restructured",
|
|
"fix": "Rewrote 29→47 lines (7 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T12:43:29.946Z"
|
|
},
|
|
{
|
|
"id": "bug-260",
|
|
"timestamp": "2026-06-01T14:42:41.325Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: interval_s <= 0",
|
|
"fix": "Added guard clause: if (interval_s <= 0)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-06-01T14:44:38.543Z"
|
|
},
|
|
{
|
|
"id": "bug-261",
|
|
"timestamp": "2026-06-01T14:44:18.059Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "22 lines replaced/restructured",
|
|
"fix": "Rewrote 53→21 lines (22 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T14:44:18.059Z"
|
|
},
|
|
{
|
|
"id": "bug-262",
|
|
"timestamp": "2026-06-01T15:13:36.229Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 8→10 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T15:13:36.229Z"
|
|
},
|
|
{
|
|
"id": "bug-263",
|
|
"timestamp": "2026-06-01T15:32:59.304Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/testsuite/test_ha_liveness.c",
|
|
"root_cause": "No early return/throw for edge case: !f",
|
|
"fix": "Added guard clause: if (!f)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-01T15:32:59.304Z"
|
|
},
|
|
{
|
|
"id": "bug-264",
|
|
"timestamp": "2026-06-03T05:20:44.299Z",
|
|
"error_message": "Missing error handling in lives",
|
|
"file": ".kiro/specs/ha-config-bootstrap/research.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T05:20:44.299Z"
|
|
},
|
|
{
|
|
"id": "bug-265",
|
|
"timestamp": "2026-06-03T08:47:25.835Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T08:47:25.835Z"
|
|
},
|
|
{
|
|
"id": "bug-266",
|
|
"timestamp": "2026-06-03T08:47:54.376Z",
|
|
"error_message": "Function not marked async",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T08:47:54.376Z"
|
|
},
|
|
{
|
|
"id": "bug-267",
|
|
"timestamp": "2026-06-03T08:48:09.401Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "11 lines replaced/restructured",
|
|
"fix": "Rewrote 14→3 lines (11 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T08:48:09.401Z"
|
|
},
|
|
{
|
|
"id": "bug-268",
|
|
"timestamp": "2026-06-03T08:48:54.248Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_role.c",
|
|
"root_cause": "79 lines replaced/restructured",
|
|
"fix": "Rewrote 87→3 lines (79 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T08:48:54.248Z"
|
|
},
|
|
{
|
|
"id": "bug-269",
|
|
"timestamp": "2026-06-03T08:50:58.837Z",
|
|
"error_message": "Wrong reference: test_am_i_primary should be test_ha_cluster",
|
|
"file": "src/controller/testsuite/controller_test.c",
|
|
"root_cause": "Used \"test_am_i_primary\" instead of \"test_ha_cluster\"",
|
|
"fix": "Changed test_am_i_primary → test_ha_cluster",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-03T08:51:07.382Z"
|
|
},
|
|
{
|
|
"id": "bug-270",
|
|
"timestamp": "2026-06-03T09:07:49.592Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 10→3 lines (8 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T09:07:49.592Z"
|
|
},
|
|
{
|
|
"id": "bug-271",
|
|
"timestamp": "2026-06-03T09:17:11.528Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "21 lines replaced/restructured",
|
|
"fix": "Rewrote 26→4 lines (21 removed) | Also: /* ha_check_heartbeat_nocluster() removed from the; * ha_watchdog_thread(). XCE_TESTING shim preserve",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-03T09:18:16.045Z"
|
|
},
|
|
{
|
|
"id": "bug-272",
|
|
"timestamp": "2026-06-03T09:22:40.327Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_ha_role.c",
|
|
"root_cause": "63 lines replaced/restructured",
|
|
"fix": "Rewrote 68→4 lines (63 removed) | Also: /* SIGUSR1 must set failover_requested via async-s; static void test_sigusr1_sets_failover_requested(v | Also: RUN_TEST(test_watchdog_starts_and_stops);; RUN_TEST(test_heartbeat_no_action_when_no_primary)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-06-03T09:25:36.265Z"
|
|
},
|
|
{
|
|
"id": "bug-273",
|
|
"timestamp": "2026-06-03T14:53:08.631Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/manual-tests.md",
|
|
"root_cause": "6 lines replaced/restructured",
|
|
"fix": "Rewrote 8→8 lines (6 removed) | Also: **Expected within 1 second on both standbys:**; **Expected on the winner (needs 1 vote from the ot | Also: defer_config_fetch=1; Config fetch successful from primary (tag=...) | Also: Date:; Commit: (run: cd /home/rshen/projects/xce/worktree",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 4,
|
|
"last_seen": "2026-06-03T14:56:43.241Z"
|
|
},
|
|
{
|
|
"id": "bug-274",
|
|
"timestamp": "2026-06-03T15:05:10.632Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-config-bootstrap/manual-tests.md",
|
|
"root_cause": "95 lines replaced/restructured",
|
|
"fix": "Rewrote 158→65 lines (95 removed) | Also: - [ ] `ha-term.bin` file exists after election; - [ ] Magic bytes are `0xDEADBEEFCAFEBABE` (little",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-03T15:09:51.822Z"
|
|
},
|
|
{
|
|
"id": "bug-275",
|
|
"timestamp": "2026-06-03T23:50:28.482Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "6 lines replaced/restructured",
|
|
"fix": "Rewrote 45→62 lines (6 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-03T23:50:28.482Z"
|
|
},
|
|
{
|
|
"id": "bug-276",
|
|
"timestamp": "2026-06-04T00:24:46.380Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/myapp.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T00:24:46.380Z"
|
|
},
|
|
{
|
|
"id": "bug-277",
|
|
"timestamp": "2026-06-04T09:31:40.432Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/CLAUDE.md",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 5→7 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T09:31:40.432Z"
|
|
},
|
|
{
|
|
"id": "bug-278",
|
|
"timestamp": "2026-06-04T09:46:14.610Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": ".kiro/specs/ha-repl-hardening/design.md",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T09:46:14.610Z"
|
|
},
|
|
{
|
|
"id": "bug-279",
|
|
"timestamp": "2026-06-04T11:54:56.114Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": ".kiro/specs/ha-repl-hardening/design.md",
|
|
"root_cause": "Had `(checkpoint_lsn, last_received_chunk)`",
|
|
"fix": "Changed to `snap.part`",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T11:54:56.114Z"
|
|
},
|
|
{
|
|
"id": "bug-280",
|
|
"timestamp": "2026-06-04T13:13:54.348Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 4→4 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T13:13:54.348Z"
|
|
},
|
|
{
|
|
"id": "bug-281",
|
|
"timestamp": "2026-06-04T13:38:04.971Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 5→7 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T13:38:04.971Z"
|
|
},
|
|
{
|
|
"id": "bug-282",
|
|
"timestamp": "2026-06-04T13:48:05.580Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/schema/controller.capnp",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→13 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"capnp"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T13:48:05.580Z"
|
|
},
|
|
{
|
|
"id": "bug-283",
|
|
"timestamp": "2026-06-04T13:48:16.712Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/include/typemap.h",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 4→8 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T13:48:16.712Z"
|
|
},
|
|
{
|
|
"id": "bug-284",
|
|
"timestamp": "2026-06-04T14:33:03.464Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: /* ── Task 2.1: OPCode_walCatchupEntry handler ─────────────; #ifdef XCE_TESTING | Also: /* Task 2.1: OPCode_walCatchupEntry handler */; RUN_TEST(test_wal_catchup_entry_advances_applied_lsn);",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 3,
|
|
"last_seen": "2026-06-04T14:33:51.476Z"
|
|
},
|
|
{
|
|
"id": "bug-285",
|
|
"timestamp": "2026-06-04T14:41:35.073Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: case OPCode_walCatchupEntry:; /* Task 2.1: standby applies a single WAL catch-up entry fro",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-04T14:41:48.239Z"
|
|
},
|
|
{
|
|
"id": "bug-286",
|
|
"timestamp": "2026-06-04T14:44:41.114Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "57 lines replaced/restructured",
|
|
"fix": "Rewrote 82→16 lines (57 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T14:44:41.114Z"
|
|
},
|
|
{
|
|
"id": "bug-287",
|
|
"timestamp": "2026-06-04T14:45:42.730Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T14:45:42.730Z"
|
|
},
|
|
{
|
|
"id": "bug-288",
|
|
"timestamp": "2026-06-04T14:46:44.652Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block | Also: #include \"persist.h\" /* persist_t, apply_wal_entry */; #include \"typemap.h\" /* wal_catchup_entry_t */",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-04T14:47:53.528Z"
|
|
},
|
|
{
|
|
"id": "bug-289",
|
|
"timestamp": "2026-06-04T15:09:54.280Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T15:09:54.280Z"
|
|
},
|
|
{
|
|
"id": "bug-290",
|
|
"timestamp": "2026-06-04T15:22:45.178Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "22 lines replaced/restructured",
|
|
"fix": "Rewrote 58→114 lines (22 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T15:22:45.178Z"
|
|
},
|
|
{
|
|
"id": "bug-291",
|
|
"timestamp": "2026-06-04T15:51:04.816Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "3 lines replaced/restructured",
|
|
"fix": "Rewrote 10→15 lines (3 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T15:51:04.816Z"
|
|
},
|
|
{
|
|
"id": "bug-292",
|
|
"timestamp": "2026-06-04T16:15:43.743Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: peer_idx < 0 || peer_idx >= MAX_HA_CANDIDATES",
|
|
"fix": "Added guard clause: if (peer_idx < 0 || peer_idx >= MAX_HA_CANDI)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T16:15:43.743Z"
|
|
},
|
|
{
|
|
"id": "bug-293",
|
|
"timestamp": "2026-06-04T16:19:17.173Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 44→89 lines (4 removed) | Also: /* Decode stateReport and call convergence tracker; memset(&sr, 0, sizeof(sr));",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-04T16:21:09.851Z"
|
|
},
|
|
{
|
|
"id": "bug-294",
|
|
"timestamp": "2026-06-04T16:45:25.724Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: standby_tag < committed_tag",
|
|
"fix": "Added guard clause: if (standby_tag < committed_tag)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T16:45:25.724Z"
|
|
},
|
|
{
|
|
"id": "bug-295",
|
|
"timestamp": "2026-06-04T16:57:59.213Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/testsuite/test_ha_role.c",
|
|
"root_cause": "Had \"test_evaluate_repl_action_stream_wal_from_zero: P",
|
|
"fix": "Changed to \"test_evaluate_repl_action_send_snapshot_lsn_zero:",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T16:57:59.213Z"
|
|
},
|
|
{
|
|
"id": "bug-296",
|
|
"timestamp": "2026-06-04T16:58:16.627Z",
|
|
"error_message": "Wrong reference: test_evaluate_repl_action_stream_wal_from_zero should be test_evaluate_repl_action_send_snapshot_lsn_zero",
|
|
"file": "src/controller/testsuite/test_ha_role.c",
|
|
"root_cause": "Used \"test_evaluate_repl_action_stream_wal_from_zero\" instead of \"test_evaluate_repl_action_send_snapshot_lsn_zero\"",
|
|
"fix": "Changed test_evaluate_repl_action_stream_wal_from_zero → test_evaluate_repl_action_send_snapshot_lsn_zero",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T16:58:16.627Z"
|
|
},
|
|
{
|
|
"id": "bug-297",
|
|
"timestamp": "2026-06-04T17:08:18.571Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !ha || peer_idx < 0 || peer_idx >= MAX_HA_CANDIDATES",
|
|
"fix": "Added guard clause: if (!ha || peer_idx < 0 || peer_idx >= MAX_H)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T17:08:18.571Z"
|
|
},
|
|
{
|
|
"id": "bug-298",
|
|
"timestamp": "2026-06-04T17:34:23.150Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T17:34:23.150Z"
|
|
},
|
|
{
|
|
"id": "bug-299",
|
|
"timestamp": "2026-06-04T17:36:34.006Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 71→93 lines (4 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T17:36:34.006Z"
|
|
},
|
|
{
|
|
"id": "bug-300",
|
|
"timestamp": "2026-06-04T17:40:05.798Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T17:40:05.798Z"
|
|
},
|
|
{
|
|
"id": "bug-301",
|
|
"timestamp": "2026-06-04T23:09:43.701Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: g_snaptest_chunk_count >= 16",
|
|
"fix": "Added guard clause: if (g_snaptest_chunk_count >= 16)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T23:09:43.701Z"
|
|
},
|
|
{
|
|
"id": "bug-302",
|
|
"timestamp": "2026-06-04T23:10:44.426Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: !snap_dir",
|
|
"fix": "Added guard clause: if (!snap_dir)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T23:10:44.426Z"
|
|
},
|
|
{
|
|
"id": "bug-303",
|
|
"timestamp": "2026-06-04T23:11:48.274Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 6→15 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T23:11:48.274Z"
|
|
},
|
|
{
|
|
"id": "bug-304",
|
|
"timestamp": "2026-06-04T23:21:45.737Z",
|
|
"error_message": "Missing error handling in XCE_TESTING",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T23:21:45.737Z"
|
|
},
|
|
{
|
|
"id": "bug-305",
|
|
"timestamp": "2026-06-04T23:22:03.572Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 9→12 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-04T23:22:03.572Z"
|
|
},
|
|
{
|
|
"id": "bug-306",
|
|
"timestamp": "2026-06-05T01:16:16.713Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": ".kiro/specs/ha-repl-hardening/tasks.md",
|
|
"root_cause": "9 lines replaced/restructured",
|
|
"fix": "Rewrote 9→35 lines (9 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T01:16:16.713Z"
|
|
},
|
|
{
|
|
"id": "bug-307",
|
|
"timestamp": "2026-06-05T01:18:21.265Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "4 lines replaced/restructured",
|
|
"fix": "Rewrote 7→10 lines (4 removed) | Also: /* Task 3.5: snapshot transfer.; * Creates a checkpoint in the delaymgr thread (not",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-05T01:18:36.333Z"
|
|
},
|
|
{
|
|
"id": "bug-308",
|
|
"timestamp": "2026-06-05T01:19:20.356Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "No early return/throw for edge case: !d",
|
|
"fix": "Added guard clause: if (!d)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T01:19:20.356Z"
|
|
},
|
|
{
|
|
"id": "bug-309",
|
|
"timestamp": "2026-06-05T01:33:20.146Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !ha || !p || !snap_dir || !chunk",
|
|
"fix": "Added guard clause: if (!ha || !p || !snap_dir || !chunk)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T01:33:20.146Z"
|
|
},
|
|
{
|
|
"id": "bug-310",
|
|
"timestamp": "2026-06-05T01:34:06.660Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/cluster.c",
|
|
"root_cause": "No early return/throw for edge case: !chunk",
|
|
"fix": "Added guard clause: if (!chunk)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T01:34:06.660Z"
|
|
},
|
|
{
|
|
"id": "bug-311",
|
|
"timestamp": "2026-06-05T02:21:15.033Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: ua > ub",
|
|
"fix": "Added guard clause: if (ua > ub)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T02:21:15.033Z"
|
|
},
|
|
{
|
|
"id": "bug-312",
|
|
"timestamp": "2026-06-05T02:47:32.237Z",
|
|
"error_message": "Wrong reference: uintptr_t should be void",
|
|
"file": "src/controller/testsuite/test_ha_evaluate_committing.c",
|
|
"root_cause": "Used \"uintptr_t\" instead of \"void\"",
|
|
"fix": "Changed uintptr_t → void",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T02:47:32.237Z"
|
|
},
|
|
{
|
|
"id": "bug-313",
|
|
"timestamp": "2026-06-05T03:35:34.699Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "149 lines replaced/restructured",
|
|
"fix": "Rewrote 207→38 lines (149 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T03:35:34.699Z"
|
|
},
|
|
{
|
|
"id": "bug-314",
|
|
"timestamp": "2026-06-05T04:01:58.721Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "No early return/throw for edge case: !ha",
|
|
"fix": "Added guard clause: if (!ha)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T04:01:58.721Z"
|
|
},
|
|
{
|
|
"id": "bug-315",
|
|
"timestamp": "2026-06-05T04:52:32.206Z",
|
|
"error_message": "Wrong reference: 10000 should be 60000",
|
|
"file": "src/controller/ha.h",
|
|
"root_cause": "Used \"10000\" instead of \"60000\"",
|
|
"fix": "Changed 10000 → 60000",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"h"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-05T04:52:51.260Z"
|
|
},
|
|
{
|
|
"id": "bug-316",
|
|
"timestamp": "2026-06-05T04:53:20.573Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "5 lines replaced/restructured",
|
|
"fix": "Rewrote 24→42 lines (5 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T04:53:20.573Z"
|
|
},
|
|
{
|
|
"id": "bug-317",
|
|
"timestamp": "2026-06-05T04:53:55.034Z",
|
|
"error_message": "Wrong reference: 10000 should be HA_DEFAULT_COMMITTING_TIMEOUT_MS",
|
|
"file": "src/controller/testsuite/test_ha_evaluate_committing.c",
|
|
"root_cause": "Used \"10000\" instead of \"HA_DEFAULT_COMMITTING_TIMEOUT_MS\"",
|
|
"fix": "Changed 10000 → HA_DEFAULT_COMMITTING_TIMEOUT_MS",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T04:53:55.034Z"
|
|
},
|
|
{
|
|
"id": "bug-318",
|
|
"timestamp": "2026-06-05T05:10:13.646Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T05:10:13.646Z"
|
|
},
|
|
{
|
|
"id": "bug-319",
|
|
"timestamp": "2026-06-05T05:39:48.707Z",
|
|
"error_message": "Missing error handling in unknown",
|
|
"file": "src/controller/testsuite/test_config_repl.c",
|
|
"root_cause": "Code path had no error handling — exceptions would propagate uncaught",
|
|
"fix": "Added try/catch block",
|
|
"tags": [
|
|
"auto-detected",
|
|
"error-handling",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T05:39:48.707Z"
|
|
},
|
|
{
|
|
"id": "bug-320",
|
|
"timestamp": "2026-06-05T06:50:00Z",
|
|
"error_message": "3-node startup: majority convergence never fires; cluster falls through to committing_timeout degraded-mode WARN",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "ha->n_peers was set to candidates_count (3, total including self) in ha_start_election_async. ha_check_majority_convergence loops i=0..n_peers-1 checking standby_converged[], but standby_converged[] is indexed by votes_idx (relative, self excluded: 0..n_other-1). With n_peers=3, it checked standby_converged[2] which is never set, so n_converged (2) < n_peers (3) always — majority convergence path could never succeed.",
|
|
"fix": "Changed ha->n_peers = n_peers to ha->n_peers = n_other (= n_peers-1 = other-node count). Moved the assignment after n_other is computed. ha_repl_ack_received quorum formula (ha->n_peers+2)/2 still yields correct majority for both old and new value.",
|
|
"tags": [
|
|
"ha",
|
|
"majority-convergence",
|
|
"n_peers",
|
|
"off-by-one",
|
|
"integration-test"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T06:50:00Z"
|
|
},
|
|
{
|
|
"id": "bug-321",
|
|
"timestamp": "2026-06-05T07:31:54.806Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 7→12 lines (2 removed) | Also: /* Disarm any existing poll ctx */; free(old);",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-05T07:32:06.251Z"
|
|
},
|
|
{
|
|
"id": "bug-006",
|
|
"timestamp": "2026-06-05T07:23:00.000Z",
|
|
"error_message": "AddressSanitizer: attempting double-free on sctx in ha_connect_to_peer",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "endpoint_fini calls FREEUP(ep->data) which frees sctx, then ha_connect_to_peer also calls free(sctx) — double-free at lines 3594-3595 and 3600-3601",
|
|
"fix": "Set ep->data = NULL before endpoint_fini so FREEUP becomes a no-op; then free(sctx) explicitly in the error paths",
|
|
"tags": [
|
|
"double-free",
|
|
"asan",
|
|
"ha_connect_to_peer",
|
|
"endpoint_fini",
|
|
"integration-test"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T07:23:00.000Z"
|
|
},
|
|
{
|
|
"id": "bug-007",
|
|
"timestamp": "2026-06-05T07:23:00.000Z",
|
|
"error_message": "AddressSanitizer: heap-use-after-free in liveness_poll_fn at ha.c:3293 — reading ctx->cancelled after ha_arm_heartbeat_timeout_vtask freed the old ctx",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "ha_arm_heartbeat_timeout_vtask freed the old liveness_poll_ctx_t immediately after setting cancelled=1, but the delaymgr task was already in flight reading ctx->cancelled=0 and then continued to read ctx->ha after free",
|
|
"fix": "ha_arm_heartbeat_timeout_vtask no longer frees old ctx; liveness_poll_fn now frees ctx when it fires with cancelled=1 (guarded by #ifndef XCE_TESTING to avoid bad-free on stack-allocated test ctxs)",
|
|
"tags": [
|
|
"heap-use-after-free",
|
|
"asan",
|
|
"liveness_poll_fn",
|
|
"ha_arm_heartbeat_timeout_vtask",
|
|
"race-condition",
|
|
"integration-test"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T07:23:00.000Z"
|
|
},
|
|
{
|
|
"id": "bug-324",
|
|
"timestamp": "2026-06-05T08:26:02.778Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "2 lines replaced/restructured",
|
|
"fix": "Rewrote 41→87 lines (2 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-05T08:26:02.778Z"
|
|
},
|
|
{
|
|
"id": "bug-325",
|
|
"timestamp": "2026-06-06T11:00:00.057Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "6 lines replaced/restructured",
|
|
"fix": "Rewrote 8→5 lines (6 removed)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-06T11:00:00.057Z"
|
|
},
|
|
{
|
|
"id": "bug-326",
|
|
"timestamp": "2026-06-06T11:06:46.509Z",
|
|
"error_message": "Wrong reference: DEBUG2 should be INFO",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Used \"DEBUG2\" instead of \"INFO\"",
|
|
"fix": "Changed DEBUG2 → INFO",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-reference",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-06T11:06:46.509Z"
|
|
},
|
|
{
|
|
"id": "bug-327",
|
|
"timestamp": "2026-06-06T12:11:21.422Z",
|
|
"error_message": "Incorrect value in code",
|
|
"file": "src/controller/ha.c",
|
|
"root_cause": "Had \"HA: heartbeat tick (role=%d, n_standbys=%d)\"",
|
|
"fix": "Changed to \"HA: primary heartbeat armed\"",
|
|
"tags": [
|
|
"auto-detected",
|
|
"wrong-value",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-06T12:11:21.422Z"
|
|
},
|
|
{
|
|
"id": "bug-328",
|
|
"timestamp": "2026-06-06T13:02:49.052Z",
|
|
"error_message": "Missing guard clause",
|
|
"file": "src/lib/delay.c",
|
|
"root_cause": "No early return/throw for edge case: t1_is_ms && t2_is_ms",
|
|
"fix": "Added guard clause: if (t1_is_ms && t2_is_ms)",
|
|
"tags": [
|
|
"auto-detected",
|
|
"guard-clause",
|
|
"c"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-06T13:02:49.052Z"
|
|
},
|
|
{
|
|
"id": "bug-329",
|
|
"timestamp": "2026-06-08T13:12:54.436Z",
|
|
"error_message": "Function not marked async",
|
|
"file": ".kiro/specs/raft-library/research.md",
|
|
"root_cause": "Function uses await but wasn't declared async",
|
|
"fix": "Added async modifier",
|
|
"tags": [
|
|
"auto-detected",
|
|
"async-fix",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 1,
|
|
"last_seen": "2026-06-08T13:12:54.436Z"
|
|
},
|
|
{
|
|
"id": "bug-330",
|
|
"timestamp": "2026-06-09T08:33:08.522Z",
|
|
"error_message": "Significant refactor of ",
|
|
"file": "src/docs/cluster-config-split-analysis.md",
|
|
"root_cause": "8 lines replaced/restructured",
|
|
"fix": "Rewrote 11→21 lines (8 removed) | Also: ### Phase 1: Schema split (wire-compatible); 4. **Keep the old `ClusterConfig` fields intact** ",
|
|
"tags": [
|
|
"auto-detected",
|
|
"refactor",
|
|
"md"
|
|
],
|
|
"related_bugs": [],
|
|
"occurrences": 2,
|
|
"last_seen": "2026-06-09T08:35:24.717Z"
|
|
}
|
|
]
|
|
} |