Skip to content

C#: Introduce generated flag as a part of the kind column for flow summaries #8628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 7, 2022

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Mar 31, 2022

In this PR, we change the semantics slightly for the "kind" column in flow models.

  • A kind (eg. value or taint) can now be prefixed with generated:.
  • In case a summary kind is prefixed with generated, it is only used in case no summary exist that is not generated.

@github-actions github-actions bot added the C# label Mar 31, 2022
@michaelnebel michaelnebel force-pushed the csharp/generatedkind branch 2 times, most recently from 1893bec to a35b8c7 Compare April 4, 2022 11:25
@michaelnebel michaelnebel force-pushed the csharp/generatedkind branch from a35b8c7 to 387651d Compare April 4, 2022 12:14
@michaelnebel michaelnebel force-pushed the csharp/generatedkind branch 2 times, most recently from 17a0d1b to 15061e5 Compare April 5, 2022 12:04
@michaelnebel michaelnebel force-pushed the csharp/generatedkind branch from ce65a48 to 2562910 Compare April 5, 2022 12:25
@michaelnebel michaelnebel marked this pull request as ready for review April 6, 2022 06:53
@michaelnebel michaelnebel requested review from a team as code owners April 6, 2022 06:53
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Apr 6, 2022
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Looks great!

@michaelnebel michaelnebel merged commit 72d4c97 into github:main Apr 7, 2022
@michaelnebel michaelnebel deleted the csharp/generatedkind branch April 7, 2022 06:44
@aschackmull
Copy link
Contributor

Thoughts on making this its own column?

@michaelnebel
Copy link
Contributor Author

Thoughts on making this its own column?

We discussed it, but decided to go with this solutions as it is backwards compatible.
What do you think. Should we reconsider?

@aschackmull
Copy link
Contributor

I don't think backwards-compatibility is relevant yet. I think I'm leaning slightly towards making it its own column. @hvitved ?

@hvitved
Copy link
Contributor

hvitved commented Apr 20, 2022

I don't think backwards-compatibility is relevant yet. I think I'm leaning slightly towards making it its own column. @hvitved ?

I don't really care; I am OK with adding another column for this.

@michaelnebel
Copy link
Contributor Author

So should we add an extra column after the kind?

owen-mc added a commit to owen-mc/codeql that referenced this pull request Nov 9, 2022
owen-mc added a commit to owen-mc/codeql that referenced this pull request Nov 9, 2022
owen-mc added a commit to owen-mc/codeql that referenced this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants