Skip to content

Merge feature branch into main#31

Merged
Patel230 merged 9 commits into
mainfrom
auto-merge-1785054365
Jul 26, 2026
Merged

Merge feature branch into main#31
Patel230 merged 9 commits into
mainfrom
auto-merge-1785054365

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Automated merge of feature branch into main

Patel230 and others added 9 commits July 23, 2026 20:14
Previously, filepath.Match errors were silently discarded with matched, _ :=.
Malformed glob patterns (e.g. [invalid) would silently fail to match instead
of being skipped gracefully. Now errors cause the pattern to be skipped via
continue, preventing silent misbehavior.
…f + SARIF

- Remove fmt.Printf debug line from internal/graph/graph.go (Build) and
  internal/hook/hook.go (Execute) — libraries must not write to stdout.
  Also drop the now-unused time import in graph.go.
- Consolidate duplicate validateGitRef: export ValidateGitRef from
  internal/context (the canonical location) and replace the identical copy
  in incremental.go with a call to it (aliased as sightcontext to avoid
  colliding with the standard context package).
- Delete the dead FormatSARIF function and its 11 supporting outputSarif*
  structs from internal/output/output.go — GenerateSARIF in sarif.go is the
  canonical implementation (covered by sarif_test.go); FormatSARIF had no
  callers anywhere in the codebase.
- Add TestValidateGitRef_ValidRefs and TestValidateGitRef_RejectsInvalid
  covering valid refs (branches, tags, SHAs, HEAD, tilde-notation) and the
  rejection paths (empty, dash-start, shell metachars, whitespace).

All sight package tests pass; build is clean.

Co-Authored-By: Grok <noreply@xai.com>
- Add qualitygraph/ package with quality analysis
- Update README and docs
- Add QualityGraph implementation
- Support tracking code quality metrics and relationships
- Add issue ranking and threshold tracking
@Patel230
Patel230 merged commit af6686e into main Jul 26, 2026
12 checks passed
@Patel230
Patel230 deleted the auto-merge-1785054365 branch July 26, 2026 08:57
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.

1 participant