Skip to content

fix: upload input v4, identify File on error and on dismiss - #400

Open
tomrndom wants to merge 1 commit into
mainfrom
fix/upload-v4-error-file-6
Open

tomrndom wants to merge 1 commit into
mainfrom
fix/upload-v4-error-file-6

Conversation

@tomrndom

@tomrndom tomrndom commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ref: https://app.clickup.com/t/9014802374/86bd1y0qx

this is based on the comments from fntechgit/call-for-presentations#106 (comment) and pointing to v6 as commented in #399

Signed-off-by: Tomás Castillo tcastilloboireau@gmail.com

Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
@tomrndom tomrndom self-assigned this Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1139e5a2-68d4-4ae8-b5fd-9c846873f721
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@santipalenque santipalenque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@caseylocker caseylocker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests pass here (95/95), and the three new assertions fail against main, so they cover the change.

Same as Sebastian's note on #399 (r4680580738): the doc block says each File is "later reported once", but a failed file that is dismissed gets onError and then onRemove, and a delivered row that is deleted gets onUploadComplete and then onRemove. His suggested wording fits. Passing the File as a fourth onUploadComplete argument would also let CFP drop the original_name and size match. Please keep #399 and #400 identical.

For CFP #106: once this ships, onUploadError needs to use the new fourth argument. If it keeps removing the first running entry, a two-file failure followed by a dismiss removes both entries while the other file is still uploading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants