Skip to content

learn: retrospective learnings - #1080

Open
oss-engineer-bot[bot] wants to merge 1 commit into
mainfrom
ai/learning-distill-pr
Open

oss-engineer-bot[bot] wants to merge 1 commit into
mainfrom
ai/learning-distill-pr

Conversation

@oss-engineer-bot

@oss-engineer-bot oss-engineer-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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).

  • Journal file added: .claude/knowledge/journal/2026-12-03.md
  • Distilled this run: 2026-12-01, 2026-12-03
  • Lessons added: L-0059, L-0060, L-0061, L-0062, L-0063
  • Lessons updated: L-0014
  • Lessons removed: 0
  • Lessons file: 9638 / 24576 bytes

Removed lessons (review each reason)

  • none

Journal entries dropped by the per-file cap

  • none

@oss-engineer-bot oss-engineer-bot Bot added the engineer-bot-learning Auto-generated retrospective learning PR label Nov 24, 2026

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 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.

Comment thread .claude/knowledge/lessons.md Outdated
- 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 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.

Comment thread .claude/knowledge/lessons.md Outdated
- 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔀 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__.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

This branch was previously deployed

1 inactive deployment
azure-prod — ffe82783 Deployed Dec 3, 2026 by oss-reviewer-bot[bot] via followup #2850
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineer-bot-learning Auto-generated retrospective learning PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants