Skip to content

DF-332 - add file download audit#1093

Closed
jbarnsley10 wants to merge 8 commits intomainfrom
feat/DF-332-file-download-audit
Closed

DF-332 - add file download audit#1093
jbarnsley10 wants to merge 8 commits intomainfrom
feat/DF-332-file-download-audit

Conversation

@jbarnsley10
Copy link
Copy Markdown
Contributor

@jbarnsley10 jbarnsley10 commented Sep 17, 2025

Ticket DF-332

Adds file download audit

  • Successful download
  • Unsuccessful download (due to mismatch of target email address)

Needs to get deployed in tandem with PR DEFRA/forms-submission-api#385 so that the API calls match

@jbarnsley10 jbarnsley10 changed the title Feat/df 332 file download audit DF-332 - add file download audit Sep 17, 2025
@sonarqubecloud
Copy link
Copy Markdown

cause: err
})
)
// prettier-ignore
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.

Can we remove this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Haha - we could but it's that annoying SonarCloud failure of 'your function is 77 lines long when the limit is 75' and this was an easy workaround

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.

I would remove it and avoid any kind of in-code **-ignores whether it's prettier, eslint or similar unless absolutely necessary. I'd rather we ignored Sonar, or fix what it's asking us to so the next person doesn't have to.

false,
sessionNames.validationFailure.fileDownload
)
// prettier-ignore
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.

Can we remove this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

As above

@jbarnsley10 jbarnsley10 deleted the feat/DF-332-file-download-audit branch November 4, 2025 14:00
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