• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / CoPilot-For-Consensus / 20382816326 / 15
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2025 09:28PM UTC
Files 5
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Dec 2025 09:18PM UTC coverage: 65.385%. Remained the same
20382816326.15

push

github

web-flow
Add file upload endpoint and UI for local mailbox ingestion (#467)

* Initial plan

* Add backend upload endpoint and UI file picker

- Added POST /api/uploads endpoint to ingestion service
- Implements file validation (type, size limits up to 100MB)
- Sanitizes filenames to prevent path traversal
- Saves uploads to /data/raw_archives/uploads
- Added file picker UI component for local source type
- Shows upload progress with progress bar
- Auto-fills URL field with server path after upload
- Updated NGINX config with 100MB client_max_body_size
- Added comprehensive unit tests for upload endpoint

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add python-multipart dependency for file uploads

- Added python-multipart to ingestion requirements.txt
- All upload endpoint tests passing (6/6)
- Tests cover file validation, sanitization, and error cases

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Add documentation for file upload feature

- Updated ingestion README with upload endpoint examples
- Added UI upload workflow documentation
- Documented upload directory structure
- Included curl examples for API usage

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Remove merge conflict markers from styles.css

- Cleaned up git merge conflict markers
- Code review feedback addressed

Co-authored-by: Alan-Jowett <20480683+Alan-Jowett@users.noreply.github.com>

* Address PR review feedback: Fix compound extensions and add tests

- Add _split_extension() helper to properly handle .tar.gz and .tgz
- Validate file extension after sanitization to prevent bypass
- Fix duplicate filename handling to preserve compound extensions
- Fix filename truncation to preserve compound extensions
- Change python-multipart version from == to >= for compatibility
- Add test for file size limit validation (>100MB -> 413 error)
- Add test for compound extension preservation (.tar.gz)

Co-a... (continued)

289 of 442 relevant lines covered (65.38%)

0.65 hits per line

Source Files on job copilot_storage - 20382816326.15
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20382816326
  • 9112f90f on github
  • Prev Job for on main (#20362179174.11)
  • Next Job for on main (#20383534207.10)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc