Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Notes Collection Picks Up Incorrect Text #3516

Closed
npolshakova opened this issue Mar 18, 2024 · 8 comments · Fixed by #3764
Closed

Release Notes Collection Picks Up Incorrect Text #3516

npolshakova opened this issue Mar 18, 2024 · 8 comments · Fixed by #3764
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-priority sig/release Categorizes an issue or PR as relevant to SIG Release.

Comments

@npolshakova
Copy link
Contributor

npolshakova commented Mar 18, 2024

What happened:

Release notes collection automation has resulted in incorrect text and markdown being collected: kubernetes/sig-release#2449 (comment)

You can see examples of this merged in sig-release for 1.30 due to past release notes collection:

Updated examples from 1.29 that are still in the repo after 1.30 was cleaned up:

What you expected to happen:

This release note should not be collected since it is empty:

 "123082": {
    "commit": "d29f38efd83f5dcf18870c8772b9a0bb68c56097",
    "text": "```\n\n#### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:\n\n\u003c!--\nThis section can be blank if this pull request does not require a release note.\n\nWhen adding links which point to resources within git repositories, like\nKEPs or supporting documentation, please reference a specific commit and avoid\nlinking directly to the master branch. This ensures that links reference a\nspecific point in time, rather than a document that may change over time.\n\nSee here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files\n\nPlease use the following format for linking documentation:\n- [KEP]: \u003clink\u003e\n- [Usage]: \u003clink\u003e\n- [Other doc]: \u003clink\u003e\n--\u003e",
    "markdown": "```\n  \n  #### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:\n  \n  \u003c!--\n  This section can be blank if this pull request does not require a release note.\n  \n  When adding links which point to resources within git repositories, like\n  KEPs or supporting documentation, please reference a specific commit and avoid\n  linking directly to the master branch. This ensures that links reference a\n  specific point in time, rather than a document that may change over time.\n  \n  See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files\n  \n  Please use the following format for linking documentation:\n  - [KEP]: \u003clink\u003e\n  - [Usage]: \u003clink\u003e\n  - [Other doc]: \u003clink\u003e\n  --\u003e ([#123082](https://github.com/kubernetes/kubernetes/pull/123082), [@alexzielenski](https://github.com/alexzielenski)) [SIG API Machinery and Testing]",
    "author": "alexzielenski",
    "author_url": "https://github.com/alexzielenski",
    "pr_url": "https://github.com/kubernetes/kubernetes/pull/123082",
    "pr_number": 123082,
    "areas": [
      "test"
    ],
    "kinds": [
      "flake"
    ],
    "sigs": [
      "api-machinery",
      "testing"
    ],
    "duplicate": true,
    "do_not_publish": true
  },
@npolshakova npolshakova added area/release-eng Issues or PRs related to the Release Engineering subproject kind/bug Categorizes issue or PR as related to a bug. sig/release Categorizes an issue or PR as relevant to SIG Release. labels Mar 18, 2024
@saschagrunert
Copy link
Member

@npolshakova thank you for the bug report, are you considering to work on a fix?

@npolshakova
Copy link
Contributor Author

@npolshakova thank you for the bug report, are you considering to work on a fix?

I'd be interested, but I'm not super familiar with the code that does the release notes collection. Do you think this is an issue on the krel side here?

@saschagrunert
Copy link
Member

@npolshakova I assume it's part of the release notes gathering logic of this repository. We just need a reproducer to see what we can fix.

@npolshakova
Copy link
Contributor Author

I think the issue is in the regex in the exclude filter: https://github.com/kubernetes/release/pull/3523/files I'm able to reproduce it, but still need a fix for the regex.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 25, 2024
@saschagrunert
Copy link
Member

@npolshakova are you still working on this?

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 27, 2024
@npolshakova
Copy link
Contributor Author

@npolshakova are you still working on this?

/remove-lifecycle stale

Yep, my team is looking into this still. It looks like the last release notes PR didn't run into this issue though!

cloudmelon added a commit to cloudmelon/sig-release that referenced this issue Jul 26, 2024
cloudmelon added a commit to cloudmelon/sig-release that referenced this issue Jul 29, 2024
Signed-off-by: cloudmelon <akacloudmelon@gmail.com>

Delete releases/release-1.31/release-notes/maps/pr-124320-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124428-map.yaml

sure

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Co-authored-by: Sepideh <sepi.alavii@gmail.com>

Update releases/release-1.31/release-notes/maps/pr-125225-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-125333-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-125442-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-125751-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-122025-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125328-map.yaml

Co-authored-by: Sepideh <sepi.alavii@gmail.com>

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-126057-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-126046-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-125970-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-125894-map.yaml

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Delete releases/release-1.31/release-notes/maps/pr-125365-map.yaml

Delete this file due to a known bug kubernetes/release#3516

change draft json and md

add map values

release notes draft

add mapping values true

Update releases/release-1.31/release-notes/maps/pr-122025-map.yaml

update upon the convention

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update upon convention ponctuation and past times

Co-authored-by: Nina Polshakova <nina.polshakova@solo.io>
cloudmelon added a commit to cloudmelon/sig-release that referenced this issue Jul 29, 2024
update upon the convention

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update upon convention ponctuation and past times

Update release note release-notes-draft-v1.31.0-beta.0

release notes draft release-notes-draft-v1.31.0-beta.0

add map values

change draft json and md

Delete releases/release-1.31/release-notes/maps/pr-125365-map.yaml

Delete this file due to a known bug kubernetes/release#3516

Update releases/release-1.31/release-notes/maps/pr-125894-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125970-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126046-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126057-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125328-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-122025-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125751-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125442-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125333-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125225-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124428-map.yaml

sure

Delete releases/release-1.31/release-notes/maps/pr-124320-map.yaml

Release Notes draft for k/k v1.31.0-beta.0

Signed-off-by: cloudmelon <akacloudmelon@gmail.com>
Co-Authored-By: Nina Polshakova <nina.polshakova@solo.io>
Co-Authored-By: Sepideh <sepi.alavii@gmail.com>
npolshakova added a commit to npolshakova/sig-release that referenced this issue Aug 7, 2024
update upon the convention

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update upon convention ponctuation and past times

Update release note release-notes-draft-v1.31.0-beta.0

release notes draft release-notes-draft-v1.31.0-beta.0

add map values

change draft json and md

Delete releases/release-1.31/release-notes/maps/pr-125365-map.yaml

Delete this file due to a known bug kubernetes/release#3516

Update releases/release-1.31/release-notes/maps/pr-125894-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125970-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126046-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126057-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125328-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-122025-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125751-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125442-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125333-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125225-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124428-map.yaml

sure

Delete releases/release-1.31/release-notes/maps/pr-124320-map.yaml

Release Notes draft for k/k v1.31.0-beta.0

Signed-off-by: cloudmelon <akacloudmelon@gmail.com>
Co-Authored-By: Nina Polshakova <nina.polshakova@solo.io>
Co-Authored-By: Sepideh <sepi.alavii@gmail.com>
a-mccarthy pushed a commit to a-mccarthy/sig-release that referenced this issue Sep 6, 2024
update upon the convention

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update upon convention ponctuation and past times

Update release note release-notes-draft-v1.31.0-beta.0

release notes draft release-notes-draft-v1.31.0-beta.0

add map values

change draft json and md

Delete releases/release-1.31/release-notes/maps/pr-125365-map.yaml

Delete this file due to a known bug kubernetes/release#3516

Update releases/release-1.31/release-notes/maps/pr-125894-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125970-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126046-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126057-map.yaml

Update releases/release-1.31/release-notes/maps/pr-126012-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125328-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-122025-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125751-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125442-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125333-map.yaml

Update releases/release-1.31/release-notes/maps/pr-125225-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124994-map.yaml

Update releases/release-1.31/release-notes/maps/pr-124428-map.yaml

sure

Delete releases/release-1.31/release-notes/maps/pr-124320-map.yaml

Release Notes draft for k/k v1.31.0-beta.0

Signed-off-by: cloudmelon <akacloudmelon@gmail.com>
Co-Authored-By: Nina Polshakova <nina.polshakova@solo.io>
Co-Authored-By: Sepideh <sepi.alavii@gmail.com>
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-priority sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants