|
| 1 | +# Scoped Impact Analysis |
| 2 | + |
| 3 | +Generated by: `supermodel-real-scoped-impact-ranking` |
| 4 | + |
| 5 | +Repository: `grafana/grafana` |
| 6 | + |
| 7 | +Scope: `replay-dirs` |
| 8 | + |
| 9 | +Generated by the local data-plane impact implementation for replay analysis. If diff-derived function targets are present, this benchmark used reference-production.diff; production use should pass user-supplied targets/diffs. |
| 10 | + |
| 11 | +## single-production-file-target->tests:pkg/services/ngalert/store/alert_rule.go |
| 12 | + |
| 13 | +Targets: |
| 14 | +`pkg/services/ngalert/store/alert_rule.go` |
| 15 | + |
| 16 | +Structurally affected files: |
| 17 | +`pkg/services/ngalert/store/provisioning_store_test.go`, `pkg/services/ngalert/store/image_test.go` |
| 18 | + |
| 19 | +Validation files to inspect or run first: |
| 20 | +- `pkg/services/ngalert/store/alert_rule_test.go` (high, score 302) — paired test filename; same directory; mentions changed symbol; shares change terms: optimistic, lock, delete, alert, rule, uid, version, increase; filename shares diff terms: alert, rule |
| 21 | +- `pkg/services/ngalert/store/image_test.go` (high, score 267) — structural reverse dependency; same directory; mentions changed symbol; shares change terms: delete, interval, dbstore, sess, session, int64, where, same; path contains compound diff terms: alert |
| 22 | +- `pkg/services/ngalert/store/provisioning_store_test.go` (high, score 253) — structural reverse dependency; same directory; mentions changed symbol; shares change terms: lock, delete, alert, rule, uid, update, group, uids; path contains compound diff terms: alert |
| 23 | +- `pkg/services/ngalert/store/alert_rule_backfill_test.go` (high, score 216) — same directory; mentions changed symbol; shares change terms: alert, rule, uid, namespace, folder, fullpath, update, list; filename shares diff terms: alert, rule; content contains compound diff terms: note, here |
| 24 | +- `pkg/services/ngalert/store/deltas_test.go` (high, score 207) — same directory; mentions changed symbol; shares change terms: delete, alert, rule, uid, version, namespace, folder, update; path contains compound diff terms: alert; content contains compound diff terms: ngmodel, sess, note, here |
| 25 | +- `pkg/services/ngalert/store/alert_rule_labels_test.go` (high, score 203) — same directory; mentions changed symbol; shares change terms: alert, build, condition, matcher, label, prometheu, origin, sql; filename shares diff terms: alert, rule; content contains compound diff terms: note |
| 26 | +- `pkg/services/ngalert/store/namespace_test.go` (high, score 203) — same directory; mentions changed symbol; shares change terms: uid, namespace, folder, list, uids, org, title, existing; filename shares diff terms: namespace; path contains compound diff terms: alert |
| 27 | +- `pkg/services/ngalert/store/alertmanager_test.go` (high, score 191) — same directory; mentions changed symbol; shares change terms: delete, alert, version, latest, update, deleted, org, existing; path contains compound diff terms: alert; content contains compound diff terms: note, here |
| 28 | +- `pkg/services/ngalert/store/range_to_instant_test.go` (high, score 191) — same directory; mentions changed symbol; shares change terms: alert, rule, uid, query, interval, point, prometheu, invalid; path contains compound diff terms: alert; content contains compound diff terms: ngmodel, here |
| 29 | +- `pkg/services/ngalert/store/admin_configuration_test.go` (high, score 183) — same directory; mentions changed symbol; shares change terms: alert, update, org, insert, existing, sql, dbstore, ngmodel; path contains compound diff terms: alert; content contains compound diff terms: here |
| 30 | + |
| 31 | +Primary validation files: |
| 32 | +- none |
| 33 | + |
| 34 | +## single-production-function-target->tests:pkg/services/ngalert/store/alert_rule.go:ListAlertRulesByGroup |
| 35 | + |
| 36 | +Targets: |
| 37 | +`pkg/services/ngalert/store/alert_rule.go:ListAlertRulesByGroup` |
| 38 | + |
| 39 | +Structurally affected files: |
| 40 | +_none_ |
| 41 | + |
| 42 | +Validation files to inspect or run first: |
| 43 | +- `pkg/services/ngalert/store/alert_rule_test.go` (high, score 302) — paired test filename; same directory; mentions changed symbol; shares change terms: list, alert, rule, group, dbstore, query, cursor, condition; filename shares diff terms: alert, rule |
| 44 | +- `pkg/services/ngalert/store/alert_rule_backfill_test.go` (high, score 156) — same directory; shares change terms: list, alert, rule, org, sess, session, int64, uid; filename shares diff terms: alert, rule; content contains compound diff terms: note, here |
| 45 | +- `pkg/services/ngalert/store/deltas_test.go` (high, score 147) — same directory; shares change terms: list, alert, rule, group, query, condition, org, int64; path contains compound diff terms: alert; content contains compound diff terms: ngmodel, sess, note, here |
| 46 | +- `pkg/services/ngalert/store/namespace_test.go` (high, score 143) — same directory; shares change terms: list, dbstore, org, int64, uid, folder, namespace, sql; filename shares diff terms: namespace; path contains compound diff terms: alert; content contains compound diff terms: alert |
| 47 | +- `pkg/services/ngalert/store/compat_test.go` (high, score 123) — same directory; shares change terms: alert, rule, group, query, ngmodel, condition, org, uid; path contains compound diff terms: alert; content contains compound diff terms: note |
| 48 | +- `pkg/services/ngalert/store/instance_database_test.go` (high, score 123) — same directory; shares change terms: list, alert, rule, group, dbstore, query, condition, org; path contains compound diff terms: alert; content contains compound diff terms: ngmodel |
| 49 | +- `pkg/services/ngalert/store/proto_instance_database_test.go` (high, score 123) — same directory; shares change terms: alert, rule, group, condition, org, int64, uid, append; path contains compound diff terms: alert; content contains compound diff terms: note |
| 50 | +- `pkg/services/ngalert/store/image_test.go` (high, score 117) — same directory; shares change terms: dbstore, sess, session, int64, where, same; path contains compound diff terms: alert; content contains compound diff terms: alert, query, note, here |
| 51 | +- `pkg/services/ngalert/store/instance_database_bench_test.go` (high, score 113) — same directory; shares change terms: alert, rule, group, dbstore, org, int64, uid, append; path contains compound diff terms: alert; content contains compound diff terms: ngmodel |
| 52 | +- `pkg/services/ngalert/store/provisioning_store_test.go` (high, score 113) — same directory; shares change terms: alert, rule, group, dbstore, org, int64, uid, same; path contains compound diff terms: alert; content contains compound diff terms: sess |
| 53 | + |
| 54 | +Primary validation files: |
| 55 | +- none |
| 56 | + |
| 57 | +## single-production-function-target->tests:pkg/services/ngalert/store/alert_rule.go:buildGroupCursorCondition |
| 58 | + |
| 59 | +Targets: |
| 60 | +`pkg/services/ngalert/store/alert_rule.go:buildGroupCursorCondition` |
| 61 | + |
| 62 | +Structurally affected files: |
| 63 | +`pkg/services/ngalert/store/alert_rule.go` |
| 64 | + |
| 65 | +Validation files to inspect or run first: |
| 66 | +- `pkg/services/ngalert/store/alert_rule_test.go` (high, score 242) — paired test filename; same directory; shares change terms: group, cursor, condition, dbstore, list, alert, rule, query; filename shares diff terms: alert, rule; content contains compound diff terms: ngmodel, select, note, here |
| 67 | +- `pkg/services/ngalert/store/alert_rule_backfill_test.go` (high, score 156) — same directory; shares change terms: list, alert, rule, org, sess, session, int64, uid; filename shares diff terms: alert, rule; content contains compound diff terms: note, here |
| 68 | +- `pkg/services/ngalert/store/deltas_test.go` (high, score 147) — same directory; shares change terms: group, condition, list, alert, rule, query, org, int64; path contains compound diff terms: alert; content contains compound diff terms: ngmodel, sess, note, here |
| 69 | +- `pkg/services/ngalert/store/namespace_test.go` (high, score 143) — same directory; shares change terms: dbstore, list, org, int64, uid, folder, namespace, sql; filename shares diff terms: namespace; path contains compound diff terms: alert; content contains compound diff terms: alert |
| 70 | +- `pkg/services/ngalert/store/compat_test.go` (high, score 123) — same directory; shares change terms: group, condition, alert, rule, query, ngmodel, org, uid; path contains compound diff terms: alert; content contains compound diff terms: note |
| 71 | +- `pkg/services/ngalert/store/instance_database_test.go` (high, score 123) — same directory; shares change terms: group, condition, dbstore, list, alert, rule, query, org; path contains compound diff terms: alert; content contains compound diff terms: ngmodel |
| 72 | +- `pkg/services/ngalert/store/proto_instance_database_test.go` (high, score 123) — same directory; shares change terms: group, condition, alert, rule, org, int64, uid, append; path contains compound diff terms: alert; content contains compound diff terms: note |
| 73 | +- `pkg/services/ngalert/store/image_test.go` (high, score 117) — same directory; shares change terms: dbstore, sess, session, int64, where, same; path contains compound diff terms: alert; content contains compound diff terms: alert, query, note, here |
| 74 | +- `pkg/services/ngalert/store/instance_database_bench_test.go` (high, score 113) — same directory; shares change terms: group, dbstore, alert, rule, org, int64, uid, append; path contains compound diff terms: alert; content contains compound diff terms: ngmodel |
| 75 | +- `pkg/services/ngalert/store/provisioning_store_test.go` (high, score 113) — same directory; shares change terms: group, dbstore, alert, rule, org, int64, uid, same; path contains compound diff terms: alert; content contains compound diff terms: sess |
| 76 | + |
| 77 | +Primary validation files: |
| 78 | +- none |
| 79 | + |
0 commit comments