Skip to content

Pin today's GitHub behaviour before adding GitLab - #5

Open
HugoHeneault wants to merge 1 commit into
mainfrom
HugoHeneault/add-gitlab-support
Open

HugoHeneault wants to merge 1 commit into
mainfrom
HugoHeneault/add-gitlab-support

Conversation

@HugoHeneault

Copy link
Copy Markdown

🤖 Généré par Claude Opus 5.5

Step 1 of 6. Part of a stack for GitLab support, issue 4 on spatie/bloom. Each PR targets the previous step, so its diff is that step alone. Nothing changes for a project on GitHub: the characterisation tests from step 1 are never edited by later steps.

Characterisation tests only, no app code. They pin today's GitHub behaviour exactly, so the following steps can prove they leave it alone:

  • every gh command run through GitHub.run, argument by argument
  • how a remote becomes the host and --repo gh is pointed at
  • the default prompts, instruction files and the three pull request tool listings, byte for byte in Tests/fixtures/characterisation
  • the stored keys and raw values that outlive a launch

Characterisation tests for every gh command run through GitHub.run, the
remote to host and repository resolution, the default prompts and
instruction files, the pull request tools' listings, and the keys and
raw values that outlive a launch. Long texts are held in fixtures under
Tests/fixtures/characterisation, recorded from a CI run.
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.

1 participant