ReviewOS

also looking at this

loghqorg/loghq

Add BunPress guide and pre-E2E quality gates

#4
Merged glennmichael123 wants to merge docs/bunpress-product-guide into main
246 files +1744 -64381
app/Archive/sql.tsmodified+8-0
Changes to app/Archive/sql.ts
@@ -141,6 +141,8 @@ export interface ArchiveFilters {
141141 channel?: string
142142 environment?: string
143143 release?: string
144 traceId?: string
145 requestId?: string
144146 /** Free text matched against the message. */
145147 q?: string
146148 fromDay?: string
@@ -187,6 +189,12 @@ function filterClauses(f: ArchiveFilters): string[] {
187189 if (f.release)
188190 where.push(`"release" = ${sqlQuote(String(f.release).slice(0, 255))}`)
189191
192 if (f.traceId)
193 where.push(`"trace_id" = ${sqlQuote(String(f.traceId).slice(0, 64))}`)
194
195 if (f.requestId)
196 where.push(`"request_id" = ${sqlQuote(String(f.requestId).slice(0, 64))}`)
197
190198 if (f.q) {
191199 // `%` and `_` are left literal rather than escaped: a user typing them into
192200 // a log search means them as wildcards more often than not, and this reads