ai_code_commit_sessions
Links commits to the AI sessions that touched their files, including before sessions arrive. One row per commit, session ID and tool. Written for every commit upload, including while AI code percentage is turned off, when no ai_code_commits row is stored.
| Column | Type | Description |
|---|---|---|
|
id
Primary key
|
number | Unique identifier for the row. |
|
commit_sha
|
string | Git commit SHA. Matches pull_request_commits.sha and, when the commit's attribution is stored, ai_code_commits.commit_sha. |
|
commit_timestamp
|
date | Timestamp when the commit was made. |
|
session_external_id
Foreign key
|
string |
External session identifier supplied by the tool. Match using ai_tool as well.
References
|
|
ai_tool
|
string | Tool of the linked session. __unqualified__ when the tool is unknown; such a link matches only when exactly one tool has that external ID. |
|
row_created_at
DX internal
|
date | When DX created this database row. |
|
row_updated_at
DX internal
|
date | When DX last updated this database row. |