Upload resume, blind resume and video when adding an application by hand #292
All Vouch review confidence checks passed
Residual risk 0.31 = Change Risk (0.52) × (1 − Review Confidence (0.40)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 72% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #292"
general
weight: 0.35
greptile-apps[bot]
What changed
Applications → Add Application asked for links to the resume and video. An admin entering an application by hand usually has the files, not links. The form now takes:
| Field | Before | After |
|---|---|---|
| Resume | URL (required) | PDF upload (required, 10 MB) |
| Blind resume | not on the form | PDF upload (optional, 10 MB) |
| Short answer | textarea | textarea, labelled as a pasted response |
| Video | URL | file upload (.mp4 .mov .m4v .webm, 500 MB) with a progress bar |
Headshot and cover letter are still links.
How it works
ResumeUpload, so "Replace resume" later keeps its history.resumesbucket (services/applicationDocuments.js). No new table and no migration: like a Drive file, one is readable only while an application'sblindResumeUrlorvideoUrlnames it. Staff may open any such document, an applicant only their own./api. The browser gets a signed upload URL fromPOST /api/application-documents/video-uploads(admin only) and sends the file straight to Supabase Storage. The manual route is then given the document id and checks the file is really there. Playback streams it in 4 MB ranges, the same as a Drive video.POST /api/applications/manualaccepts multipart, and still accepts JSON with links.Evidence
Not done: a screenshot of the form, and a full run in the browser. Creating an application for real writes to the production database, so that is left for a reviewer to try.
Worth knowing
scripts/transcode-videos.jsonly understands Drive URLs, so it will report an uploaded video as unparsed and leave it alone. A .mov uploaded this way is played as it was uploaded.🤖 Generated with Claude Code
<!-- greptile_comment -->
<!-- greptile_summary -->
<h2><a href="https://app.greptile.com/api/retrigger?id=74169743"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img alt="Retrigger" src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2" align="right"></picture></a>Confidence Score: 4/5</h2>
<!-- greptile-risk -->
The PR is not ready to merge while cleanup can delete a video that a concurrently completing application save references.
<h2><a href="https://app.greptile.com/ide/claude-code?prompt=%23%23%23%20Issue%201%0Aserver%2Fsrc%2Froutes%2FapplicationDocuments.js%3A100-102%0AIf%20a%20manual%20application%20save%20is%20still%20completing%20when%20the%20form%20sends%20this%20cleanup%20request-for%20example%2C%20after%20the%20browser%20reports%20a%20network%20error-the%20reference%20check%20can%20find%20no%20application%20yet.%20The%20save%20can%20then%20commit%20before%20%60removeDocument%60%20runs%2C%20leaving%20the%20saved%20application%20pointing%20to%20a%20deleted%20video.%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&repo=uconsulting-ats-dev-team%2Fuc-ats&pr=292&platform=github"><picture><source media="(prefers-color-scheme: dark)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaudeDark.svg?v=7"><source media="(prefers-color-scheme: light)" srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaude.svg?v=7"><img alt="Fix All in Claude Code" src="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInClaude.svg?v=7" align="right"></picture></a>Findings</h2>
1. <img alt="P1" src="https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=9" align="top"> Cleanup can delete saved videos <a href="https://github.com/UConsulting-ATS-Dev-Team/uc-ats/pull/292#discussion_r4175155682">▶</a>
<h3>Summary</h3>
The PR replaces manual-application resume and video links with uploads, adds private document delivery, and makes uploaded resumes available through partner assignments. Since the previous review, it also adds sealed-record checks, upload cancellation and cleanup, and partner PDF resolution.
<details open><summary>Diagram</summary>
</details>
<!-- greptile_confidence_score:4 -->
<sub>Reviews (2) · Last reviewed commit: "Seal uploaded documents, cancel on close..."</sub>
<!-- /greptile_comment -->