chore: Configure Renovate#3
Open
renovate[bot] wants to merge 19 commits into
Open
Conversation
CI workflow runs build and test across Ubuntu, macOS, and Windows. Release workflow triggers on v* tags, builds dist, packages per-target artifacts (zip/tar.gz), generates checksums, and uploads to GitHub Releases. Add Justfile with common tasks (build/test/run/fmt/clean) and ignore artifacts in .gitignore
Use std.c.getenv throughout and remove environ_map dependencies. Update runtime.init and Client.init signatures to read env directly. Remove AppContext environ_map usages and debug exposure of GITHUB_TOKEN.
Replace the old tree-sitter based parsing logic with a dedicated yaml_tree and syntax/github_actions module and change the parse API to collectReferencesFromSource. Extract and rename the apply logic to core/file_rewriter (RewriteError, rewriteSelectedFiles) and add a core/text_edit utility for applying text edits. Add app-level config, check_service, and update_service; update runtime to accept AppConfig and adjust CLI imports accordingly.
Model workflow/action discoveries as typed references instead of a flat record.\n\nThis introduces explicit source spans and reference kinds, and threads that model through tree-sitter extraction, scanning, and GitHub resolution. The result is easier to reason about, closer to what the parser actually discovers, and a better base for future rewrite and candidate cleanup.
split dependency handling into loadModules/BuildModules and factor tree-sitter setup into configureTreeSitterYaml; add artifactName helper and remove the exe_filename field. update CI to run zig build --fetch then zig build in a separate step so dependencies are fetched before building
improve overall code
- document project layout, CLI entrypoints, and editing rules - list expected build, test, fmt, and validation commands
Add an app_version build option and propagate it to the executable and dist step so releases can embed the CLI version. Pass the GitHub Actions release step output into zig build in the release workflow. Include packaging changes to bundle LICENSE with binaries so archives contain the license, and adjust tar/zip steps to package from the bundle directory. Add installation script (install.sh), project README, and MIT LICENSE, and set the CLI version at runtime from build_options in the update command.
Update build.zig to create a standalone test module (src/tests.zig) with explicit imports (zli, tree-sitter) and pass target/optimize/modules into addTestStep. Rename compile parameter in configureTreeSitterYaml and attach C/C++ sources and include paths to the compile module. Fix core/file_rewriter: trim trailing horizontal space before inserting an inline comment and use source.ref_span.start/end for ref offsets. Adjust affected tests and test fixtures in ui.zig and prompt.zig.
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
c236861 to
86c8cfb
Compare
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.
Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.
🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.
📚 See our Reading List for relevant documentation you may be interested in reading.
🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to
renovate.jsonin this branch. Renovate will update the Pull Request description the next time it runs.Detected Package Files
.github/workflows/ci.yaml(github-actions).github/workflows/release.yaml(github-actions)renovate.json(renovate-config)Configuration Summary
Based on the default config's presets, Renovate will:
fixfor dependencies andchorefor all others if semantic commits are in use.node_modules,bower_components,vendorand various test/tests (except for nuget) directories.dependenciesand{{arg1}}to PRs.depsfor all commits and PR titles.chorefor all commits.peerDependenciesversions/ranges.minorandpatchupdates together.What to Expect
It looks like your repository dependencies are already up-to-date and no Pull Requests will be necessary right away.
❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.
This PR was generated by Mend Renovate. View the repository job log.