Skip to content

Conversation

@koct9i
Copy link
Collaborator

@koct9i koct9i commented Dec 1, 2025

  • Update k8s.io/api v0.31.13 => v0.32.10
  • test/e2e: log nodes and pods state
  • test/e2e: define node resources

@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch 6 times, most recently from a31035b to 1e2b62a Compare December 2, 2025 12:10
@koct9i koct9i changed the title test/e2e: define exec node resources test/e2e: define node resources Dec 2, 2025
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch 5 times, most recently from c9d5882 to 3cfb613 Compare December 2, 2025 17:37
@koct9i koct9i requested a review from Copilot December 2, 2025 17:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines e2e tests and CRD documentation while introducing node resource definitions for test environments. It standardizes context usage in tests (specCtx for cross-node operations), adds resource limits for operations and nodes, and improves logging/diagnostics to aid test stability and debugging.

  • Add explicit CPU and memory limits for e2e operations and node specs used in tests
  • Switch cross-node e2e calls to specCtx and enhance logging (nodes/pods state, stuck pods)
  • Update CRD descriptions for DNS options; bump Kubernetes-related dependencies to align with new helpers

Reviewed changes

Copilot reviewed 58 out of 59 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ytop-chart/templates/crds/cluster.ytsaurus.tech_ytsaurus.yaml Clarifies CRD field descriptions for DNS resolver options (name/value). No functional change.
ytop-chart/templates/crds/cluster.ytsaurus.tech_remoteytsaurus.yaml Same CRD description clarifications for remote cluster.
ytop-chart/templates/crds/cluster.ytsaurus.tech_remotetabletnodes.yaml Same CRD description clarifications for remote tablet nodes.
ytop-chart/templates/crds/cluster.ytsaurus.tech_remoteexecnodes.yaml Same CRD description clarifications for remote exec nodes.
ytop-chart/templates/crds/cluster.ytsaurus.tech_remotedatanodes.yaml Same CRD description clarifications for remote data nodes.
ytop-chart/templates/crds/cluster.ytsaurus.tech_offshoredatagateways.yaml Same CRD description clarifications for offshore data gateways.
test/e2e/ytsaurus_controller_test.go Adds operation CPULimit/MemoryLimit; shifts cross-node client calls and object updates to specCtx; improves diagnostics (nodes state, pending/failed pods).
test/e2e/suite_test.go Introduces specCtx lifecycle per test; logs nodes state in suite setup; removes global ctx usage to prevent leaks.
test/e2e/helpers_test.go Adds logNodesState and fetchStuckPods; switches to specCtx for k8s calls; imports k8s.io/component-helpers/resource to compute pod requests.
pkg/testutil/spec_builders.go Defines default resource requirements for various node types used in tests; applies these to builder-generated specs; adjusts exec node job environment (removes UserSlots).
go.mod Bumps k8s api/apimachinery/client-go to v0.32.10 and adds component-helpers; updates ancillary deps to recent versions used by k8s tooling.
go.sum Synchronizes checksums with updated dependencies.
config/crd/bases/* Mirrors CRD description clarifications across controller CRD base files. No functional change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 3cfb613 to d25b0d9 Compare December 2, 2025 18:10
@koct9i koct9i requested a review from Copilot December 2, 2025 18:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 58 out of 59 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch 3 times, most recently from 30c1185 to 822aa65 Compare December 3, 2025 11:33
@koct9i koct9i changed the title test/e2e: define node resources Define node resources Dec 3, 2025
@koct9i koct9i changed the title Define node resources Fix resources definitions Dec 3, 2025
@koct9i koct9i requested a review from Copilot December 3, 2025 12:09
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 822aa65 to 2f25ea4 Compare December 3, 2025 12:10
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 5b71ea2 to ab02671 Compare December 4, 2025 17:17
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch 3 times, most recently from e8a2019 to 02997c3 Compare December 8, 2025 16:04
@koct9i koct9i changed the title Fix resources definitions test/e2e: define node resources Dec 8, 2025
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 02997c3 to f2f1e26 Compare December 8, 2025 16:05
@koct9i koct9i requested a review from Copilot December 8, 2025 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 59 out of 60 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from f2f1e26 to e2d52ed Compare December 9, 2025 13:35
@koct9i koct9i requested review from Copilot and l0kix2 December 9, 2025 15:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Signed-off-by: Konstantin Khlebnikov <[email protected]>
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 5c296dd to 762660d Compare January 7, 2026 10:38
@koct9i koct9i requested review from Copilot and qurname2 January 7, 2026 10:39
koct9i added 2 commits January 7, 2026 11:41
Signed-off-by: Konstantin Khlebnikov <[email protected]>
Set limits for all nodes to get repeatable test results.
Exec node needs to know own capacity. Defaults are bad.
Explicit zero requests are important for fitting into test k8s.

Signed-off-by: Konstantin Khlebnikov <[email protected]>
@koct9i koct9i force-pushed the khlebnikov/test-e2e-set-node-resources branch from 762660d to 4b9cd82 Compare January 7, 2026 10:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 58 out of 59 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@qurname2 qurname2 left a comment

Choose a reason for hiding this comment

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

LGTM.

@koct9i koct9i merged commit dc3149f into main Jan 8, 2026
16 of 17 checks passed
@koct9i koct9i deleted the khlebnikov/test-e2e-set-node-resources branch January 8, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants