Repository navigation
learn: retrospective learnings - #589
oss-engineer-bot[bot] wants to merge 1 commit into
Conversation
f0e8bf8 to
bcc24c8
Compare
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Medium
Docs-only learning update with 1 medium provenance concern. It looks like the branch rebuild dropped the 2026-11-20 journal file but kept the lessons distilled from it.
| - L-0020 (1×, #556): Check integer duration values against MinInt64/unit and MaxInt64/unit before multiplication; report overflow with the parameter name. | ||
| - L-0060 [phase=review] (1×, #566): Kernel applies case variants of client-only session-conf keys in sorted byte order, so the canonical lowercase key wins; check pinned session.rs before flagging map-order nondeterminism. | ||
| - L-0061 (1×, #566): Forwarding a formerly inert option to a backend is a behavior change: label it so in CHANGELOG, explain the effect of existing tuned values, and test set values, not only unset. | ||
| - L-0067 (1×, #557): Bound x/oauth2 token fetches with a copied *http.Client with capped Timeout in the context under oauth2.HTTPClient, passing that context to TokenSource; never mutate DefaultClient or the caller's client. AuthStyle auto-detect may double first-fetch time. |
There was a problem hiding this comment.
🟡 Medium — L-0066, L-0067 and L-0070, plus the L-0041 (#577) and L-0050 (#574) updates, are distilled from a 2026-11-20 journal that isn't in the checkout, so they have no source entry and the journal is no longer the record they were built from. Restore .claude/knowledge/journal/2026-11-20.md in this PR, or drop those lessons and updates until it lands.
🔀 Found by Claude Opus 5.5 · the judge couldn't confirm it
bcc24c8 to
ad934f6
Compare
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Nit
Looks good. Only one nit. The four new lessons (L-0072–L-0075) are short and in scope, they don't contradict existing entries, and the distilled-through marker has been moved forward to match.
Other findings
- ⚪ Nit — L-0072 is the only entry in a new 'HTTP transport' section, while the closely related retry lesson L-0034 sits under 'Native boundaries and lifecycle'. Consider grouping L-0072 with L-0034, or moving L-0034 into the new section, so retry and transport lessons are kept in one place. (Found by Claude Opus 5.5 · the judge disputed it but couldn't back that up, so it's kept)
ad934f6 to
c120151
Compare
c120151 to
a785d9f
Compare
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Low
One medium concern: the 2026-11-30 journal and L-0083/L-0084 match each other. But the 2026-11-26 journal behind the other new and updated lessons is missing from the repo.
| - L-0020 (1×, #556): Check integer duration values against MinInt64/unit and MaxInt64/unit before multiplication; report overflow with the parameter name. | ||
| - L-0060 [phase=review] (1×, #566): Kernel applies case variants of client-only session-conf keys in sorted byte order, so the canonical lowercase key wins; check pinned session.rs before flagging map-order nondeterminism. | ||
| - L-0061 (1×, #566): Forwarding a formerly inert option to a backend is a behavior change: label it so in CHANGELOG, explain the effect of existing tuned values, and test set values, not only unset. | ||
| - L-0081 (1×, #595): Classify session loss from generic codes (NotFound, InvalidArgument) only with code plus case-insensitive message match; test lookalikes like missing table/statement or SqlError echoing the text. |
There was a problem hiding this comment.
🔵 Low — This PR adds L-0080, L-0081 and L-0082 (#595/#587) and updates L-0027, but the checkout has no journal entry for them. Only 2026-11-18 and 2026-11-30 exist under journal/, and 2026-11-30 covers only #603. These lessons have no source entry to trace back to. Restore the missing journal file, or drop the lessons until it lands.
🔀 Found by Claude Opus 5.5 · confirmed by the judge
Signed-off-by: peco-engineer-bot[bot] <peco-engineer-bot[bot]@users.noreply.github.com>
a785d9f to
753224f
Compare
There was a problem hiding this comment.
🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).
Verdict: 1 Medium
One medium concern: two of the new lessons have no source journal entry. The other new and updated lessons match the 2026-12-01 journal and stay in their categories.
| - L-0053 (1×, #536): Prove no-storage-egress behavior through a workspace-only CONNECT proxy, asserting complete results and zero blocked attempts. | ||
| - L-0054 (2×, #559 #558 #555): Join test goroutines with bounded cleanup and context cancellation. Synchronize with channels and report callback failures without FailNow/Fatal from foreign goroutines. | ||
| - L-0055 (1×, #561): Root Go files must remain package dbsql/dbsql_test even behind tags; declare developer tools with the go.mod tool directive. | ||
| - L-0088 (1×, #603): Kernel sends its own HTTP (e.g. telemetry) natively; observe it via a test CONNECT proxy with trusted test CA (WithKernelProxy/WithKernelTrustedCerts), not a Go RoundTripper, and assert kernel field values. |
There was a problem hiding this comment.
🟡 Medium — L-0088 and L-0089 (#603) say they were distilled from a 2026-11-30 journal, but that file is not in the repo or this PR. After the rebuild these lessons have no source entry, and the distilled-through marker skips over the missing day. Restore .claude/knowledge/journal/2026-11-30.md in this PR, or drop L-0088/L-0089 until their source entry lands.
🔀 Found by Claude Opus 5.5 · the judge couldn't confirm it
Daily learning update (distill)
The journal is one new file per run and is never edited. The lessons file is the distilled state, ordered by ID. The only paths this PR changes are one new journal file and the lessons file.
Latest update 2026-12-01. Branch: rebuilt from the default branch after a lessons.md conflict; the PR's new journal files carried over (1).
Removed lessons (review each reason)
Journal entries dropped by the per-file cap