Skip to content

Fix/buildgraph - #2

Merged
bubunyo merged 9 commits into
masterfrom
fix/buildgraph
Mar 8, 2026
Merged

Fix/buildgraph#2
bubunyo merged 9 commits into
masterfrom
fix/buildgraph

Conversation

@bubunyo

@bubunyo bubunyo commented Mar 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 8, 2026 03:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the BuildGraph CI workflow and fixture project so analysis/build steps run against the testproject/ module, and aligns CLI config-loading behavior with “missing config is OK”.

Changes:

  • Adjust BuildGraph GitHub Actions workflow to run with testproject/ as the working directory and use testproject/go.mod for Go setup.
  • Improve CLI config handling by treating missing config files as non-fatal using errors.Is(..., os.ErrNotExist).
  • Update the testproject/ fixture (README + baseline snapshot + small code edits) to reflect the new expected analysis/baseline state.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
testproject/core/module-b/bar.go Fixture code edits that change function bodies/output and therefore affect analysis/hashes.
testproject/core/module-a/foo.go Fixture code edits that change call graph/deps and affect analysis/hashes.
testproject/README.md Adds documentation describing the testproject/ layout and dependency graph.
testproject/.buildgraph/baseline.json Refreshes the stored baseline snapshot to match updated fixture code/graph.
cli/root.go Fixes missing-config handling when using Viper with an explicit config file path.
.github/workflows/buildgraph.yml Runs analysis/build/test steps against the testproject/ module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread testproject/core/module-a/foo.go Outdated
Comment thread testproject/core/module-b/bar.go Outdated
Comment thread testproject/core/module-b/bar.go Outdated
Comment thread .github/workflows/buildgraph.yml
Comment thread testproject/core/module-b/bar.go Outdated
Comment thread testproject/core/module-a/foo.go
Comment thread testproject/core/module-a/foo.go Outdated
Comment thread testproject/core/module-a/foo.go Outdated
@bubunyo
bubunyo merged commit 6ad46ad into master Mar 8, 2026
5 checks passed
@bubunyo
bubunyo deleted the fix/buildgraph branch March 13, 2026 06:33
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.

2 participants