Skip to content

Conversation

@kevinmingtarja
Copy link
Collaborator

@kevinmingtarja kevinmingtarja commented Oct 14, 2025

This reverts parts of commit 40995a2.

This change skipped the ('jobs', 'controller') and ('serve', 'controller') from the client config override, which is the right thing to do. But as a result, our existing test_managed_jobs_ha_kill_* broke, because it's overriding the high_availability config from the client, not the server.

We should properly fix our test setup such that these configs can be applied on the server side. But in the meantime to unblock nightly, let's revert this change instead skip just the consolidation_mode config, instead of the whole controller config, so that HA config is still allowed to override.

Tested (run the relevant ones):

  • Code formatting: install pre-commit (auto-check on commit) or bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: /smoke-test (CI) or pytest tests/test_smoke.py (local)
  • Relevant individual tests: /smoke-test -k test_name (CI) or pytest tests/test_smoke.py::test_name (local)
  • Backward compatibility: /quicktest-core (CI) or pytest tests/smoke_tests/test_backward_compat.py (local)

@kevinmingtarja
Copy link
Collaborator Author

/smoke-test --kubernetes --remote-server -k test_managed_jobs_ha_kill
/smoke-test --kubernetes --dependency -k test_managed_jobs_ha_kill
/smoke-test --kubernetes -k test_managed_jobs_ha_kill

@kevinmingtarja kevinmingtarja marked this pull request as ready for review October 14, 2025 22:18
@kevinmingtarja
Copy link
Collaborator Author

/quicktest-core

@cblmemo
Copy link
Collaborator

cblmemo commented Oct 14, 2025

Thanks for catching this @kevinmingtarja ! Instead of reverting the whole commit, can we keep it, but only skip the consolidation mode config but not the HA one?

#7560 (comment)

Chris and I have a discussion on this. originally I only skip the consolidation mode config and it works well.

@kevinmingtarja
Copy link
Collaborator Author

kevinmingtarja commented Oct 14, 2025

Thanks for catching this @kevinmingtarja ! Instead of reverting the whole commit, can we keep it, but only skip the consolidation mode config but not the HA one?

#7560 (comment)

Chris and I have a discussion on this. originally I only skip the consolidation mode config and it works well.

Sounds good! Let's do that.

Added a TODO as well for the future.

@kevinmingtarja kevinmingtarja changed the title Revert "[Jobs][Consolidation] Signal file for api restart (#7560)" [Config] Only override controller.consolidation_mode config for now Oct 14, 2025
@kevinmingtarja
Copy link
Collaborator Author

/smoke-test --kubernetes --remote-server -k test_managed_jobs_ha_kill
/smoke-test --kubernetes --dependency -k test_managed_jobs_ha_kill
/smoke-test --kubernetes -k test_managed_jobs_ha_kill

@kevinmingtarja
Copy link
Collaborator Author

/quicktest-core

Copy link
Collaborator

@cblmemo cblmemo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @kevinmingtarja ! LGTM.

Comment on lines +415 to +416
# TODO(kevin,tian): Override the whole controller config once our test
# infrastructure supports setting dynamic server side configs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also include which test needs to be fixed in the comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@kevinmingtarja kevinmingtarja merged commit e5fabb0 into master Oct 14, 2025
20 checks passed
@kevinmingtarja kevinmingtarja deleted the revert-pr-7560 branch October 14, 2025 22:58
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.

3 participants