Skip to content

fix: Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)"#8658

Merged
awesomenix merged 1 commit into
mainfrom
pd/revert-fs-filemax
Jun 8, 2026
Merged

fix: Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)"#8658
awesomenix merged 1 commit into
mainfrom
pd/revert-fs-filemax

Conversation

@pdamianov-dev

Copy link
Copy Markdown
Contributor

This reverts commit 0af3ae2.

What this PR does / why we need it: Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)" to fix breaking issue

Which issue(s) this PR fixes:

Fixes #

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

PR Title Lint Failed ❌

Current Title: fix: Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)"

Your PR title doesn't follow the expected format. Please update your PR title to follow one of these patterns:

Conventional Commits Format:

  • feat: add new feature - for new features
  • fix: resolve bug in component - for bug fixes
  • docs: update README - for documentation changes
  • refactor: improve code structure - for refactoring
  • test: add unit tests - for test additions
  • chore: remove dead code - for maintenance tasks
  • chore(deps): update dependencies - for updating dependencies
  • ci: update build pipeline - for CI/CD changes

Guidelines:

  • Use lowercase for the type and description
  • Keep the description concise but descriptive
  • Use imperative mood (e.g., "add" not "adds" or "added")
  • Don't end with a period

Examples:

  • feat(windows): add secure TLS bootstrapping for Windows nodes
  • fix: resolve kubelet certificate rotation issue
  • docs: update installation guide
  • Added new feature
  • Fix bug.
  • Update docs

Please update your PR title and the lint check will run again automatically.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed❌ failed (1)Jun 8, 2026, 2:51 PM

@pdamianov-dev pdamianov-dev changed the title Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)" fix: Revert "fix: widen fs.file-max sysctl from int32 to int64 (#8640)" Jun 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 reverts the recent widening of the fs.file-max sysctl configuration field from int32 to int64 across the AgentBaker datamodel and the aks-node-controller protobuf API, restoring the previous int32 type.

Changes:

  • Reverted SysctlConfig.FsFileMax in pkg/agent/datamodel from *int64 back to *int32.
  • Reverted SysctlConfig.fs_file_max in the protobuf schema from int64 back to int32.
  • Updated the generated Go protobuf code to match the reverted schema.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
pkg/agent/datamodel/types.go Reverts FsFileMax back to *int32 in the public datamodel.
aks-node-controller/proto/aksnodeconfig/v1/custom_linux_os_config.proto Reverts fs_file_max protobuf field back to int32.
aks-node-controller/pkg/gen/aksnodeconfig/v1/custom_linux_os_config.pb.go Regenerated/updated Go bindings consistent with the reverted proto type.
Files not reviewed (1)
  • aks-node-controller/pkg/gen/aksnodeconfig/v1/custom_linux_os_config.pb.go: Language not supported

NetNetfilterNfConntrackBuckets *int32 `json:"netNetfilterNfConntrackBuckets,omitempty"`
FsInotifyMaxUserWatches *int32 `json:"fsInotifyMaxUserWatches,omitempty"`
FsFileMax *int64 `json:"fsFileMax,omitempty"`
FsFileMax *int32 `json:"fsFileMax,omitempty"`
optional int32 net_netfilter_nf_conntrack_buckets = 20;
optional int32 fs_inotify_max_user_watches = 21;
optional int64 fs_file_max = 22;
optional int32 fs_file_max = 22;
@awesomenix awesomenix merged commit ec31c81 into main Jun 8, 2026
20 of 38 checks passed
@awesomenix awesomenix deleted the pd/revert-fs-filemax branch June 8, 2026 14:56
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