Skip to content

[build] Move io-channels.h back into io target#3092

Merged
fhanau merged 1 commit intomainfrom
felix/111124-build-cleanup
Nov 12, 2024
Merged

[build] Move io-channels.h back into io target#3092
fhanau merged 1 commit intomainfrom
felix/111124-build-cleanup

Conversation

@fhanau
Copy link
Contributor

@fhanau fhanau commented Nov 12, 2024

io-channels.h has a circular dependency with io due to its dependency on io-util.h (parsing the header using bazel is expected to fail accordingly). This means any source file depending on it would need to be in a bazel target depending on io to avoid missing header errors, even if the source file doesn't use io itself. Move it back into io in accordance with IWYU.

- Fix dependencies for io:actor-id, util:duration-exceeded-logger
- Fix duration-exceeded-logger.h appearing in two targets

@fhanau fhanau requested review from a team as code owners November 12, 2024 00:03
io-channels.h has a circular dependency with io due to its dependency on
io-util.h (parsing the header using bazel is expected to fail accordingly).
This means any source file depending on it would need to be in a bazel target
depending on io to avoid missing header errors, even if the source file doesn't
use io itself. Move it back into io in accordance with IWYU.

- Fix dependencies for io:actor-id, util:duration-exceeded-logger
- Fix duration-exceeded-logger.h appearing in two targets
@fhanau fhanau force-pushed the felix/111124-build-cleanup branch from 365a244 to e93c311 Compare November 12, 2024 00:44
@fhanau
Copy link
Contributor Author

fhanau commented Nov 12, 2024

Builds seem to be passing on the eponymous downstream branch.

@fhanau fhanau merged commit c2e2369 into main Nov 12, 2024
@fhanau fhanau deleted the felix/111124-build-cleanup branch November 12, 2024 15:59
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.

4 participants