Add CodeBoarding architecture analysis - #1
Merged
Conversation
CodeBoarding reviewStatus: 0 changed components See the full change in CodeBoarding. graph LR
n_Owner_and_Pet_Domain_Management["Owner and Pet Domain Management"]
n_Veterinarian_Directory_Management["Veterinarian Directory Management"]
n_Web_MVC_Presentation_Configuration["Web MVC Presentation Configuration"]
n_Cache_and_Diagnostic_Subsystem["Cache and Diagnostic Subsystem"]
n_Application_Bootstrap_and_Runtime_Configuration["Application Bootstrap and Runtime Configuration"]
n_Cache_and_Diagnostic_Subsystem -- "Configures JCache region for veterinarian data…" --> n_Veterinarian_Directory_Management
n_Application_Bootstrap_and_Runtime_Configuration -- "Bootstraps Spring context and registers AOT ser…" --> n_Owner_and_Pet_Domain_Management
n_Application_Bootstrap_and_Runtime_Configuration -- "Registers native reflection hints and boots vet…" --> n_Veterinarian_Directory_Management
n_Application_Bootstrap_and_Runtime_Configuration -- "Discovers and applies MVC web configurations an…" --> n_Web_MVC_Presentation_Configuration
n_Application_Bootstrap_and_Runtime_Configuration -- "Activates cache auto-configuration and diagnost…" --> n_Cache_and_Diagnostic_Subsystem
classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
|
Amp-Thread-ID: https://ampcode.com/threads/T-01a04035-16e0-717f-8cce-97041e26e175 Co-authored-by: Ivan Milev <ivanmilevtues@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a04035-16e0-717f-8cce-97041e26e175 Co-authored-by: Ivan Milev <ivanmilevtues@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a04035-16e0-717f-8cce-97041e26e175 Co-authored-by: Ivan Milev <ivanmilevtues@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the CodeBoarding GitHub Action via two workflows:
codeboarding-sync.yml: on every push tomain, commits.codeboarding/analysis.json(your architecture baseline + readable docs). This iswhat the CodeBoarding viewer opens.
codeboarding.yml: runs on every push to a pull request, keeping anarchitecture-diff comment current and uploading that PR’s analysis as a build artifact
for the viewer’s PR diff. Each run continues from the one before it, so a push costs a
fraction of a full analysis.
Both are needed: sync produces the baseline; review diffs against it.
Sync delivery
Sync commits the generated baseline directly to
main.Works out of the box
Just merge it: the Action runs on the free tier, with no extra setup. The
id-token: writepermission lets it identify your repo to CodeBoarding’s hosted LLM,metered against a weekly limit for the repository owner.
Want more, or unmetered, usage?
The workflows already wire two repository secrets, so add whichever you have under
Settings → Secrets and variables → Actions and the next run picks it up (no YAML edit):
OPENROUTER_API_KEY: your own OpenRouter key (BYO key).CODEBOARDING_LICENSE: a CodeBoarding paid plan (unmetered).A key wins if both are set; the license is used only when no key is set; with neither,
the free tier runs with nothing configured. For a non-OpenRouter provider (Anthropic,
OpenAI, Google, AWS Bedrock, …) see the
provider list, or re-run
setup from your CodeBoarding dashboard and pick one.
Opened for you by CodeBoarding.