René's URL Explorer Experiment


Title: id(web): classify_tag treats any 'auto-' filename as an auto-backup — auto-notes.txt renders with an 'auto: ?' badge and sorts out of the primary list · Issue #809 · developing-today/code · GitHub

Open Graph Title: id(web): classify_tag treats any 'auto-' filename as an auto-backup — auto-notes.txt renders with an 'auto: ?' badge and sorts out of the primary list · Issue #809 · developing-today/code

X Title: id(web): classify_tag treats any 'auto-' filename as an auto-backup — auto-notes.txt renders with an 'auto: ?' badge and sorts out of the primary list · Issue #809 · developing-today/code

Description: Problem In the id web UI, any file whose name starts with auto- is classified as an auto-backup, even when the rest of the name is not a timestamp at all. A user's ordinary file named e.g. auto-notes.txt, auto-2026-report.md or auto-draf...

Open Graph Description: Problem In the id web UI, any file whose name starts with auto- is classified as an auto-backup, even when the rest of the name is not a timestamp at all. A user's ordinary file named e.g. auto-not...

X Description: Problem In the id web UI, any file whose name starts with auto- is classified as an auto-backup, even when the rest of the name is not a timestamp at all. A user's ordinary file named e.g. auto...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(web): classify_tag treats any 'auto-' filename as an auto-backup — auto-notes.txt renders with an 'auto: ?' badge and sorts out of the primary list","articleBody":"## Problem\n\nIn the id web UI, **any** file whose name starts with `auto-` is classified as an auto-backup, even when the rest of the name is not a timestamp at all. A user's ordinary file named e.g. `auto-notes.txt`, `auto-2026-report.md` or `auto-draft` is treated as `FileKind::Auto` instead of `FileKind::Primary`.\n\n## Evidence (verified on main aa853c40)\n\n`pkgs/id/src/web/routes.rs:150-157` — `classify_tag` returns Auto unconditionally on the prefix; the parsed timestamp is discarded-or-None with no gate:\n\n```rust\nfn classify_tag(name: &str) -> (FileKind, Option\u003cu64>) {\n    // Check for auto-backup: \"auto-{ISO_DATE}\"\n    if let Some(iso_str) = name.strip_prefix(\"auto-\") {\n        // Try to parse the ISO date to extract a unix timestamp\n        // Format: 2026-03-12T06:42:30.015Z\n        let ts = parse_iso_timestamp(iso_str);\n        return (FileKind::Auto, ts);   // Auto even when ts is None\n    }\n    ...\n```\n\nThe doc comment on `FileKind::Auto` (routes.rs:114) defines the kind as matching `auto-{ISO_DATE}` — a name whose remainder does not parse as an ISO date does not match that pattern, yet is classified Auto anyway.\n\nExisting tests cover only the well-formed case (`test_classify_tag_auto`, routes.rs:2424-2428, `auto-2026-03-12T06:42:30.015Z`). There is no test for an `auto-` name with a non-date remainder. (Contrast the `.archive.` branch: its no-timestamp behavior is deliberate and pinned by `test_classify_tag_archive_no_timestamp`, routes.rs:2438-2443 — this issue is only about the `auto-` branch, which has no such pinning test or comment.)\n\n## Why it matters\n\nClassification drives user-visible behavior for a misclassified primary file:\n\n- **Sorting**: the file list sorts primaries first (alphabetically), then Auto files by timestamp descending (`get_file_list`, routes.rs ~786-806). A misclassified file drops out of the alphabetical primary list into the backup group, with `timestamp: None` sorting as 0.\n- **Badge**: the file list renders an `auto: {parent}` badge for Auto files (templates.rs:232-238); with no same-hash primary, `parent_name` is `None` and the badge renders literally as `auto: ?`.\n- **Parent resolution**: only Primary names populate the hash→primary map (routes.rs ~733-736), and `get_file_name` \"preferring primary names\" (routes.rs ~884-910) will not prefer the misclassified file's name for its hash.\n\n`auto-` is a plausible prefix for real user files (auto-generated reports, `auto-save` notes, vehicle/insurance documents, etc.), so this is not a theoretical name shape.\n\n## Suggested fix\n\nOnly classify as Auto when the remainder actually parses:\n\n```rust\nif let Some(iso_str) = name.strip_prefix(\"auto-\") {\n    if let Some(ts) = parse_iso_timestamp(iso_str) {\n        return (FileKind::Auto, Some(ts));\n    }\n    // fall through: an `auto-` name that is not an ISO date is a primary file\n}\n```\n\nNote: this composes with #756 — once `parse_iso_timestamp` validates ranges, names like `auto-2026-13-40T99:99:99Z` also stop being Auto, which is the correct outcome under the same rule.\n\n## Acceptance criteria\n\n- [ ] `classify_tag(\"auto-notes.txt\")`, `classify_tag(\"auto-2026-report.md\")` and `classify_tag(\"auto-\")` return `FileKind::Primary` with `None` timestamp.\n- [ ] `classify_tag(\"auto-2026-03-12T06:42:30.015Z\")` still returns `FileKind::Auto` with `Some(ts)` (existing test keeps passing).\n- [ ] New regression tests cover the non-date `auto-` shapes; the `.archive.` branch behavior is unchanged.\n- [ ] Web unit tests pass (`cargo test` for the web routes module).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T20:14:37Z","url":"https://github.com/developing-today/code/issues/809"}

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:4da44cfc-439f-ee9f-667e-a346c47d2e04
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD512:4C535:5D8CB4:7DAF2C:6B06278B
html-safe-nonce387de0bc30d5df22ade79228b54122523be7e424d398ebddf5e05980628243a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTEyOjRDNTM1OjVEOENCNDo3REFGMkM6NkIwNjI3OEIiLCJ2aXNpdG9yX2lkIjoiNjg5MzE0NzczMjc1Mjg2OTI1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3a35b4742aac5794b9e7322799c53b5edd1d13be407a0aeaa3d8fc29625ba94a
hovercard-subject-tagissue:6017145530
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/809/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8c09749ab0d440b1952ea45273d11304dfb027f140ef12388594bc34d237e611/developing-today/code/issues/809
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c09749ab0d440b1952ea45273d11304dfb027f140ef12388594bc34d237e611/developing-today/code/issues/809
og:image:altProblem In the id web UI, any file whose name starts with auto- is classified as an auto-backup, even when the rest of the name is not a timestamp at all. A user's ordinary file named e.g. auto-not...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce
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
release32e57d5cc2ce6ce92ec6dceb65858344750c27c2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/809#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F809
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%2F809
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/809
Reloadhttps://github.com/developing-today/code/issues/809
Reloadhttps://github.com/developing-today/code/issues/809
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 requests147 (147)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/809
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/809
#810https://github.com/developing-today/code/pull/810
id(web): classify_tag treats any 'auto-' filename as an auto-backup — auto-notes.txt renders with an 'auto: ?' badge and sorts out of the primary listhttps://github.com/developing-today/code/issues/809#top
#810https://github.com/developing-today/code/pull/810
https://github.com/dezren39
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/809#issue-6017145530
aa853c4https://github.com/developing-today/code/commit/aa853c40307c5b81072ffaf6b9aa176005b6c38f
#756https://github.com/developing-today/code/issues/756
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 24, 2026https://github.com/developing-today/code/issues/809#issuecomment-6389021411
developing.todayhttps://kaneo.security.cab
CODE-121https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/b3dkuv0ttealqzwpmuvd5bjr
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/809#event-34147463195
developing-todayhttps://github.com/apps/developing-today
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Oct 24, 2026https://github.com/developing-today/code/issues/809#event-34148423079
dezren39https://github.com/dezren39
on Oct 25, 2026https://github.com/developing-today/code/issues/809#event-34156479105
style(id-web): rustfmt the #809 classify_tag regression testhttps://github.com/developing-today/code/commit/8fc8c38a6ca032266a9d00b61ae3bff0dbd51e75
#809https://github.com/developing-today/code/issues/809
8fc8c38https://github.com/developing-today/code/commit/8fc8c38a6ca032266a9d00b61ae3bff0dbd51e75
fix(id/web): classify_tag only treats auto-{ISO_DATE} names as auto-b…https://github.com/developing-today/code/commit/8eff40b676e11c5beaf476457929d38c02ea5cbc
8eff40bhttps://github.com/developing-today/code/commit/8eff40b676e11c5beaf476457929d38c02ea5cbc
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#810https://github.com/developing-today/code/pull/810
on Oct 25, 2026https://github.com/developing-today/code/issues/809#event-34167473411
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/809
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/809
dezren39https://github.com/dezren39
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%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.