Canon: DBAutoDoc proposers for undeclared foreign keys and stale table copies
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read plans/canon-factory-run.md and the DBAutoDoc ledger and path-search entry points to locate how References edges are proposed and how entities are filtered. Start by tracing existing Proposed rows and the schema for foreign-key checks and table metadata. Done means matching undeclared keys are proposed only after the bounded probe returns rows, and top-ranked paths do not cross tables marked as stale copies.
索引モデルが issue の本文から書いたものです。
説明
Not part of the Canon factory run (MJ 7002). Ruled post-run by D45 in plans/canon-factory-run.md. Slice 2.4 only records facts on existing References edges and keeps path search off entities that are not Active.
Two proposers for DBAutoDoc, both writing Proposed rows through the ledger, dry run by default:
1. Confirm an undeclared foreign key before proposing it
On a schema with undeclared foreign keys, check a candidate join by the overlap of distinct values and one bounded, read-only probe join, and propose the References edge only when the join returns rows. Opt in per source, with a stated cost limit per table.
2. Detect stale copies of a table
Recognise prefixed or versioned copies (OLD_*, *_BAK, *_V2) as one family and propose marking the stale members, so path search does not bridge across them.
Done when
An undeclared key with matching values is proposed only when the probe returns rows, and the top-ranked path never crosses a table marked as a stale copy.
Generated by Claude Code
- 主要言語
- TSQL
- スター
- 32
- フォーク
- 7
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 504
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MemberJunction/MJ のほかの issue
-
DBAutoDoc: export --state-file writes SQL Server SQL for a PostgreSQL database, ignoring --providerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
MemberJunction/MJ#7094 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
MemberJunction/MJ#6971 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MemberJunction/MJ#6947 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MemberJunction/MJ#6800 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MemberJunction/MJ#6746 ·
メンテナーはふだん 1 日以内に返信
MemberJunction/MJ の issue をすべて見る
似ている issue
-
cleanup follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
flakybot: issue priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
GoogleCloudPlatform/cloud-sql-nodejs-connector#658 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
ConduitIO/conduit-connector-postgres#491 ·
メンテナーはふだん 1 日以内に返信
-
SUM over a union column should skip an undefined slot, not throw ArrayIndexOutOfBoundsExceptionオープンexpression engine unshaved-yak
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信