Repository navigation
learn: retrospective learnings - #1080
oss-engineer-bot[bot] wants to merge 1 commit into
Conversation
c098b0a to
f13f63a
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
Looks good apart from one low concern: lesson L-0050 has no source journal entry. L-0051 and L-0052 match the 2026-11-25 journal entries.
| - L-0047 (1×, #1045): Secret-bearing CI steps must run Python isolated or from a neutral directory, preventing checkout modules from shadowing trusted imports. | ||
|
|
||
| ## Release and packaging | ||
| - L-0050 (1×, #1079): Before a changelog claims a security dependency update, raise the pyproject.toml minimum or state it is lock-only; poetry.lock does not constrain installers of the published package. |
There was a problem hiding this comment.
🔵 Low — L-0050 (#1079) has no source journal entry in the repo. Only journal/2026-11-25.md is present, and the 2026-11-18 journal exists for other lessons. Restore journal/2026-11-24.md, or drop L-0050 until its journal entry lands.
🔀 Found by Claude Opus 5.5 · confirmed by the judge
f13f63a to
4ca48d5
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
Mostly good, with 1 medium concern. The new 2026-12-01 journal entries match L-0055–L-0058 and the L-0014 update. The 2026-11-25 journal that L-0053 and L-0054 were distilled from is missing.
| - L-0032 (1×, #1022): KERNEL_REV changes CI source only. Shipping a kernel fix requires a released wheel and matching packaging floor/lock update, plus an in-repo E2E regression. | ||
| - L-0033 (1×, #1020): Prove optional C acceleration actually executes and skip when unavailable. Choose input/output protocols separately and verify encoded bytes and nesting limits against the fallback. | ||
| - L-0034 (1×, #1016): Carry sync result metadata into async get_execution_result. Read numModifiedRows from the existing terminal FINISHED_STATE status response via the shared helper, avoiding an extra RPC. | ||
| - L-0053 (1×, #1078): Keep row-conversion fast paths memory-flat: stream per-row values via a generator, tolist() numpy object arrays in bounded chunks (not per-row views or one full tolist()), and report peak traced memory vs main with timings. |
There was a problem hiding this comment.
🔵 Low — The PR adds L-0053 and L-0054 (#1078), but no 2026-11-25 journal exists in the repo and the 2026-12-01 journal never mentions #1078, so these two lessons have no source entry. Add the missing 2026-11-25.md journal or remove the two lessons.
🔀 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>
4ca48d5 to
ffe8278
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
This docs-only lessons update has one medium issue: five lessons sourced from #1071 come from the 2026-12-01 journal, which isn't in the branch. The new 2026-12-03 entry and L-0062 match each other.
| - L-0021 (1×, #985): SQL LIKE escape handling depends on preceding backslash-run parity; a one-character negative lookbehind cannot establish JDBC equivalence. | ||
| - L-0022 (2×, #1066 #1026): Validate integer options at the Python boundary: reject bool explicitly plus non-int and out-of-range values, test True alongside 0, negative, None, str and float, and clamp large values before native conversion. | ||
| - L-0048 (1×, #1066): Inject connector-derived session_conf defaults only when the user has not set the key under any letter case; copy rather than mutate the mapping, and test both override casings plus non-mutation. | ||
| - L-0059 (1×, #1071): Never echo user-supplied URIs in errors: show scheme+host[:port] (scheme only if it has @/%40), wrap urlsplit/.port and raise outside except or from None; test the secret is absent from message, __cause__, __context__. |
There was a problem hiding this comment.
🔵 Low — Lessons L-0059, L-0060, L-0061, L-0063 and the L-0014 update cite #1071, but the journal directory only has 2026-11-18.md and 2026-12-03.md. No 2026-12-01 journal exists, so these lessons have no source in the repo. Restore the 2026-12-01 journal, or drop the #1071-derived lessons and keep the distilled-through marker at 2026-11-18 until it lands.
🔀 Found by Claude Opus 5.5 · confirmed by the judge
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-03. 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