Named profiles + nightly toolchain + dep updates - #16
Merged
Merged
Conversation
Init-deep inline path (S~345KB, N_quick=1). Root only, no subdirs warranted.
- nixpkgs stays nixos-unstable, add crane, one stable toolchain everywhere - buildDepsOnly -> cargoArtifacts split, cleanCargoSource, strictDeps - devShell default (bacon/cargo-deny/cargo-edit, drop cargo-watch/wizard/nextest/udeps) + lean ci shell - clippy/test/deny CI jobs use .#ci; treefmt adds prettier
- Config is now {profiles, active_profile, updater}; legacy [graylog]
migrates in-memory to profiles.default without re-auth
- Global --profile (GRAYLOG_PROFILE), profiles list/use/show/delete,
ping and auth report profile + available_profiles
- ValidationError for profile misuse, token-free summaries,
per-profile fields-{profile} cache keys
- New profiles rename command (validates both names, rejects unknown source and existing target, follows active selection) - skills/graylog-cli: add Profiles section (storage layout, management commands, --profile/GRAYLOG_PROFILE, ping fields)
- nix build: set doCheck=false on crane builds; the ping integration test needs loopback networking, which the nix sandbox blocks (suite runs with network in the CI test job) - cargo-deny: ignore RUSTSEC-2026-0173 (proc-macro-error2, unmaintained transitive via latest tabled_derive, compile-time only) - profiles: invalidate per-profile fields cache on re-auth so a replaced profile cannot serve the previous server field list - profiles: reject case-insensitive duplicate names on auth and rename (cache files live on case-insensitive filesystems) - treefmt: prettier realignment of skill docs table
- nix builds: disable checks for the Windows cross package too; integration tests need loopback, unavailable in the sandbox - config load: reject profile keys that fail name validation so hand-edited keys cannot reach cache file paths - profiles list/show: validate a --profile override instead of reporting a phantom active profile - tests: set APPDATA in the harness so Windows resolves the temp config dir; AGENTS.md per-profile cache key doc
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.
Named profiles for multiple Graylog instances, plus supporting changes.
Profiles (3fa0d24 + follow-ups)
Configis now{ profiles, active_profile, updater }; legacy[graylog]migrates in-memory toprofiles.defaultwithout re-auth--profile(GRAYLOG_PROFILE),profiles list/show/use/rename/delete;ping/authreportprofile+available_profilesValidationError; token-free summaries; per-profilefields-<profile>cache keys-D warningscleanAlso in this PR
cishell; clippy/test/deny CI jobs use.#ciFixes CI issues on this branch before merge; release to follow with a fresh tag after merge.