Skip to content

fix(KONFLUX-8965): Add brief description for issues and CVEs fixed #1164

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

Closed
wants to merge 1 commit into from

Conversation

arewm
Copy link
Member

@arewm arewm commented Jul 2, 2025

Describe your changes

We currently only provide links/references to CVEs and issues. This would result in anyone viewing an advisory to have to click through these in order to find out more information about them. We can provide additional context to the advisory consumers to reduce their need to click through.

This change is not sufficient on its own, any rendering of the advisory metadata will need to also consume this same information when displaying.

Assisted-by: Cursor

Relevant Jira

KONFLUX-8965

Checklist before requesting a review

  • I have marked as draft or added do not merge label if there's a dependency PR
    • If you want reviews on your draft PR, you can add reviewers or add the release-service-maintainers handle if you are unsure who to tag
  • My commit message includes Signed-off-by: My name <email>
  • I read CONTRIBUTING.MD and commit formatting

@arewm arewm requested a review from a team as a code owner July 2, 2025 14:26
@konflux-ci-qe-bot
Copy link

@arewm: The following test has Failed, say /retest to rerun failed tests.

PipelineRun Name Status Rerun command Build Log Test Log
konflux-e2e-tests-catalog-pz8vf Failed /retest View Pipeline Log View Test Logs

Inspecting Test Artifacts

To inspect your test artifacts, follow these steps:

  1. Install ORAS (see the ORAS installation guide).
  2. Download artifacts with the following commands:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/konflux-test-storage/konflux-team/release-service-catalog:konflux-e2e-tests-catalog-pz8vf

Test results analysis

🚨 Error occurred while running the E2E tests, list of failed Spec(s):

➡️ [failed] [It] [release-pipelines-suite e2e tests for rh-advisories pipeline] Rh-advisories happy path Post-release verification verifies the advs release pipelinerun is running and succeeds [release-pipelines, rh-advisories, rhAdvisories]

Click to view logs

Timed out after 3600.025s.
timed out when waiting for the release PipelineRun to be finished for the release snapshot-sample-fysn-5zckv/dev-release-team-tenant
Expected success, but got an error:
    <*errors.errorString | 0xc00200dd50>: 
    PipelineRun has not been created yet for release dev-release-team-tenant/snapshot-sample-fysn-5zckv
    {
        s: "PipelineRun has not been created yet for release dev-release-team-tenant/snapshot-sample-fysn-5zckv",
    }

➡️ [failed] [It] [release-pipelines-suite e2e tests for multi arch with rh-advisories pipeline] Multi arch test happy path Post-release verification verifies the multiarch release pipelinerun is running and succeeds [release-pipelines, rh-advisories, multiarch-advisories, multiArchAdvisories]

Click to view logs

Timed out after 3600.092s.
timed out when waiting for the release PipelineRun to be finished for the release snapshot-sample-kmwv-wrcj4/dev-release-team-tenant
Expected success, but got an error:
    <*errors.errorString | 0xc0016b4810>: 
    PipelineRun has not been created yet for release dev-release-team-tenant/snapshot-sample-kmwv-wrcj4
    {
        s: "PipelineRun has not been created yet for release dev-release-team-tenant/snapshot-sample-kmwv-wrcj4",
    }

@arewm arewm marked this pull request as draft July 2, 2025 19:58
@arewm arewm force-pushed the konflux-8965 branch 3 times, most recently from 08e8e3a to d6ca7ad Compare July 2, 2025 22:39
We currently only provide links/references to CVEs and issues. This
would result in anyone viewing an advisory to have to click through
these in order to find out more information about them. We can provide
additional context to the advisory consumers to reduce their need to
click through.

This change is not sufficient on its own, any rendering of the advisory
metadata will need to also consume this same information when
displaying.

Assisted-by: Cursor

Signed-off-by: arewm <[email protected]>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@scoheb
Copy link
Member

scoheb commented Jul 3, 2025

This should be a collector type

@arewm
Copy link
Member Author

arewm commented Jul 3, 2025

This should be a collector type

Sounds good. Where can I find those as an example? I know that collectors exist but I am not familiar with their design. I am happy to close this PR if it is off base.

Copy link
Contributor

Choose a reason for hiding this comment

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

We talked about https://issues.redhat.com/browse/KONFLUX-8965 within the team during yesterday's backlog refinement session. See David's comment in the Jira. I am really not sure we should bake descriptions into the advisory yaml. Those are not meant for humans to read. Users should consume these via the customer portal and if we think the advisory page should have more details for the jiras and cves, we should ask the owners of that to add these when displaying the links.

Copy link

Choose a reason for hiding this comment

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

I agree with @mmalina here.
In the Konflux advisory we should verify attached to advisory Jira issues like checking if it's not related to the embargoed content and show state if the Jira issue is publicly available or not. The Jira short description should be Konflux advisory consumer problem, in the same way how consumer parse the information if the linked Jira is publicly available or not.

How list of Jira issues or list of CVEs is displayed is up to the service which work on this metadata.

@@ -69,48 +69,6 @@ spec:
- name: "DEBUG"
value: "$(params.trustedArtifactsDebug)"
steps:
- name: skip-trusted-artifact-operations
Copy link
Member

Choose a reason for hiding this comment

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

why is this removed

Copy link
Member Author

Choose a reason for hiding this comment

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

It was unintentional

@arewm arewm closed this Jul 3, 2025
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.

5 participants