It is normal to have intermediate commits that failed to compile or broken in other way in feature
branch in gitflow model.
Only the matter is to be stable at point of merge to develop
branch where review and automatic tests applied.
Can git bisect over develop
branch without hitting broken intermediate commits from feature branches?
I do not like to adapt my bisect test scrips to skip/workaround broken commits from feature development...
One way I think about solving a problem is to tell Git somehow walk only across merge changesets...