From fd5206d32186b24f337a91d11466eb8069edeaa1 Mon Sep 17 00:00:00 2001 From: Luisina Santos Date: Mon, 21 Sep 2026 12:55:03 -0300 Subject: [PATCH 1/2] docs: correct last-activity examples (CXP-1130) The Sync member last activity section illustrated last activity with examples the GitHub organization audit log does not record. Measured on both include=web and include=all, issue and pull request comments and code reviews produce no audit-log events, so neither can yield a last-activity date. The section already stated correctly that unrecorded activity yields no date, so the page contradicted itself. Replace the example list with administrative actions that are recorded, state explicitly that content activity is not counted, and correct the Git-operations paragraph, whose parenthetical implied reviews and comments would otherwise have produced a date. Docs only; no connector change. Co-Authored-By: Claude Opus 5 --- docs/connector.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/connector.mdx b/docs/connector.mdx index 48d5eec9..6f3d75ba 100644 --- a/docs/connector.mdx +++ b/docs/connector.mdx @@ -393,7 +393,7 @@ When deploying on Kubernetes with a minimal base image (for example, Debian slim ## Sync member last activity -You can enable **Sync user last activity** to have C1 show, for each member, the most recent recorded action across all synced organizations (for example, commenting on an issue or pull request, reviewing code, or changing a setting). This appears on the member's profile in C1 alongside their other access details. +You can enable **Sync user last activity** to have C1 show, for each member, the most recent recorded action across all synced organizations (for example, changing an organization or repository setting, creating or deleting a repository, or adding someone to a team). This appears on the member's profile in C1 alongside their other access details. **Requirements:** @@ -407,7 +407,9 @@ You can enable **Sync user last activity** to have C1 show, for each member, the **What "last activity" means:** This is not necessarily a login timestamp. GitHub's audit log only records actions members take, not every time someone signs in or browses the product. Because of this, C1 shows the most recent recorded action for a member, whatever that action was, as a best-effort signal of when they were last active. A member who only reads or browses without taking any recorded action won't show a last-activity date, even if they use GitHub regularly. -To keep this fast on large organizations, raw Git operations (pushes, fetches, and clones done via `git` rather than the website or API) are not counted toward last activity — only web and API actions are. A member who exclusively interacts with GitHub through `git` and never uses the website or API (for example, a purely command-line workflow with no PR reviews, comments, or settings changes) won't show a last-activity date, even though they're actively using GitHub. +**What is not counted:** The organization audit log records administrative events, not content activity. Writing an issue or pull request comment, reviewing code, and pushing commits are not recorded there, so none of them produces a last-activity date. An organization whose members write and review code but administer nothing may therefore show no last-activity dates at all. + +To keep this fast on large organizations, raw Git operations (pushes, fetches, and clones done via `git` rather than the website or API) are not counted toward last activity — only web and API actions are. Combined with the point above, this means a member whose work is limited to writing and reviewing code won't show a last-activity date, even though they're actively using GitHub. If a member has never taken a recorded action, or if the connector can't reach an organization's audit log for any reason (for example, a missing scope or a plan without audit log access), C1 simply won't show a last-activity date for that member — this does not affect the rest of the sync. From 28de8d3257c6b740c2bed6f41569ab51106018dc Mon Sep 17 00:00:00 2001 From: Luisina Santos Date: Mon, 21 Sep 2026 12:58:30 -0300 Subject: [PATCH 2/2] docs: scope the not-counted list to comments and reviews Pushes are recorded in the organization audit log under the git event category; they are excluded because the feed queries with Include: "web", which the following paragraph already explains. Listing them as not recorded attributed the exclusion to the wrong cause. Co-Authored-By: Claude Opus 5 --- docs/connector.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/connector.mdx b/docs/connector.mdx index 6f3d75ba..3db1cdef 100644 --- a/docs/connector.mdx +++ b/docs/connector.mdx @@ -407,7 +407,7 @@ You can enable **Sync user last activity** to have C1 show, for each member, the **What "last activity" means:** This is not necessarily a login timestamp. GitHub's audit log only records actions members take, not every time someone signs in or browses the product. Because of this, C1 shows the most recent recorded action for a member, whatever that action was, as a best-effort signal of when they were last active. A member who only reads or browses without taking any recorded action won't show a last-activity date, even if they use GitHub regularly. -**What is not counted:** The organization audit log records administrative events, not content activity. Writing an issue or pull request comment, reviewing code, and pushing commits are not recorded there, so none of them produces a last-activity date. An organization whose members write and review code but administer nothing may therefore show no last-activity dates at all. +**What is not counted:** The organization audit log records administrative events, not content activity. Writing an issue or pull request comment and reviewing code are not recorded there, so neither produces a last-activity date. An organization whose members write and review code but administer nothing may therefore show no last-activity dates at all. To keep this fast on large organizations, raw Git operations (pushes, fetches, and clones done via `git` rather than the website or API) are not counted toward last activity — only web and API actions are. Combined with the point above, this means a member whose work is limited to writing and reviewing code won't show a last-activity date, even though they're actively using GitHub.