Skip to content

RFC: Automated Patching Proposal - #4360

Open
t-lo wants to merge 1 commit into
mainfrom
t-lo/proposal-automated-patching
Open

t-lo wants to merge 1 commit into
mainfrom
t-lo/proposal-automated-patching

Conversation

@t-lo

@t-lo t-lo commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

This change adds a proposal for automated ingestion of patches and package updates.

Please read the full proposal at https://github.com/flatcar/scripts/blob/t-lo/proposal-automated-patching/proposal/2026-11-05-proposal-automated-patching.md.

Discussion, comments, and change requests can be added either by commenting on the PR, or by suggesting changes directly on the proposal document.

If approved, the proposal will be moved to the (as of yet nonexistent) docs/ directory before merging.

Addendum: This proposal is filed under the assumption that changelog, resolved CVEs, and the resulting release notes can largely be generated automatically. Planning to start contributing to that automation after we got this proposal in shape.

@t-lo
t-lo requested a review from a team as a code owner November 5, 2026 11:18
Copilot AI balanced review requested due to automatic review settings November 5, 2026 11:18
@t-lo
t-lo force-pushed the t-lo/proposal-automated-patching branch from 9f5a3b0 to d2763c3 Compare November 5, 2026 11:22

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.

🟡 Changes recommended

The proposal incorrectly uses package.unmask to accept unstable keywords and freezes version components too broadly, which would block eligible versions and maintenance updates for packages with non-SemVer versioning.

2 open issues
What changed in this PR

This documentation-only PR proposes automated package updates through Flatcar’s Gentoo submodule, with separate policies for main and release branches.

Changes:

  • Defines a daily ingestion workflow with builds, QEMU tests, package/filesystem diffs, and maintainer approval.
  • Proposes current stable package versions for main and patch-level updates for release branches.
  • Outlines options when Gentoo discontinues a release branch’s package series.
File Description
proposal/​2026-11-05-proposal-automated-patching.md Adds the proposed update workflow, version-freeze policy, and maintenance exceptions.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 5, 2026 11:22

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.

🟡 Changes recommended

The proposal uses the wrong mechanism for accepting unstable keywords, blocks valid maintenance updates with a universal version freeze, and uses an unsuitable Alpha baseline for release-branch reports.

1 open issue
2 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 5, 2026 11:30

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.

🔵 Needs a closer look

The proposed uniform major.minor freeze would block maintenance and security updates for packages such as systemd, so mask generation needs package-specific update-series boundaries.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@t-lo
t-lo force-pushed the t-lo/proposal-automated-patching branch from 41ad588 to a04d696 Compare November 23, 2026 11:53
Copilot AI balanced review requested due to automatic review settings November 23, 2026 11:53

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.

🟡 Changes recommended

The proposal incorrectly treats package.unmask as sufficient for unstable versions, but package.accept_keywords is required to make them eligible for installation.

1 open issue

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 23, 2026 12:04

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.

🔵 Needs a closer look

The proposal incorrectly uses package.unmask to enable unstable architecture keywords; it must specify package.accept_keywords, reserving unmasking for explicitly masked packages.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@t-lo
t-lo force-pushed the t-lo/proposal-automated-patching branch from e51edae to 20abb66 Compare November 23, 2026 12:26
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
@t-lo
t-lo force-pushed the t-lo/proposal-automated-patching branch from 20abb66 to c7d8c8c Compare November 23, 2026 12:27
Copilot AI balanced review requested due to automatic review settings November 23, 2026 12:27

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.

🟡 Changes recommended

The proposal needs correct unstable-keyword acceptance and version-range masks with upstream-specific maintenance boundaries to allow intended patch updates without admitting newer series.

2 open issues

Review effort: Balanced

@John15321

Copy link
Copy Markdown
Member

Overall I like it 😄 And thats a YES from me

@t-lo
t-lo requested review from a team, chewi, krnowak and sayanchowdhury November 26, 2026 15:39

This branch is waiting to be deployed

1 waiting deployment
development — c7d8c8c8 Waiting Nov 23, 2026 by t-lo via Wait for approval #6167
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