Skip to content

kube-agents: run the fleet reconcile postsubmit when repo_sync.py changes - #2812

Merged
google-oss-prow[bot] merged 1 commit into
GoogleCloudPlatform:masterfrom
jayantid:kube-agents-fleet-reconcile-repo-sync
Nov 24, 2026
Merged

google-oss-prow[bot] merged 1 commit into
GoogleCloudPlatform:masterfrom
jayantid:kube-agents-fleet-reconcile-repo-sync

Conversation

@jayantid

Copy link
Copy Markdown
Contributor

Adds bench/tf/fleet/repo_sync.py to post-kube-agents-fleet-reconcile's run_if_changed, beside the other fleet helper scripts (config_connector.py, orphan_snapshot.py).

repo_sync.py applies the RepoSync for kube-agents' post-merge eval case once Config Sync's CRD exists on seeded-a (gke-labs/kube-agents#6938, tracking gke-labs/kube-agents#6905). Like the stack itself, a change to it has to reach every pool project, so it should start the reconcile.

One line; no other job changes.

Prepared with Claude Code assistance.

…nges

bench/tf/fleet/repo_sync.py applies the post-merge case's RepoSync once Config Sync's CRD
exists (gke-labs/kube-agents#6938), so a change to it has to reach the pool like the stack.

@toshiowang toshiowang 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.

Checked at 5dc3263.

  • The new part of the pattern has the same form as the four helper scripts beside it. It matches bench/tf/fleet/repo_sync.py and no near name.
  • gke-labs/kube-agents#6938 adds the same file to FLEET_INPUT_NAMES in hack/fleet_reconcile.py. After both merge, the two lists are equal.
  • The file is not on main of kube-agents yet. So this line does nothing until that change lands.

No findings.

@google-oss-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jayantid, toshiowang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
google-oss-prow Bot merged commit 3f84875 into GoogleCloudPlatform:master Nov 24, 2026
12 checks passed
@google-oss-prow

Copy link
Copy Markdown
Contributor

@jayantid: Updated the job-config configmap in namespace default at cluster default using the following files:

  • key kube-agents-postsubmits.yaml using file prow/prowjobs/gke-labs/kube-agents/kube-agents-postsubmits.yaml
Details

In response to this:

Adds bench/tf/fleet/repo_sync.py to post-kube-agents-fleet-reconcile's run_if_changed, beside the other fleet helper scripts (config_connector.py, orphan_snapshot.py).

repo_sync.py applies the RepoSync for kube-agents' post-merge eval case once Config Sync's CRD exists on seeded-a (gke-labs/kube-agents#6938, tracking gke-labs/kube-agents#6905). Like the stack itself, a change to it has to reach every pool project, so it should start the reconcile.

One line; no other job changes.

Prepared with Claude Code assistance.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

jayantid added a commit to jayantid/kube-agents that referenced this pull request Nov 25, 2026
… input

GoogleCloudPlatform/oss-test-infra#2812 added repo_sync.py to the
postsubmit's run_if_changed, which now names every file in
FLEET_INPUT_NAMES; section 6.2 says so instead of listing the scripts a pool
owner still had to add.

Refs gke-labs#6905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants