René's URL Explorer Experiment


Title: fix: reconcile chat context dirty markers by mafredri · Pull Request #31839 · coder/coder · GitHub

Open Graph Title: fix: reconcile chat context dirty markers by mafredri · Pull Request #31839 · coder/coder

X Title: fix: reconcile chat context dirty markers by mafredri · Pull Request #31839 · coder/coder

Description: Secure environments for developers and their agents - fix: reconcile chat context dirty markers by mafredri · Pull Request #31839 · coder/coder

Open Graph Description: A context change followed by a revert left the dirty marker set, while chats with status error missed dirty marking and in-workspace refresh. Compare pushed and pinned aggregate hashes to set or cl...

X Description: A context change followed by a revert left the dirty marker set, while chats with status error missed dirty marking and in-workspace refresh. Compare pushed and pinned aggregate hashes to set or cl...

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

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:bc22ff75-17db-5484-8bbc-677888c4c1b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEEE:23CF06:1CFBDE9:24F6FF7:6B014A83
html-safe-nonce1c97f96c89149eecf8b3125d72de1eda1a78c536d093d3847d84ab9ecf8de9aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUVFOjIzQ0YwNjoxQ0ZCREU5OjI0RjZGRjc6NkIwMTRBODMiLCJ2aXNpdG9yX2lkIjoiMjgxNTM1MDk5OTg5ODczNzI4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb5946070d3ef8c9fe6c233ff4dffa8dc86e8bff4a8d5456ad4313d97e6ad0188
hovercard-subject-tagpull_request:5189010533
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/31839/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bd716bb1079d1b9d170358e9312ca680254410a20928f794bc14f5048189cfca/coder/coder/pull/31839
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd716bb1079d1b9d170358e9312ca680254410a20928f794bc14f5048189cfca/coder/coder/pull/31839
og:image:altA context change followed by a revert left the dirty marker set, while chats with status error missed dirty marking and in-workspace refresh. Compare pushed and pinned aggregate hashes to set or cl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
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/31839#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31839
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%2F31839
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/31839
Reloadhttps://github.com/coder/coder/pull/31839
Reloadhttps://github.com/coder/coder/pull/31839
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
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/context-dirty-marker-accuracyhttps://github.com/coder/coder/tree/mafredri/context-dirty-marker-accuracy
Conversationhttps://github.com/coder/coder/pull/31839
Commits13 (13)https://github.com/coder/coder/pull/31839/commits
Checkshttps://github.com/coder/coder/pull/31839/checks
Files changedhttps://github.com/coder/coder/pull/31839/files
fix: reconcile chat context dirty markershttps://github.com/coder/coder/pull/31839#top
mafredrihttps://github.com/mafredri
mainhttps://github.com/coder/coder/tree/main
mafredri/context-dirty-marker-accuracyhttps://github.com/coder/coder/tree/mafredri/context-dirty-marker-accuracy
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Nov 6, 2026https://github.com/coder/coder/pull/31839#issue-6244061961
Please reload this pagehttps://github.com/coder/coder/pull/31839
#31844https://github.com/coder/coder/pull/31844
#31226https://github.com/coder/coder/pull/31226
Please reload this pagehttps://github.com/coder/coder/pull/31839
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
mafredrihttps://github.com/mafredri
Nov 6, 2026https://github.com/coder/coder/pull/31839#event-35354566626
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/fd0fc133e08ec402c4bd37a33d5dd14dc2c53bba..69fa9409cc30b9d5be199dacccdfaacc615365fb
fd0fc13https://github.com/coder/coder/commit/fd0fc133e08ec402c4bd37a33d5dd14dc2c53bba
69fa940https://github.com/coder/coder/commit/69fa9409cc30b9d5be199dacccdfaacc615365fb
Compare https://github.com/coder/coder/compare/fd0fc133e08ec402c4bd37a33d5dd14dc2c53bba..69fa9409cc30b9d5be199dacccdfaacc615365fb
November 6, 2026 14:22https://github.com/coder/coder/pull/31839#event-35356265770
fix(coderd): adopt context from the latest workspace build #31844 https://github.com/coder/coder/pull/31844
fix: preserve chat context until a new build's agent pushes #31846 https://github.com/coder/coder/pull/31846
fix: honor removal of automatic context scan roots #31833 https://github.com/coder/coder/pull/31833
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/69fa9409cc30b9d5be199dacccdfaacc615365fb..7db3c873ebab0ae7badedb1fa479e812fa7e1317
69fa940https://github.com/coder/coder/commit/69fa9409cc30b9d5be199dacccdfaacc615365fb
7db3c87https://github.com/coder/coder/commit/7db3c873ebab0ae7badedb1fa479e812fa7e1317
Compare https://github.com/coder/coder/compare/69fa9409cc30b9d5be199dacccdfaacc615365fb..7db3c873ebab0ae7badedb1fa479e812fa7e1317
November 6, 2026 16:49https://github.com/coder/coder/pull/31839#event-35369698186
https://github.com/mafredri
mafredrihttps://github.com/mafredri
Nov 6, 2026https://github.com/coder/coder/pull/31839#event-35369700006
mafredrihttps://github.com/mafredri
November 6, 2026 18:27https://github.com/coder/coder/pull/31839#commits-pushed-eb99b6f
https://github.com/mafredri
fix(coderd): reconcile chat context drifthttps://github.com/coder/coder/pull/31839/commits/eb99b6f1a511cd53e44611940aa0362787e06f0d
eb99b6fhttps://github.com/coder/coder/pull/31839/commits/eb99b6f1a511cd53e44611940aa0362787e06f0d
https://github.com/mafredri
fix(site): show context refresh only for drifthttps://github.com/coder/coder/pull/31839/commits/5c7a4ac4d7babda0ac2bb16119edeafa2fb48b4a
5c7a4achttps://github.com/coder/coder/pull/31839/commits/5c7a4ac4d7babda0ac2bb16119edeafa2fb48b4a
https://github.com/mafredri
fix: synchronize live chat context updateshttps://github.com/coder/coder/pull/31839/commits/5da2afba7258deabbf6136e26e13aa6f8d31b823
5da2afbhttps://github.com/coder/coder/pull/31839/commits/5da2afba7258deabbf6136e26e13aa6f8d31b823
https://github.com/mafredri
test(site): assert refresh is absent without drifthttps://github.com/coder/coder/pull/31839/commits/7c4ba572b7daa212de64b8faf763bed91a239f7e
7c4ba57https://github.com/coder/coder/pull/31839/commits/7c4ba572b7daa212de64b8faf763bed91a239f7e
https://github.com/mafredri
fix(site): reconcile watched context statehttps://github.com/coder/coder/pull/31839/commits/1570a3a60a04d187a84a7511b67a33b25b174669
1570a3ahttps://github.com/coder/coder/pull/31839/commits/1570a3a60a04d187a84a7511b67a33b25b174669
https://github.com/mafredri
test(coderd/x/chatd): clarify context update commentshttps://github.com/coder/coder/pull/31839/commits/78dbc0aff9db71823c49a809d2b07efa1b027b4d
78dbc0ahttps://github.com/coder/coder/pull/31839/commits/78dbc0aff9db71823c49a809d2b07efa1b027b4d
https://github.com/mafredri
fix(site/src/api/queries): clear missing watched contexthttps://github.com/coder/coder/pull/31839/commits/dd9b172baf641e03582f10845ff9db4f198b49d4
dd9b172https://github.com/coder/coder/pull/31839/commits/dd9b172baf641e03582f10845ff9db4f198b49d4
https://github.com/mafredri
fix(coderd/database/dbmock): keep generated importshttps://github.com/coder/coder/pull/31839/commits/835d8ab3735ff923b54ca8a280cc97947b4624d4
835d8abhttps://github.com/coder/coder/pull/31839/commits/835d8ab3735ff923b54ca8a280cc97947b4624d4
https://github.com/mafredri
refactor(coderd): clarify chat context updateshttps://github.com/coder/coder/pull/31839/commits/dc0e2db17c64318c5ffaaabbc658d9d48f3e4c11
dc0e2dbhttps://github.com/coder/coder/pull/31839/commits/dc0e2db17c64318c5ffaaabbc658d9d48f3e4c11
https://github.com/mafredri
refactor(site): clarify context event merginghttps://github.com/coder/coder/pull/31839/commits/b412d93378d93e500887363546f163df066e6130
b412d93https://github.com/coder/coder/pull/31839/commits/b412d93378d93e500887363546f163df066e6130
https://github.com/mafredri
docs: clarify chat context refresh behaviorhttps://github.com/coder/coder/pull/31839/commits/c42bb0f76983a9ab2c0722e942465330f25692b0
c42bb0fhttps://github.com/coder/coder/pull/31839/commits/c42bb0f76983a9ab2c0722e942465330f25692b0
https://github.com/mafredri
test(coderd/database): clarify error sync fixtureshttps://github.com/coder/coder/pull/31839/commits/3c016d6461dbe088558df8da3382ef63edd06c6b
3c016d6https://github.com/coder/coder/pull/31839/commits/3c016d6461dbe088558df8da3382ef63edd06c6b
https://github.com/mafredri
test(coderd/x/chatd): clarify context test phaseshttps://github.com/coder/coder/pull/31839/commits/adcac5d0fef62e540e0f29ec1ce925946a350733
adcac5dhttps://github.com/coder/coder/pull/31839/commits/adcac5d0fef62e540e0f29ec1ce925946a350733
https://github.com/mafredri
mafredrihttps://github.com/mafredri
force-pushedhttps://github.com/coder/coder/compare/7db3c873ebab0ae7badedb1fa479e812fa7e1317..adcac5d0fef62e540e0f29ec1ce925946a350733
7db3c87https://github.com/coder/coder/commit/7db3c873ebab0ae7badedb1fa479e812fa7e1317
adcac5dhttps://github.com/coder/coder/commit/adcac5d0fef62e540e0f29ec1ce925946a350733
Compare https://github.com/coder/coder/compare/7db3c873ebab0ae7badedb1fa479e812fa7e1317..adcac5d0fef62e540e0f29ec1ce925946a350733
November 6, 2026 18:50https://github.com/coder/coder/pull/31839#event-35379721185
https://github.com/mafredri
mafredrihttps://github.com/mafredri
stack #31871https://github.com/coder/coder/stack/31871
November 6, 2026 21:12https://github.com/coder/coder/pull/31839#event-35390730773
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Nov 13, 2026https://github.com/coder/coder/pull/31839#issuecomment-6853061788
Please reload this pagehttps://github.com/coder/coder/pull/31839
CODAGT-1584https://linear.app/codercom/issue/CODAGT-1584
CODAGT-1581https://linear.app/codercom/issue/CODAGT-1581
Please reload this pagehttps://github.com/coder/coder/pull/31839
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F31839
Please reload this pagehttps://github.com/coder/coder/pull/31839
https://github.com/mafredri
mafredri https://github.com/mafredri
Please reload this pagehttps://github.com/coder/coder/pull/31839
https://github.com/mafredri
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.