Skip to content

Conversation

@shiva-menta
Copy link
Contributor

Summary:
The platform_mapping_gen_unit_test and platform_mapping_gen_no_regression_test were failing in GitHub Actions CI with "no such file or directory" errors. The root cause was that the fboss_platform_mapping_gen CMake target was depending on the .GEN_PY_EXE internal target suffix rather than the actual target names. This prevented the add_fb_python_executable targets from being properly built and installed to the bin/ directory during the build process. Fixed by removing the .GEN_PY_EXE suffix and using the correct target names directly, which ensures the Python executables are properly installed and available for the test runner.

Generated by Claude Code, powered by Confucius
Session, Trace

Differential Revision: D91799530

@meta-codesync
Copy link

meta-codesync bot commented Jan 29, 2026

@shiva-menta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91799530.

@meta-cla meta-cla bot added the CLA Signed label Jan 29, 2026
shiva-menta added a commit to shiva-menta/fboss that referenced this pull request Jan 29, 2026
…acebook#872)

Summary:

The platform_mapping_gen_unit_test and platform_mapping_gen_no_regression_test were failing in GitHub Actions CI with "no such file or directory" errors. The root cause was that the fboss_platform_mapping_gen CMake target was depending on the .GEN_PY_EXE internal target suffix rather than the actual target names. This prevented the add_fb_python_executable targets from being properly built and installed to the bin/ directory during the build process. Fixed by removing the .GEN_PY_EXE suffix and using the correct target names directly, which ensures the Python executables are properly installed and available for the test runner.
---
> Generated by [Claude Code](https://www.internalfb.com/wiki/Confucius/Analect/Dev/Assistant/Claude_Code/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/)
> [Session](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Chat), [Trace](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Trace)

Differential Revision: D91799530
@shiva-menta shiva-menta force-pushed the export-D91799530 branch 2 times, most recently from eea2aa0 to ba41e5b Compare January 30, 2026 15:16
shiva-menta added a commit to shiva-menta/fboss that referenced this pull request Jan 30, 2026
…acebook#872)

Summary:

The platform_mapping_gen_unit_test and platform_mapping_gen_no_regression_test were failing in GitHub Actions CI with "no such file or directory" errors. The root cause was that the fboss_platform_mapping_gen CMake target was depending on the .GEN_PY_EXE internal target suffix rather than the actual target names. This prevented the add_fb_python_executable targets from being properly built and installed to the bin/ directory during the build process. Fixed by removing the .GEN_PY_EXE suffix and using the correct target names directly, which ensures the Python executables are properly installed and available for the test runner.
---
> Generated by [Claude Code](https://www.internalfb.com/wiki/Confucius/Analect/Dev/Assistant/Claude_Code/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/)
> [Session](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Chat), [Trace](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Trace)

Differential Revision: D91799530
…acebook#872)

Summary:

The platform_mapping_gen_unit_test and platform_mapping_gen_no_regression_test were failing in GitHub Actions CI with "no such file or directory" errors. The root cause was that the fboss_platform_mapping_gen CMake target was depending on the .GEN_PY_EXE internal target suffix rather than the actual target names. This prevented the add_fb_python_executable targets from being properly built and installed to the bin/ directory during the build process. Fixed by removing the .GEN_PY_EXE suffix and using the correct target names directly, which ensures the Python executables are properly installed and available for the test runner.
---
> Generated by [Claude Code](https://www.internalfb.com/wiki/Confucius/Analect/Dev/Assistant/Claude_Code/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/)
> [Session](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Chat), [Trace](https://www.internalfb.com/confucius?entry_name=Claude%20Code&mode=Focused&namespace[0]=dev&namespace[1]=assistant&session_id=968cf4cc-fd3f-11f0-9ae7-992bcc821876&tab=Trace)

Differential Revision: D91799530
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.

1 participant