Repository navigation
Fix the visual job's 409: files that differ only by extension (CLI --keep-extension) - #45
Conversation
…es drop the extension) before sending anything, naming both; --keep-extension (and keep_extension on a visualci.yml upload) keeps extensions in names; our CI's emails upload uses it, fixing the visual job's 409 on every PR
VisualCIdocspring/visualci · build #169 · 2 changed, 34 added, 17 removed, 295 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent
This PR vs base: 2 changed, 34 added, 17 removed since #162, across 1 build
Removed: Updated as builds change. Agents can review with VisualCI's MCP tools. |
Urgent: VisualCI's own
visualjob fails on every PR, as on #42 (run 46858561842):HTTP 409 Conflict: emails/added_to_org-you-joined-acme-on-visualci was already uploaded to this build with other contentEach email is written as both
.htmland.txt, and the CLI drops the extension from names, so both becameemails/<name>. sc-8844's duplicate check now refuses the second. Main would fail on its next push too.upload(andvisualci test --upload,visualci check) refuses two files that would be the same snapshot (the same name and platform) before uploading anything. It lists each pair with both paths and suggests--keep-extensionor different--prefixvalues. Customers will hit this with .html/.txt or .png/.jpg pairs.--keep-extensionkeeps the extension in names (emails/welcome.html), andkeep_extension: truedoes the same for one of visualci.yml'suploads. The schema is regenerated.--keep-extension. The PR's build will show the emails as renamed: removed underemails/<name>, added asemails/<name>.htmland.txt. Approve those.welcome.htmlandwelcome.txtis refused with both paths named, and uploads as two snapshots with--keep-extension.The docs (CLI and config references) follow in the pin commit once 0.2.13 is released, since they mustn't describe an unreleased CLI.