Repository navigation
Conversation
… space Windows drops trailing dots and spaces when it saves a file, so an attachment named `setup.exe.` or `setup.exe ` passed the blocked file type check and was saved as a runnable `setup.exe`. Read the extension the saved file will have, the same way the Django code send check does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🚫 This pull request was removed from the merge queue because it was canceled by @Silthus. See more details here.
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
🤖 CI report✅ Trunk lane — non-backend laneThis PR is assigned to the non-backend lane. It does not run backend Python tests and may merge in parallel with PRs in other lanes. ✅ Duplication (Python) — cleanNew Python code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying. ✅ Duplication (TypeScript) — cleanNew TypeScript code duplication introduced by this branch. Fails at 70+ tokens in app code, or 150+ tokens when both copies live in test files. Advisory while the gate proves itself: extract a shared helper instead of copying. |
|
@PostHog review |
|
@Silthus PostHog Review is reviewing this pull request. |
|
Risk: No findings This increment merges current master into the branch; the PR's own change is still just the attachment-filename validator in Sentinel reviewed |
|
/trunk merge |
…name-trailing-dot
|
/trunk merge |
|
/trunk cancel |
|
Closing: #131567 removed inline email attachments from cdp-api, so the filename check this PR fixes no longer exists. Django's attachment check already reads the extension the same way. |
Problem
setup.exe..setup.exe.Changes
setup.EXE.report.pdf., which Django accepts.Caution
🔴 Merge risk: high · two-way door (merge-risk rubric)
git revert <merge commit>.How did you test this code?
Test rationale: two rows in the existing
refuses a code send withtable. Both fail on master (202).Live run against cdp-api, base and HEAD
cdp-api ran in dev mode on an ephemeral box, with PersonHog pointed at an unused address, because validation runs before any person lookup. Each request is a code send with one attachment. "Team not found" means validation passed and the flow lookup ran, because the box has no team 1.
setup.exe.setup.exesetup.EXEreport.pdfRelease status
Docs update
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Agent: Claude Code, Claude Opus 5.5 (
claude-opus-5-5)Skills:
/writing-tests,/writing-code-comments,/writing-pr-descriptionsMore context for AI agents
_extension_as_windows_saves_it./[. ]+$/, because Zod still runs refinements aftermax(255)fails.AttachmentSchemainto its own module, so its stack carries this change on its next base merge.extensionAsWindowsSavesItinnodejs/src/cdp/services/hogflows/transactional-email.ts.🤖 Generated with Claude Code