Skip to content
quarry History Of Ticket 6811218f58fbca05b6394a20971ba869f5375683
Login

History Of Ticket 6811218f58fbca05b6394a20971ba869f5375683

Artifacts Associated With Ticket 6811218f58fbca05b6394a20971ba869f5375683

  1. Ticket change [980d99febf] (rid 2670) by dmestas on 2026-08-25 21:29:30:

    1. comment initialized to:
      The breakdown covers zit and ops. Ops time CONTAINS index queries, OLTP reads and store calls, so a slow page can be attributed to 'ops' and no further. The obs.Render struct already carries the fields; nothing populates SQL.
      
      Why it is not trivial: index and oltp both open through ncruces/go-sqlite3's driver.Open, so timing every query means a driver wrapper rather than touching call sites. internal/arch pins the dependency set and would need to allow it.
      
      Value: until this lands, the remainder between Elapsed and Ops is template execution plus server overhead plus SQL, all mixed. Splitting SQL out is what makes the remainder mean something.
      
    2. priority initialized to: "Medium"
    3. status initialized to: "Open"
    4. subsystem initialized to: "observability"
    5. title initialized to:
      ops: SQL is not its own timing category — 'ops 138ms' cannot say index or store
      
    6. type initialized to: "Feature"
  2. Ticket change [dffab8d05a] (rid 2700) by dmestas on 2026-08-25 21:50:18:

    1. comment changed to:
      Obstacle found while building the drilldown, worth recording before someone else starts.
      
      A clean driver wrapper is NOT available: ncruces/go-sqlite3's driver.Open builds its connector through newConnector, which is unexported, so there is no driver.Connector to wrap and sql.OpenDB cannot be handed one. Registering a wrapping database/sql driver would also lose the fts5.Register init hook that index.Open depends on.
      
      So this is a larger piece than 'wrap the driver'. Options are to ask upstream for an exported connector, to time at a small number of index call sites and accept partial coverage, or to leave SQL inside ops time and instead make the REMAINDER legible — which the drilldown now partly does by showing what the store cost, leaving the rest visible by subtraction.
      
  3. Ticket change [23793b6626] (rid 2804) by dmestas on 2026-08-26 11:25:16:

    1. comment changed to:
      Landed as the third option this ticket listed: SQL still has no category of its own and still cannot easily get one, so the remainder is named instead of left to subtraction. 'rest' is a column and the lede says what the ops-minus-zit gap contains.
      
    2. resolution changed to: "Fixed"
    3. status changed to: "Fixed"
  4. Ticket change [8efee422aa] (rid 12526) by zeitgeist on 2026-09-24 00:54:15:

    1. Untracked field number: "90"