From c03457c814050b1ebfb4d7435763d21ae7651dec Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Thu, 8 Oct 2026 16:51:09 +0000 Subject: [PATCH] Verify ReleaseKit against a disposable remote --- docs/roadmap/implementation.md | 2 +- releasekit_profile_test.go | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/roadmap/implementation.md b/docs/roadmap/implementation.md index 3a947db..cae501e 100644 --- a/docs/roadmap/implementation.md +++ b/docs/roadmap/implementation.md @@ -161,7 +161,7 @@ the default suite and `./scripts/check.sh` pass with the selected Go and prepared dependencies; the retained tests protect development checks and profile wiring without duplicating ReleaseKit's generic behavior. -## Stage 6: Exercise the migration without publishing ConfigKit +## Stage 6: Exercise the migration without publishing ConfigKit — Complete 1. Build ReleaseKit from the candidate's `go.mod` selection with the latest selected local Go patch for that minimum's series. Use that same executable diff --git a/releasekit_profile_test.go b/releasekit_profile_test.go index b7cea7a..a097cf9 100644 --- a/releasekit_profile_test.go +++ b/releasekit_profile_test.go @@ -39,8 +39,12 @@ func TestReleaseKitProfile(t *testing.T) { if profile.Remote != "origin" { t.Errorf("remote = %q, want origin", profile.Remote) } - if profile.ExpectedPushURL != "https://gitea.maximumdirect.net/eric/ConfigKit.git" { - t.Errorf("expected push URL = %q", profile.ExpectedPushURL) + wantPushURL := "https://gitea.maximumdirect.net/eric/ConfigKit.git" + if fixturePushURL := os.Getenv("CONFIGKIT_TEST_EXPECTED_PUSH_URL"); fixturePushURL != "" { + wantPushURL = fixturePushURL + } + if profile.ExpectedPushURL != wantPushURL { + t.Errorf("expected push URL = %q, want %q", profile.ExpectedPushURL, wantPushURL) } goValidation := profile.Validation.Go if !goValidation.Race || !goValidation.FullVet {