Skip to content

Handle search space decode failures in _query_historical_experiments_given_parameters (#5147)#5147

Open
sdaulton wants to merge 1 commit intofacebook:mainfrom
sdaulton:export-D98981525
Open

Handle search space decode failures in _query_historical_experiments_given_parameters (#5147)#5147
sdaulton wants to merge 1 commit intofacebook:mainfrom
sdaulton:export-D98981525

Conversation

@sdaulton
Copy link
Copy Markdown
Contributor

@sdaulton sdaulton commented Apr 6, 2026

Summary:

_query_historical_experiments_given_parameters could fail entirely if any single
historical experiment had a corrupt or incompatible search space that couldn't be
decoded. This wraps the decoder.search_space_from_sqa call in a try-except so
that decode failures for individual experiments are logged as warnings and return
None for the search space, allowing the remaining experiments to be returned
successfully.

Differential Revision: D98981525

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 6, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 6, 2026

@sdaulton has exported this pull request. If you are a Meta employee, you can view the originating Diff in D98981525.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.39%. Comparing base (c08c4a9) to head (244f476).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5147   +/-   ##
=======================================
  Coverage   96.39%   96.39%           
=======================================
  Files         613      613           
  Lines       68345    68385   +40     
=======================================
+ Hits        65880    65920   +40     
  Misses       2465     2465           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync meta-codesync bot changed the title Handle search space decode failures in _query_historical_experiments_given_parameters Handle search space decode failures in _query_historical_experiments_given_parameters (#5147) Apr 6, 2026
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Apr 6, 2026
…given_parameters (facebook#5147)

Summary:

`_query_historical_experiments_given_parameters` could fail entirely if any single
historical experiment had a corrupt or incompatible search space that couldn't be
decoded. This wraps the `decoder.search_space_from_sqa` call in a try-except so
that decode failures for individual experiments are logged as warnings and return
`None` for the search space, allowing the remaining experiments to be returned
successfully.

Differential Revision: D98981525
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Apr 6, 2026
…given_parameters (facebook#5147)

Summary:
Pull Request resolved: facebook#5147

`_query_historical_experiments_given_parameters` could fail entirely if any single
historical experiment had a corrupt or incompatible search space that couldn't be
decoded. This wraps the `decoder.search_space_from_sqa` call in a try-except so
that decode failures for individual experiments are logged as warnings and return
`None` for the search space, allowing the remaining experiments to be returned
successfully.

Differential Revision: D98981525
sdaulton added a commit to sdaulton/Ax-1 that referenced this pull request Apr 6, 2026
…given_parameters (facebook#5147)

Summary:

`_query_historical_experiments_given_parameters` could fail entirely if any single
historical experiment had a corrupt or incompatible search space that couldn't be
decoded. This wraps the `decoder.search_space_from_sqa` call in a try-except so
that decode failures for individual experiments are logged as warnings and return
`None` for the search space, allowing the remaining experiments to be returned
successfully.

Differential Revision: D98981525
…given_parameters (facebook#5147)

Summary:
Pull Request resolved: facebook#5147

`_query_historical_experiments_given_parameters` could fail entirely if any single
historical experiment had a corrupt or incompatible search space that couldn't be
decoded. This wraps the `decoder.search_space_from_sqa` call in a try-except so
that decode failures for individual experiments are logged as warnings and return
`None` for the search space, allowing the remaining experiments to be returned
successfully.

Differential Revision: D98981525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants