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

[Bug]: addRcDetailsComment library adds comment to old and closed GH issue #613

Closed
gaiksaya opened this issue Mar 12, 2025 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@gaiksaya
Copy link
Member

Describe the bug

See the workflow run here: https://build.ci.opensearch.org/job/distribution-release-chores/5/console
The returned GH issue is the oldest one.
The query is incorrectly returns the oldest issue instead of newest one

To reproduce

  1. Go to metrics.opensearch.org
  2. Go to dev-tools
  3. Try below query:
GET opensearch_release_metrics/_search
{
    "size": 1,
    "_source": "release_issue",
    "query": {
        "bool": {
            "filter": [
                {
                    "match_phrase": {
                        "version": "3.0.0"
                    }
                },
                {
                    "match_phrase": {
                        "repository": "opensearch-build"
                    }
                }
            ]
        }
    },
    "sort": [
        {
            "current_date": {
                "order": "desc"
            }
        }
    ]
}

Expected behavior

No response

Screenshots

If applicable, add screenshots to help explain your problem.

Host / Environment

No response

Additional context

No response

Relevant log output

@gaiksaya
Copy link
Member Author

The lib just fetches the data from metrics cluster. Created an issue to fix the same: opensearch-project/opensearch-metrics#123

@gaiksaya
Copy link
Member Author

Closing this issue as issue has been fixed via metrics. See opensearch-project/opensearch-metrics#123

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Engineering Effectiveness Board Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant