GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add chat project summaries and pin telemetry by jaaydenh · Pull Request #32026 · coder/coder

Conversation

@jaaydenh

@jaaydenh jaaydenh commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Adds the project summaries endpoint and pin telemetry on top of #32025. The Projects page grid and the sidebar's pinned projects both read these summaries.

  • GET /api/experimental/chats/projects/summaries returns a ChatProjectSummary for every project in the existing project list (same set, same permissions): pinned, pin_order, own_chat_count, own_unread_count, own_running, own_needs_attention (requires_action, error or paused), last_activity_at (newest updated_at among the caller's counted chats) and member_count. Counts use only the caller's own top-level, non-archived chats; unread uses the same rule as has_unread. It is one grouped query.
  • Member count is the distinct non-deleted, non-system users who can use the project: the owner, user_acl users who are in the project's org, and members of group_acl groups (including Everyone). It is 1 when chat sharing is disabled or the chat-project-sharing experiment is off.
  • Visibility vs. member counting: which projects and pins are visible follows RBAC (grants count unless chat sharing is disabled), so summaries always match GET /chats/projects. Only member_count also depends on the experiment.
  • Telemetry: a ChatProjectPins snapshot with active pins and tombstones by source, users with projects and with tombstones, and two histograms of the share of projects users have pinned (all users, and users who have acted on pins). No user, project or organization identifiers.

The existing GET /api/experimental/chats/projects is unchanged.

Verification

make gen (clean diff), go build ./..., make lint/go, and the summaries, pin, chat list, migration, dbauthz, telemetry and codersdk tests pass. make pre-commit passes except lint/actions/actionlint (local mise too old; fails the same way on main).

Dogfood UAT with a premium license checked the summary fields against seeded chats, member counts with user and group overlap, a user removed from the org and an Everyone share, and that the summaries' project IDs equal the list's in dev, sharing-disabled, re-enabled and release-build experiment-off modes. Example after the upgrade migration:

{"name":"Alpha","pinned":true,"pin_order":1,"own_chat_count":0,"own_unread_count":0,"own_running":false,"own_needs_attention":false,"last_activity_at":null,"member_count":1}
{"name":"Bshared","pinned":false,"pin_order":0,"own_chat_count":0,"own_unread_count":0,"own_running":false,"own_needs_attention":false,"last_activity_at":null,"member_count":2}

Note

Most of this PR was written by AI agents (Xum, with UAT run through Coder Agents). The verification above is from those runs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@jaaydenh
feat: add chat project summaries and pin telemetry
9ca6f65
Add GET /api/experimental/chats/projects/summaries. It returns the
projects from the project list with the caller's pin, numbered over the
pins the caller can still see, and aggregates over the caller's own
top-level, non-archived chats: chat and unread counts, running and
needs-attention flags, latest activity, and how many users can use the
project.

Report ChatProjectPins in telemetry: pin and tombstone counts by source,
and how many users pinned what share of their projects.

Tests that check pin positions now read them through the summaries, so
they also cover pins hidden after access is revoked.
@jaaydenh

jaaydenh commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned jaaydenh Nov 10, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T00:30:11.012254Z 84b7eb8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 10, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ca6f65f7c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread coderd/database/queries/chatprojectpins.sql Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread coderd/database/queries/chatprojectpins.sql Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
fix(coderd): count only active users and honored grants in pin telemetry
782a76c
Suspended and dormant users no longer inflate the pin telemetry, and
project grants count only when chat sharing is enabled, matching the
project summaries.
@jaaydenh

jaaydenh commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

chatgpt-codex-connector[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
Merge branch 'jaayden/chat-project-pins' into jaayden/chat-project-su…
4854a18
…mmaries
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 11, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4854a18c10

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread coderd/database/queries/chatprojectpins.sql Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
fix(coderd): count foreign group grants only for project org members
f054060
A group from another organization grants access only to its members who
also belong to the project's organization, so member counts and pin
telemetry now apply the same restriction.
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 11, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f054060774

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread coderd/database/queries/chatprojectpins.sql Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh
fix(coderd): count interrupting chats as running in project summaries
84b7eb8
@jaaydenh

jaaydenh commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 84b7eb80ab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jaaydenh jaaydenh mentioned this pull request Nov 11, 2026
feat(site/src): show only pinned projects in the Coder Agents sidebar #32040
Draft
@jaaydenh
jaaydenh added this pull request to stack #32074 November 12, 2026 09:20
@jaaydenh jaaydenh mentioned this pull request Nov 12, 2026
feat(site/src): add the Coder Agents projects page #32083
Draft

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jaaydenh jaaydenh

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@jaaydenh
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.