Skip to content

Conversation

@JadeCara
Copy link
Contributor

@JadeCara JadeCara commented Dec 31, 2025

Ticket ENG-2185

Description Of Changes

🎯 Add Manual Tasks for Consent
This PR updates the Consent Task Graph with Manual Tasks.

Past PRs:

  • The logging being used by manual tasks and front end data is entirely the general audit logs so the manual task log table and utilities are now redundant. ENG-2185 #7124
  • Update the Conditional Dependency table with a JSONB dictionary column. This will allow us to thoroughly test the migration without being destructive. [ENG-2185] #7133
  • Remove the extra columns and rows for conditional dependencies once the tree has been implemented and tested. Eng 2185 remove unused cols #7172
  • Allow conditional dependencies to be assigned to a specific policy type or id. Allow users to be assigned to specific submissions rather than the whole task. [ENG-2185] Adding Consent #7174

This PR:

  • Consent task graph runs Manual Tasks.

Future PRs:

  • User can indicate if the Manual task should run before or after the rest of the DAG.

Code Changes

  • .fides/db_dataset.yml - removed ManualTaskLog table
  • src/fides/api/alembic/migrations/versions/ remove the manual task table.
  • src/fides/api/db/base.py - removed un used columns
  • src/fides/api/models/digest/conditional_dependencies.py removed digest un-used cols
  • src/fides/api/models/manual_task/conditional_dependency.py removed manual task un-used cols
  • Updated all tests removing the manual task log.

Steps to Confirm

  1. There should be NO change in functionality.
  2. Manual tasks, conditional dependencies etc should continue to function as before.
  3. Please test with FidesPlus 2952
  4. Run FidesPlus branch above pointed at this branch.
  5. Create a ManualTask with several submissions required and several conditions, both dataset and privacy request based.
  6. Create privacy requests that meet and do not meet the requirements. Verify that they create/do not create as expected.
  7. Verify that you can complete the manual tasks with no errors.
  8. Verify that you can see the skipped logs and the manual task and manual task actions appear on the DSR activity log.
  9. Verify that you receive the access package with all expected manual task inclusions (attachments and text)
  10. Update the ManualTask submission types, delete one or more.
  11. Delete manual task integration

Pre-Merge Checklist

  • Issue requirements met
  • All CI pipelines succeeded
  • CHANGELOG.md updated
    • Add a db-migration This indicates that a change includes a database migration label to the entry if your change includes a DB migration
    • Add a high-risk This issue suggests changes that have a high-probability of breaking existing code label to the entry if your change includes a high-risk change (i.e. potential for performance impact or unexpected regression) that should be flagged
    • Updates unreleased work already in Changelog, no new entry necessary
  • UX feedback:
    • All UX related changes have been reviewed by a designer
    • No UX review needed
  • Followup issues:
    • Followup issues created
    • No followup issues
  • Database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!
    • No migrations
  • Documentation:
    • Documentation complete, PR opened in fidesdocs
    • Documentation issue created in fidesdocs
    • If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • No documentation updates required

@vercel
Copy link

vercel bot commented Dec 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Review Updated (UTC)
fides-plus-nightly Ignored Ignored Preview Dec 31, 2025 4:35pm
fides-privacy-center Ignored Ignored Dec 31, 2025 4:35pm

@JadeCara JadeCara mentioned this pull request Dec 31, 2025
18 tasks
@codecov
Copy link

codecov bot commented Dec 31, 2025

Codecov Report

❌ Patch coverage is 82.35294% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.21%. Comparing base (b633fdd) to head (65da985).

Files with missing lines Patch % Lines
src/fides/api/task/graph_task.py 40.00% 3 Missing ⚠️

❌ Your project check has failed because the head coverage (74.21%) is below the target coverage (85.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (b633fdd) and HEAD (65da985). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (b633fdd) HEAD (65da985)
16 14
Additional details and impacted files
@@                            Coverage Diff                            @@
##           ENG-2185-add-consent-to-manual-tasks    #7175       +/-   ##
=========================================================================
- Coverage                                 87.07%   74.21%   -12.87%     
=========================================================================
  Files                                       535      535               
  Lines                                     35306    35312        +6     
  Branches                                   4115     4117        +2     
=========================================================================
- Hits                                      30743    26207     -4536     
- Misses                                     3670     8207     +4537     
- Partials                                    893      898        +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants