Skip to content

Conversation

@dimitarvdimitrov
Copy link
Owner

Adds ability to exclude specific tests from flaky test analysis by name. Tests in the ignored list are filtered out before applying top-K limit, ensuring they don't consume analysis slots or generate GitHub issues.

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
@dimitarvdimitrov dimitarvdimitrov force-pushed the dimitar/analyze-test-failures/github-issues branch from f5b7c66 to d7b015f Compare September 10, 2025 09:02
ricky-undeadcoders and others added 25 commits September 10, 2025 17:17
* feat: WIP authentication for GCS

* Fix code issue and apply recommended change
)

| datasource  | package              | from    | to      |
| ----------- | -------------------- | ------- | ------- |
| github-tags | github/codeql-action | v3.30.2 | v3.30.3 |

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
| datasource | package             | from    | to      |
| ---------- | ------------------- | ------- | ------- |
| go         | k8s.io/apimachinery | v0.34.0 | v0.34.1 |

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…rafana#1326)

chore(deps): update actions/create-github-app-token action to v2.1.4

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
chore(deps): update dependency @types/node to v24.4.0

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…fana#1331)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
chore(deps): update dependency @types/bun to v1.2.22

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…1333)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
chore(deps): update octokit monorepo

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update techdocs-cli version to 1.9.7

Installing the current version is broken:
```
Run sudo npm install -g @techdocs/[email protected]
  sudo npm install -g @techdocs/[email protected]
  shell: /usr/bin/bash -e {0}
  env:
    GOTOOLCHAIN: local
npm error code ETARGET
npm error notarget No matching version found for @backstage/plugin-permission-node@^0.10.4.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.6.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.0
npm notice To update run: npm install -g [email protected]
npm notice
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-09-16T14_56_34_121Z-debug-0.log
```
chore(deps): update dependency @types/node to v24.5.1

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
| datasource | package  | from   | to     |
| ---------- | -------- | ------ | ------ |
| docker     | oven/bun | 1.2.21 | 1.2.22 |

Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
* Add cleanup-branches action

* clean up shellcheck issues

* update cleanup-branches action

* Add max-date option in action

* fix protected_branches arr

* Update actions/cleanup-branches/action.yml

Co-authored-by: Doug Blinkhorn <[email protected]>

* Fix branch list so that it works on a shallow clone

* Update actions/cleanup-branches/action.yml

Co-authored-by: Doug Blinkhorn <[email protected]>

* fetch branches

* prettier

* Update actions/cleanup-branches/README.md

Co-authored-by: Doug Blinkhorn <[email protected]>

---------

Co-authored-by: Doug Blinkhorn <[email protected]>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…fana#1342)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…1343)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
fix(deps): update commitlint monorepo to v20

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
zerok and others added 5 commits September 26, 2025 08:29
…1355)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…grafana#1352)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
…fana#1356)

Co-authored-by: grafanarenovatebot[bot] <146220760+grafanarenovatebot[bot]@users.noreply.github.com>
@dimitarvdimitrov dimitarvdimitrov force-pushed the dimitar/analyze-test-failures/exclude-tests branch 2 times, most recently from 3d760ce to 180c8ca Compare September 29, 2025 07:49
* feat: add GitHub issue management functionality

Complete the flaky test action with full GitHub integration:
- Add GitHub client implementation for issue management
- Create and update GitHub issues for flaky tests
- Search for existing issues to avoid duplicates
- Automatically reopen closed issues when tests fail again
- Rich issue templates with investigation guides and author mentions
- GitHub CLI integration for all operations
- Add github-token and skip-posting-issues config options

Builds on PR2's Git author tracking with complete GitHub workflow.
This completes the full analyze-test-failures action functionality.

* Format Go code with gofmt

* Revert "Remove PR3-related features from documentation"

This reverts commit 97c3804.

* Adapt tests

* Pull author resolution out of git client

# Conflicts:
#	actions/go-flaky-tests/cmd/go-flaky-tests/analyzer.go

* Make time range configurable

* Fix template reference to use go-flaky-tests instead of analyze-test-failures

* Revert "Remove github-token parameter from local script"

This reverts commit d660967.

* Fewer emojis

* Tag authors

* Include job name and attempt

* Mention authors

* Fix linter

* Add CODEOWNERS
Adds ability to exclude specific tests from flaky test analysis by name.
Tests in the ignored list are filtered out before applying top-K limit,
ensuring they don't consume analysis slots or generate GitHub issues.
@dimitarvdimitrov dimitarvdimitrov force-pushed the dimitar/analyze-test-failures/exclude-tests branch from 180c8ca to 8524bb1 Compare September 29, 2025 08:21
@dimitarvdimitrov
Copy link
Owner Author

grafana#1359

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants