Skip to content

Conversation

@CristianLara
Copy link
Contributor

Summary:
Set the suggested_experiment_status field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

Why this change:
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256

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

meta-codesync bot commented Feb 11, 2026

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

@codecov-commenter
Copy link

codecov-commenter commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.77%. Comparing base (ad2f7b5) to head (1ad0627).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4903   +/-   ##
=======================================
  Coverage   96.77%   96.77%           
=======================================
  Files         593      593           
  Lines       62175    62198   +23     
=======================================
+ Hits        60168    60192   +24     
+ Misses       2007     2006    -1     

☔ 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.

CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
CristianLara added a commit to CristianLara/Ax that referenced this pull request Feb 11, 2026
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
Summary:

This change introduces an optional `suggested_experiment_state` field to
the `GenerationNode` class that allows tracking what experiment status is suggested
for a given generation node. This is part of a larger effort to add status tracking
to experiments.

The field is:
- Optional (defaults to None for backward compatibility)
- Advisory only (does not automatically update experiment.status)
- Configurable per GenerationNode instance
- Serialized automatically via SerializationMixin
- Displayed in __repr__ when set

This is Phase 1 where we are just adding the column but not yet doing anything with it. In the next diffs in this stack we will propagate this through the orchestrator and eventually set this status on the experiment.

Reviewed By: mgarrard

Differential Revision: D88089767
Summary:

Set the `suggested_experiment_status` field on generation nodes throughout the codebase. This will be used in the next diffs in stack to allow the orchestrator to automatically update experiment status based on the optimization phase.

**Why this change:**
This builds on the infrastructure added in previous diffs which added the status field to Experiment, and GenerationNode. Now we're actually setting the field on nodes so that experiments will automatically transition through their lifecycle based on what GS node they're in.

Reviewed By: lena-kashtelyan, mgarrard

Differential Revision: D88214256
@meta-codesync
Copy link

meta-codesync bot commented Feb 12, 2026

This pull request has been merged in 6e535a7.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants