-
Notifications
You must be signed in to change notification settings - Fork 460
Possibility for Hushing Table Diffs #11088
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
Conversation
|
OK, well whoops. The new clever check which detects C++ files changed and only runs Clang Format on the changed files, seems to have goofed. There's obviously nothing wrong with my C++ changes in this branch.......since there aren't any. And if I had some changed, it would have worked fine. Fun! |
|
When I locally run the code that we have on GHA to detect any C++ ish files changing: $ changed_files=$(git diff --name-only HEAD^ HEAD src/ tst/ | /bin/grep -E '\.(cpp|cc|c|hpp|hh|h)$')
$ echo $changed_files
$ file_count=$(echo "$changed_files" | wc -l)
$ echo $file_count
1
|
|
|
So the question is, do I click merge on this and get regressions gone from everyone's branch? Or do we try to fix it here really quick and get this merged as a real fix. I'm not able to pivot to it today. @JasonGlazer is this like a one- or two-liner fix? Or will it need some more logic added in? |
|
I think the fix to #11087 is probably just a few lines but that is an assumption. I haven't looked at the offending code. I'm ok with merging this and fixing the underlying issue later. |
|
OK, good. Merging this in now. It should be easy enough for someone to reproduce the issue by undoing my IDF comments in this PR in two branches, building both, and then running regressions on those three offending files. It should trigger table size errors, which are now reflected in the table big diff count. Then fixing the tabular output code to produce unique table names. Thus I would expect the actual fixing PR to include:
Alright, merging this. Thanks. |
|
Maybe also add a new CI test to check for uniqueness in table names. |
Pull request overview
Ideally, this will actually include a fix for #11087. For now it demonstrates a way that we could get rid of diffs temporarily. Note, this will still cause diffs because I've made changes to the IDFs in this branch, and now they differ from develop. But if this were merged into develop, diffs would start disappearing from everyone else's PRs. If we need to do this temporarily, I am OK with it. But the full fix would be to make sure all tables have unique names within a given tabular output file.