Skip to content

Add CSV import/export functionality to task arguments dialog#1890

Open
Mbeaulne wants to merge 1 commit into03-04-bulk_submissionsfrom
03-04-bulk_argument_upload
Open

Add CSV import/export functionality to task arguments dialog#1890
Mbeaulne wants to merge 1 commit into03-04-bulk_submissionsfrom
03-04-bulk_argument_upload

Conversation

@Mbeaulne
Copy link
Collaborator

@Mbeaulne Mbeaulne commented Mar 4, 2026

Description

Added CSV import and export functionality to the task arguments dialog. Users can now download a CSV template with current argument values and import CSV files to populate pipeline inputs. The import supports both single-row (direct value assignment) and multi-row (bulk submission) formats. Secret inputs are automatically excluded from CSV operations for security. The system provides feedback on successful imports, unmatched columns, and skipped secret fields.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

bulk_sub.mov (uploaded via Graphite)

Test Instructions

  1. Open a pipeline submission dialog
  2. Click "Template" button to download a CSV template with current argument values
  3. Modify the CSV file with test data (single row for direct import, multiple rows for bulk)
  4. Click "Import CSV" button and select the modified file
  5. Verify that arguments are populated correctly and bulk mode is enabled for multi-row imports
  6. Test with CSV containing unmatched columns and verify warning messages
  7. Test with pipelines containing secret inputs to ensure they are properly excluded

Additional Comments

The CSV parser implements RFC 4180 standards, handling quoted fields with commas and escaped quotes. Comprehensive test coverage is included for all parsing and mapping functionality.

@github-actions
Copy link

github-actions bot commented Mar 4, 2026

🎩 To tophat this PR:

You can add the following URL parameter to your browser to tophat this PR:

`?tophat_location=03-04-bulk_argument_upload/c34183c`

Copy link
Collaborator Author

Mbeaulne commented Mar 4, 2026

@Mbeaulne Mbeaulne changed the title bulk argument upload Add CSV import/export functionality to task arguments dialog Mar 4, 2026
@Mbeaulne Mbeaulne marked this pull request as ready for review March 4, 2026 18:12
@Mbeaulne Mbeaulne requested a review from a team as a code owner March 4, 2026 18:12
@Mbeaulne Mbeaulne force-pushed the 03-04-bulk_argument_upload branch 2 times, most recently from c288112 to bfeb63a Compare March 4, 2026 18:26
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.

1 participant