René's URL Explorer Experiment


Title: fix(coderd): give chat message ids an append-order guarantee by ibetitsmike · Pull Request #27495 · coder/coder · GitHub

Open Graph Title: fix(coderd): give chat message ids an append-order guarantee by ibetitsmike · Pull Request #27495 · coder/coder

X Title: fix(coderd): give chat message ids an append-order guarantee by ibetitsmike · Pull Request #27495 · coder/coder

Description: Secure environments for developers and their agents - fix(coderd): give chat message ids an append-order guarantee by ibetitsmike · Pull Request #27495 · coder/coder

Open Graph Description: Chat message ordering was derived from created_at, which is now() and therefore the transaction start time. That makes it unusable as an append-order column for two independent reasons: every row i...

X Description: Chat message ordering was derived from created_at, which is now() and therefore the transaction start time. That makes it unusable as an append-order column for two independent reasons: every row i...

Opengraph URL: https://github.com/coder/coder/pull/27495

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:09f8e5b7-0439-1e00-0093-57422f4933b1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8B0:134361:1BAAC2F:245F755:6B014FC8
html-safe-nonce229e14c79e78526913d1206060676168bf87e14843c741a3c80a0e48dcc237ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEIwOjEzNDM2MToxQkFBQzJGOjI0NUY3NTU6NkIwMTRGQzgiLCJ2aXNpdG9yX2lkIjoiNTg1NDcwNDIxNzczMzgxMjE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac596d518a578c098168b1dd8f1a9d9d3f590bd32f191eea5582f65a93d6806c28
hovercard-subject-tagpull_request:4132625584
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/27495/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/210102583d39efc22990cc33b280bf03b9c1b7c4ef197b514d74e44cd73ad02c/coder/coder/pull/27495
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/210102583d39efc22990cc33b280bf03b9c1b7c4ef197b514d74e44cd73ad02c/coder/coder/pull/27495
og:image:altChat message ordering was derived from created_at, which is now() and therefore the transaction start time. That makes it unusable as an append-order column for two independent reasons: every row i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameibetitsmike
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/27495#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F27495
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F27495
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/27495
Reloadhttps://github.com/coder/coder/pull/27495
Reloadhttps://github.com/coder/coder/pull/27495
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
ibetitsmikehttps://github.com/ibetitsmike
mainhttps://github.com/coder/coder/tree/main
mike/chat-message-order-tiebreakerhttps://github.com/coder/coder/tree/mike/chat-message-order-tiebreaker
Conversationhttps://github.com/coder/coder/pull/27495
Commits3 (3)https://github.com/coder/coder/pull/27495/commits
Checkshttps://github.com/coder/coder/pull/27495/checks
Files changedhttps://github.com/coder/coder/pull/27495/files
fix(coderd): give chat message ids an append-order guaranteehttps://github.com/coder/coder/pull/27495#top
ibetitsmikehttps://github.com/ibetitsmike
mainhttps://github.com/coder/coder/tree/main
mike/chat-message-order-tiebreakerhttps://github.com/coder/coder/tree/mike/chat-message-order-tiebreaker
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 25, 2026https://github.com/coder/coder/pull/27495#issue-4976107690
Please reload this pagehttps://github.com/coder/coder/pull/27495
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ibetitsmikehttps://github.com/ibetitsmike
Jul 25, 2026https://github.com/coder/coder/pull/27495#event-28476571444
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
July 25, 2026 15:30https://github.com/coder/coder/pull/27495#event-28477927497
https://github.com/hugodutka
hugodutkahttps://github.com/hugodutka
Jul 28, 2026 https://github.com/coder/coder/pull/27495#pullrequestreview-4796783574
View reviewed changes https://github.com/coder/coder/pull/27495/files
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/bdc295f2d0634d9da3315ee6700025ce6914e9b8..f4c9360d4a68d1bf6ad0bc911c8990d502e41a64
bdc295fhttps://github.com/coder/coder/commit/bdc295f2d0634d9da3315ee6700025ce6914e9b8
f4c9360https://github.com/coder/coder/commit/f4c9360d4a68d1bf6ad0bc911c8990d502e41a64
Compare https://github.com/coder/coder/compare/bdc295f2d0634d9da3315ee6700025ce6914e9b8..f4c9360d4a68d1bf6ad0bc911c8990d502e41a64
July 28, 2026 16:11https://github.com/coder/coder/pull/27495#event-28610101863
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#event-28610110524
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#event-28610697589
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/f4c9360d4a68d1bf6ad0bc911c8990d502e41a64..6ba945466a8ea13953d7fb712db4a7713541648d
f4c9360https://github.com/coder/coder/commit/f4c9360d4a68d1bf6ad0bc911c8990d502e41a64
6ba9454https://github.com/coder/coder/commit/6ba945466a8ea13953d7fb712db4a7713541648d
Compare https://github.com/coder/coder/compare/f4c9360d4a68d1bf6ad0bc911c8990d502e41a64..6ba945466a8ea13953d7fb712db4a7713541648d
July 28, 2026 16:50https://github.com/coder/coder/pull/27495#event-28612017341
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#issuecomment-5107432496
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 28, 2026https://github.com/coder/coder/pull/27495#issuecomment-5107472633
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
fix(coderd/database): order the chat prompt query and its boundary by id #27619 https://github.com/coder/coder/pull/27619
fix(site/src/pages/AgentsPage): order chat transcript by message id #27620 https://github.com/coder/coder/pull/27620
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#event-28624605486
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/1e49a5edc3fc7326bd13dd8e7aeb3877b1d9b0ad..026bb956ff87524e0125eb395575e658db63c25c
1e49a5ehttps://github.com/coder/coder/commit/1e49a5edc3fc7326bd13dd8e7aeb3877b1d9b0ad
026bb95https://github.com/coder/coder/commit/026bb956ff87524e0125eb395575e658db63c25c
Compare https://github.com/coder/coder/compare/1e49a5edc3fc7326bd13dd8e7aeb3877b1d9b0ad..026bb956ff87524e0125eb395575e658db63c25c
July 28, 2026 22:58https://github.com/coder/coder/pull/27495#event-28627408630
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#issuecomment-5110640079
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 28, 2026 https://github.com/coder/coder/pull/27495#pullrequestreview-4802582073
View reviewed changes https://github.com/coder/coder/pull/27495/files
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/27495#pullrequestreview-4802582073
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
coderd/database/queries/chats.sqlhttps://github.com/coder/coder/pull/27495/files#diff-deaf675e579bf51b32df4a6af79415d37d3eb443281fa2c4321abfda2dd2f621
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 28, 2026https://github.com/coder/coder/pull/27495#issuecomment-5110771837
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 28, 2026https://github.com/coder/coder/pull/27495#issuecomment-5110801743
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
ibetitsmikehttps://github.com/ibetitsmike
July 29, 2026 06:36https://github.com/coder/coder/pull/27495#commits-pushed-83e74a1
https://github.com/ibetitsmike
fix(coderd/database): correlate chat message ids to batch input orderhttps://github.com/coder/coder/pull/27495/commits/83e74a18615307fb27b4d44dcb6ac14bc9416367
83e74a1https://github.com/coder/coder/pull/27495/commits/83e74a18615307fb27b4d44dcb6ac14bc9416367
https://github.com/ibetitsmike
fix(coderd/database): order stream and last-message chat queries by idhttps://github.com/coder/coder/pull/27495/commits/2e1aa66183801df06763666ef5bbca74793af83e
2e1aa66https://github.com/coder/coder/pull/27495/commits/2e1aa66183801df06763666ef5bbca74793af83e
https://github.com/ibetitsmike
test(coderd/database): tighten chat message ordering comments and fix…https://github.com/coder/coder/pull/27495/commits/5d4893f1af9e4340cf1007af6a3b99cdbf818a18
5d4893fhttps://github.com/coder/coder/pull/27495/commits/5d4893f1af9e4340cf1007af6a3b99cdbf818a18
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
force-pushedhttps://github.com/coder/coder/compare/026bb956ff87524e0125eb395575e658db63c25c..5d4893f1af9e4340cf1007af6a3b99cdbf818a18
026bb95https://github.com/coder/coder/commit/026bb956ff87524e0125eb395575e658db63c25c
5d4893fhttps://github.com/coder/coder/commit/5d4893f1af9e4340cf1007af6a3b99cdbf818a18
Compare https://github.com/coder/coder/compare/026bb956ff87524e0125eb395575e658db63c25c..5d4893f1af9e4340cf1007af6a3b99cdbf818a18
July 29, 2026 07:05https://github.com/coder/coder/pull/27495#event-28643156250
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 29, 2026https://github.com/coder/coder/pull/27495#issuecomment-5114327782
#27316https://github.com/coder/coder/pull/27316
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 29, 2026https://github.com/coder/coder/pull/27495#issuecomment-5114330253
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
July 29, 2026 07:09https://github.com/coder/coder/pull/27495#event-28643330551
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 29, 2026 https://github.com/coder/coder/pull/27495#pullrequestreview-4805042236
View reviewed changes https://github.com/coder/coder/pull/27495/files/5d4893f1af9e4340cf1007af6a3b99cdbf818a18
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/27495#pullrequestreview-4805042236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
coderd/database/queries/chats.sqlhttps://github.com/coder/coder/pull/27495/files/5d4893f1af9e4340cf1007af6a3b99cdbf818a18#diff-deaf675e579bf51b32df4a6af79415d37d3eb443281fa2c4321abfda2dd2f621
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
e96d864https://github.com/coder/coder/commit/e96d8646e2574434108c82f64f7c338eb01ac634
Jul 29, 2026https://github.com/coder/coder/pull/27495#event-28643691533
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
July 29, 2026 07:17https://github.com/coder/coder/pull/27495#event-28643693060
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 29, 2026https://github.com/coder/coder/pull/27495#event-28643712042
https://github.com/ibetitsmike
ibetitsmikehttps://github.com/ibetitsmike
Jul 29, 2026https://github.com/coder/coder/pull/27495#issuecomment-5114450605
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F27495
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/coder/coder/pull/27495/files/5d4893f1af9e4340cf1007af6a3b99cdbf818a18
https://github.com/hugodutka
hugodutka https://github.com/hugodutka
https://github.com/coder/coder/pull/27495/files/bdc295f2d0634d9da3315ee6700025ce6914e9b8
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
ibetitsmike https://github.com/ibetitsmike
Please reload this pagehttps://github.com/coder/coder/pull/27495
https://github.com/ibetitsmike
https://github.com/hugodutka
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.