Repository navigation
refactor(core): remove status_message_history_enabled, detect_inadmissible_work_units, and startup_pod_error_check_enabled flags - #801
Merged
Conversation
…sible_work_units, and startup_pod_error_check_enabled flags TAG=agy CONV=df3c1c34-924a-42d3-81dc-9755d79b93f5
There was a problem hiding this comment.
Code Review
This pull request removes the status_message_history_enabled feature flag and configuration option across the entire codebase, including backend servers, storage layers, UI frontend, and deployment configurations (Helm, CTK, Terraform). Consequently, status message history is now unconditionally enabled. Additionally, the detect_inadmissible_work_units and startup_pod_error_check_enabled configurations have been removed from the reconciler, making those features unconditionally active. There are no review comments to evaluate, and I have no feedback to provide.
janzak-dev
marked this pull request as ready for review
September 7, 2026 13:29
janzak-dev
enabled auto-merge
September 7, 2026 13:52
AntonTyb
approved these changes
Sep 7, 2026
AntonTyb
added a commit
that referenced
this pull request
Sep 9, 2026
…feedback Follow-up to the merge of origin/main into this branch. Rename: main moved cmd/xmc-linter to cmd/component-linter (#715, see cmd/component-linter/README.md). Updated the three doc references — the Component Reference table row, its section 5.3, and the overview's section 3.4. Feature-gate purge: #801 removed detectInadmissibleWorkUnits, startupPodErrorCheckEnabled, and statusMessageHistoryEnabled. All prose describing them as kill switches is gone; the behaviour they guarded is now documented as unconditional. The reconciliation naming note is rewritten accordingly, since no camelCase Helm booleans feed the reconciler any more. Review feedback: - overview.md: the SDK -> Telemetry Plane edge label now reads "metrics push (in-cluster only)" and the prose states explicitly that the in-cluster restriction applies to metrics ingestion only, not to submitting or managing experiments. - overview.md: expand ROD on first use. - execution_model.md section 2: new subsection documenting which state transitions produce a new JobSet (create and restart only) and which observe or tear down the existing one — in particular that preemption/descheduling reuses the same JobSet and allocates no new execution. - execution_model.md section 4: explain why the Non-Restarting JobSets Contract exists and what breaks without it — redone completed work, invisible retries with no new eid, and uncoordinated in-place restarts deadlocking distributed collectives. Also note that validateNonRestartingJobSetContract rejects violations before the JobSet reaches the cluster. TAG=agy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes three permanently enabled feature flags across XMC:
status_message_history_enabled,detect_inadmissible_work_units, andstartup_pod_error_check_enabled. All associated code paths, Helm templates, CTK configurations, UI components, and tests have been simplified to make these behaviors permanent.Motivation & Context
These flags were permanently enabled by default some time ago and the underlying features are stable in production:
status_message_history_enabled: History tracking for status messages is now permanently active.detect_inadmissible_work_units: Inadmissible work unit detection in reconcilers is permanently active.startup_pod_error_check_enabled: Checking for startup pod errors during reconciliation is permanently active.Removing stale flag checks cleans up dead branches, configuration complexity, and test variations.
Key Changes
deploy/helm/anddeploy/ctk_v2/.cmd/reconciler: RemovedStartupPodErrorCheckEnabledandDetectInadmissibleWorkUnitsflags and branching from workload and jobset reconcilers.cmd/actuator,cmd/experiment_state_server,cmd/log_monitor: RemovedStatusMessageHistoryEnabledconfigs.internal/storage/spanner: Simplifiedexperimentandworkunitrepositories and storage constructor (NewStorage) by always saving status message history.cmd/ui: Removedstatus_message_history_enabledfromgenerate_config.sh,server.py, frontend service models (service_types.ts,feature_flag_service.ts), and Angular experiment/work unit components.docs/flows/artifacts/reconcile_jobset.mmdand regenerated diagram.Assumptions
None — requirements were fully specified.
Verification & Testing
bazel test //cmd/reconciler/... //cmd/actuator/... //cmd/experiment_state_server/... //cmd/log_monitor/... //internal/storage/spanner/...(35/35 passed)bazel test //cmd/ui:ui_unit_tests(passed)npm run test:screenshotincmd/ui(8/8 passed)bazel test //deploy/helm/...(passed)./.githooks/pre-commit(all linters, buildifier, gofmt, addlicense, ruff, helm lint, trivy passed)python3 tools/analyze_diff_size.py --base-ref origin/main(Prod code: 132 lines, Total: 232 lines, within thresholds)Related Issues / Bugs
N/A
TAG=agy
CONV=df3c1c34-924a-42d3-81dc-9755d79b93f5