Skip to content

Conversation

@pramodbindal
Copy link
Member

@pramodbindal pramodbindal commented Dec 9, 2025

When HistoryLimit is set to null in tektonconfig then it resets back to 100
After this fix, value will be retained

This also fixes the issues of pruner config resetting to default on upgrade.
Now after upgrade pruner should retain the old config

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Dec 9, 2025
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 9, 2025
@anithapriyanatarajan
Copy link
Contributor

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 9, 2025
@anithapriyanatarajan
Copy link
Contributor

/retest

@pramodbindal pramodbindal force-pushed the pruner branch 2 times, most recently from 5f5b1cf to bd44863 Compare December 10, 2025 06:41
@pratap0007
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2025
@anithapriyanatarajan
Copy link
Contributor

@pramodbindal Attempt to upgrade from 0.77.x to the pr code base either results in pruner controller crashloop or configmap value not retained. Could you please assess the upgrade scenario once and confirm the outcome please. Thankyou

@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 19, 2025
@anithapriyanatarajan
Copy link
Contributor

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 19, 2025
Copy link
Contributor

@anithapriyanatarajan anithapriyanatarajan left a comment

Choose a reason for hiding this comment

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

@pramodbindal DeepCopyInto is causing the issue I believe. Could you consider this to get past the crashloop issue. Thankyou

@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 22, 2025
@infernus01
Copy link
Member

LGTM

@anithapriyanatarajan
Copy link
Contributor

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anithapriyanatarajan

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:
  • OWNERS [anithapriyanatarajan]

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 23, 2025
@anithapriyanatarajan
Copy link
Contributor

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 23, 2025
@anithapriyanatarajan
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 23, 2025
@anithapriyanatarajan
Copy link
Contributor

@dependabot rebase

@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 23, 2025
When HistoryLimit is set to null in tektonconfig then it resets back to 100
After this fix value will be retained

This also fisxes the issues ot pruner confog resetting to default on upgrade.
Now after upgrade pruner should retain the old config

Restore Pre upgrade fucntions
@anithapriyanatarajan
Copy link
Contributor

/retest

@anithapriyanatarajan
Copy link
Contributor

//lgtm

@anithapriyanatarajan
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 23, 2025
@tekton-robot tekton-robot merged commit 774867c into tektoncd:main Dec 23, 2025
22 of 23 checks passed
@infernus01
Copy link
Member

/cherry-pick release-v0.78.x

1 similar comment
@pramodbindal
Copy link
Member Author

/cherry-pick release-v0.78.x

@tekton-robot
Copy link
Contributor

Cherry-pick to release-v0.78.x successful!

A new pull request has been created to cherry-pick this change to release-v0.78.x.

Please review and merge the cherry-pick PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants