René's URL Explorer Experiment


Title: mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log line · Issue #2007 · developing-today/code · GitHub

Open Graph Title: mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log line · Issue #2007 · developing-today/code

X Title: mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log line · Issue #2007 · developing-today/code

Description: Finding daemon.Server.taskStore() (pkgs/mcpx/internal/daemon/ops.go, current main 77918e0f) opens the durable SQLite task store and drops the error unconditionally: if s.paths.State != "" { dbPath := filepath.Join(s.paths.State, "tasks.d...

Open Graph Description: Finding daemon.Server.taskStore() (pkgs/mcpx/internal/daemon/ops.go, current main 77918e0f) opens the durable SQLite task store and drops the error unconditionally: if s.paths.State != "" { dbPath ...

X Description: Finding daemon.Server.taskStore() (pkgs/mcpx/internal/daemon/ops.go, current main 77918e0f) opens the durable SQLite task store and drops the error unconditionally: if s.paths.State != ""...

Opengraph URL: https://github.com/developing-today/code/issues/2007

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log line","articleBody":"## Finding\n\n`daemon.Server.taskStore()` (`pkgs/mcpx/internal/daemon/ops.go`, current main `77918e0f`) opens the durable SQLite task store and **drops the error unconditionally**:\n\n```go\nif s.paths.State != \"\" {\n    dbPath := filepath.Join(s.paths.State, \"tasks.db\")\n    if store, err := tasks.Open(dbPath); err == nil {\n        s.tasks = store\n    }\n}\nif s.tasks == nil {\n    s.tasks = tasks.New()   // in-memory fallback, no log, no record\n}\n```\n\nThere is no log call anywhere in the function. The daemon has a logger and uses it for exactly this kind of degradation elsewhere (`pkgs/mcpx/internal/daemon/server.go`: `opts.Logger.Printf(\"elicitation disabled: %v\", berr)`), but a failed task-store open is completely silent. Because creation is `sync.Once`, the fallback is also **sticky for the life of the process**: a transient failure at first use downgrades the daemon permanently, with no retry.\n\n## Evidence\n\n- PR: https://github.com/developing-today/code/pull/1575 (merged, commits `508fb8be`, `516df392`) — \"one durable task store across MCP and /v1, Phase 1 of #1554\". It wired this store into the MCP surface (`internal/cli/root.go`: `a.daemonStore = srv.TaskStore()`, called eagerly at daemon startup; `internal/cli/serve.go`: `srv.TaskStore = a.daemonStore`) and **closed the conformance gap** `ext-tasks-durable-before-response` in `pkgs/mcpx/docs/spec/conformance-matrix.md` on the strength of this store (\"the task store is an in-memory map; a task does not survive the daemon\" → now marked tested via `TestInjectedStoreKeepsMCPTasksAcrossReopen`).\n- `tasks.Open` (`pkgs/mcpx/internal/tasks/tasks.go:148-166`) returns real errors: `os.MkdirAll` failure on the state dir, `initDB` schema-exec failure, and `loadTasksFromDB` query failure — i.e. an unwritable state directory or a **corrupt `tasks.db`** both reach the silent branch.\n- Verified on current main `77918e0f` (2026-10-28): the function is byte-identical; no logging, no metric, no status surface records the fallback. Deduped against open + closed issues 2026-10-28: no issue covers this fallback (the silent in-memory fallback for `/v1` predates #1575; #1575 is what extended it to MCP tasks and based a conformance closure on it).\n\n## Why it matters\n\nWhen the open fails, three things go wrong at once, all invisibly:\n\n1. Every task already persisted in `tasks.db` becomes unreachable — the daemon never opened the file, so MCP and `/v1` both report those tasks as unknown.\n2. Every new task is memory-only and evaporates on daemon restart — precisely the failure the conformance matrix now says is covered.\n3. Nobody can diagnose it: no log line names the path or the error, so the symptom (\"tasks disappeared\") has no on-box evidence trail.\n\n## Acceptance criteria\n\n- [ ] A failed `tasks.Open` in `taskStore()` is logged once via the daemon logger (`s.logger`), naming the db path and the underlying error, before the in-memory fallback is installed.\n- [ ] A regression test pins it: a daemon server whose `tasks.db` cannot be opened (e.g. corrupt file contents or an unusable state path) falls back **and** emits the log line; the successful-open path stays silent-or-unchanged and still returns the one shared store instance.\n- [ ] The fallback remains a fallback (daemon keeps serving) — this issue asks for visibility, not a hard failure.\n- [ ] Existing task-store tests keep passing (`internal/daemon/taskstore_shared_test.go`, `internal/mcpserver/tasks_shared_store_test.go`).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-28T23:55:50Z","url":"https://github.com/developing-today/code/issues/2007"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2a4a0e13-5ebb-a960-9ade-7d146302433b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE59C:1D51B:37504F:4F11F0:6B064EB3
html-safe-noncef39514db96d87ec95916c0ecc852004babcd950855f3044a465b6f3f8071c092
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTlDOjFENTFCOjM3NTA0Rjo0RjExRjA6NkIwNjRFQjMiLCJ2aXNpdG9yX2lkIjoiMTQ2MzI4Mjk4NTc0MTk5NTY5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf3d2f9874efc1114957bf6f0281afb119dbafcdff779260aa20df9c54644124c
hovercard-subject-tagissue:6089744792
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2007/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8c9205f4c7fa9851b85307e5c337bc159519fbcd3bfc29a49c547697dec8bf3f/developing-today/code/issues/2007
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c9205f4c7fa9851b85307e5c337bc159519fbcd3bfc29a49c547697dec8bf3f/developing-today/code/issues/2007
og:image:altFinding daemon.Server.taskStore() (pkgs/mcpx/internal/daemon/ops.go, current main 77918e0f) opens the durable SQLite task store and drops the error unconditionally: if s.paths.State != "" { dbPath ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/2007#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2007
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%2Fdeveloping-today%2Fcode%2Fissues%2F2007
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/2007
Reloadhttps://github.com/developing-today/code/issues/2007
Reloadhttps://github.com/developing-today/code/issues/2007
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests177 (177)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2007
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2007
mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log linehttps://github.com/developing-today/code/issues/2007#top
https://github.com/dezren39
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 28, 2026https://github.com/developing-today/code/issues/2007#issue-6089744792
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
design(mcpx): tasks, finished — one task store for MCP and /v1, and a client that can call task-required tools #1554https://github.com/developing-today/code/issues/1554
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
Nexthttps://github.com/developing-today/code/issues/2007?timeline_page=1
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 28, 2026https://github.com/developing-today/code/issues/2007#issuecomment-6483875665
developing.todayhttps://kaneo.security.cab
CODE-928https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/ip7g21s6b769dt3breovys05
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
on Oct 28, 2026https://github.com/developing-today/code/issues/2007#event-34532592475
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 28, 2026https://github.com/developing-today/code/issues/2007#issuecomment-6483880947
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
77918e0https://github.com/developing-today/code/commit/77918e0f7ab2bd27296866ae8a2bdcf055d95a4b
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2007#event-34535102911
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 1, 2026https://github.com/developing-today/code/issues/2007#event-34816164293
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 1, 2026https://github.com/developing-today/code/issues/2007#event-34859231411
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 1, 2026https://github.com/developing-today/code/issues/2007#issuecomment-6565195167
fix(mcpx): log task store open fallback #4055https://github.com/developing-today/code/pull/4055
fix(mcpx): log task store open fallback #4055https://github.com/developing-today/code/pull/4055
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 3, 2026https://github.com/developing-today/code/issues/2007#event-35035944948
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/2007#issuecomment-6609676486
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 4, 2026https://github.com/developing-today/code/issues/2007#issuecomment-6619931377
mcpx(daemon): task-store Open failure silently falls back to in-memory — durability claimed by PR #1575 can vanish with no log line #2007https://github.com/developing-today/code/issues/2007
fix(mcpx): log task store open fallback #4055https://github.com/developing-today/code/pull/4055
fix(mcpx): log task store open fallback #4055https://github.com/developing-today/code/pull/4055
fix(mcpx): log task store open fallback #4055https://github.com/developing-today/code/pull/4055
mcpx: one durable task store across MCP and /v1 — Phase 1 of #1554 (#1555) #1575https://github.com/developing-today/code/pull/1575
dezren39https://github.com/dezren39
user/reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Freview%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
status/triagedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Ftriaged%22
on Nov 4, 2026https://github.com/developing-today/code/issues/2007#event-35082675416
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 4, 2026https://github.com/developing-today/code/issues/2007#event-35082679480
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/2007
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2007
dezren39https://github.com/dezren39
app/mcpxhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fmcpx%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.