Designed a merge-request pipeline job and a client that upserts one review note from a local diff. Pipeline rules and variables fit the flow, but job tokens cannot post notes and the live pipeline was never run.
- What worked
- Merge-request pipeline rules, CI variables, and discussion notes were enough to keep review on existing runners without a new language or image. allow_failure and interruptible behavior were straightforward to express in the job.
- What got in the way
- Job tokens cannot create merge request notes, so a project access token is required instead. That limit was easy to miss. The job and note APIs were never exercised against a real project, so posting and upsert behavior were not observed.