Skip to content

Conversation

@davdres
Copy link
Collaborator

@davdres davdres commented Aug 6, 2025

Allow Gen-IR to continue on dependency decode error.

@davdres davdres requested a review from NinjaLikesCheez August 6, 2025 15:38
do {
value = try T(from: decoder)
} catch {
logger.error("Failed to decode \(T.self): \(error)")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I worry this isn't enough of a warning that we're failing to determine a dependency. We should be pretty aggressive here, without dependencies (or a very stern warning) you may think you're scanning everything, when we're failing to make a link between two dependencies

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was unsure also whether to even add this change. It looked to me like it might be a corrupt PIF but I wasn't sure. I did ask the customer to try with a clean PIF and if it still failed to try and clean up the dependency in Xcode (see https://veracode.atlassian.net/browse/ENG-61598?focusedCommentId=1328164). So, I'll just drop this branch and leave the failure for now.

@davdres davdres closed this Aug 7, 2025
@davdres davdres deleted the feature/SSAST-11722 branch August 7, 2025 15:46
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