Prepare Navidrome MCP packaging and upstream automation on GitLab #357

Closed
opened 2026-10-17 12:05:48 +01:00 by nimmo · 3 comments
Owner

Migrate the imported Navidrome MCP packaging project to native GitLab CI as the next small flake pilot after Token TV.

Scope:

  • Confirm imported history matches the currently locked package revision.
  • Add lightweight package/flake validation and useful package smoke checks for branch/MR pipelines.
  • Port the daily upstream updater with validated changes and scoped repository-write authentication.
  • Document runner assignment, protected-main job-token push permission and schedule ownership/cutover; avoid simultaneous scheduled writers on Forgejo and GitLab.
  • Validate locally, in the intended Nix job image where available, and through GitLab CI lint.

Completion criteria: reviewable project branch, passing applicable local checks and CI lint, explicit live runner/schedule/CI evidence still outstanding. Publication and live scheduler cutover are separate from preparation. Use ordinary deterministic checks rather than heavyweight AI review for this small wrapper.

Migrate the imported Navidrome MCP packaging project to native GitLab CI as the next small flake pilot after Token TV. Scope: - Confirm imported history matches the currently locked package revision. - Add lightweight package/flake validation and useful package smoke checks for branch/MR pipelines. - Port the daily upstream updater with validated changes and scoped repository-write authentication. - Document runner assignment, protected-main job-token push permission and schedule ownership/cutover; avoid simultaneous scheduled writers on Forgejo and GitLab. - Validate locally, in the intended Nix job image where available, and through GitLab CI lint. Completion criteria: reviewable project branch, passing applicable local checks and CI lint, explicit live runner/schedule/CI evidence still outstanding. Publication and live scheduler cutover are separate from preparation. Use ordinary deterministic checks rather than heavyweight AI review for this small wrapper.
nimmo added this to the GitLab Pilot milestone 2026-10-17 12:05:48 +01:00
Author
Owner

Prepared locally on feat/gitlab-native-ci, commit caae5de (not published).

The candidate adds GitLab package/shell checks, credential-free installed MCP setup-mode smoke tests, JUnit/provenance artifacts, and a serialized, protected-default-branch upstream updater. Candidate changes are checked before a project job-token push; regression tests reject failed checks, stale pipelines and concurrent branch changes. The README describes runner assignment and the single-writer schedule cutover. Package version/source hashes are unchanged.

Validation passed: project nix flake check, all-system evaluation, eight real-Git updater regressions, shell lint/format checks, MCP initialize/tool discovery/ping, GitLab CI lint and default-branch dry-run (no warnings). The entire CI check command also passed in the pinned Nix Docker image in a disposable container on the intended runner host, including local cache export.

Still pending: publication/MR review, a project runner and native GitLab pipeline, job-token push permissions, then schedule cutover. The original Forgejo timer remains active; no live credentials, service settings or schedules changed. The smoke test covers unconfigured stdio packaging/protocol, not authenticated music-server or HTTP-transport behavior.

Prepared locally on `feat/gitlab-native-ci`, commit `caae5de` (not published). The candidate adds GitLab package/shell checks, credential-free installed MCP setup-mode smoke tests, JUnit/provenance artifacts, and a serialized, protected-default-branch upstream updater. Candidate changes are checked before a project job-token push; regression tests reject failed checks, stale pipelines and concurrent branch changes. The README describes runner assignment and the single-writer schedule cutover. Package version/source hashes are unchanged. Validation passed: project `nix flake check`, all-system evaluation, eight real-Git updater regressions, shell lint/format checks, MCP initialize/tool discovery/ping, GitLab CI lint and default-branch dry-run (no warnings). The entire CI check command also passed in the pinned Nix Docker image in a disposable container on the intended runner host, including local cache export. Still pending: publication/MR review, a project runner and native GitLab pipeline, job-token push permissions, then schedule cutover. The original Forgejo timer remains active; no live credentials, service settings or schedules changed. The smoke test covers unconfigured stdio packaging/protocol, not authenticated music-server or HTTP-transport behavior.
Author
Owner

Published GitLab MR !1 and consumer MR #359, both still open. The native source pipeline and consumer CI passed. Consumer current-head review #130 is Ready to merge without findings; its external ownership questions were answered on the MR.

The remaining acceptance is the source merge and documented upstream writer cutover before merging the consumer change. Forgejo's timer remains active; GitLab repository-push permission remains disabled. No service activation or package update was performed.

Published [GitLab MR !1](https://forge.nimmog.uk/nimmo/navidrome-mcp/-/merge_requests/1) and consumer [MR #359](https://git.nimmog.uk/nimmo/nixos-config/pulls/359), both still open. The native source pipeline and consumer CI passed. Consumer current-head review #130 is Ready to merge without findings; its external ownership questions were answered on the MR. The remaining acceptance is the source merge and documented upstream writer cutover before merging the consumer change. Forgejo's timer remains active; GitLab repository-push permission remains disabled. No service activation or package update was performed.
Author
Owner

Cutover complete under explicit user authorization.

  • GitLab source MRs !1 and !2 are merged. The initial updater canary exposed a missing awk dependency; !2 starts it through the CI Nix shell with declared command-line tools. Native fix pipeline 10 and merged-main pipeline 11 passed.
  • Scheduled updater pipeline 12 built and validated upstream v2.6.0, then successfully pushed package-only commit a9819067ff5760c720c63516f28195f5730142aa using its short-lived job token. All three reported MCP smoke cases passed, and provenance/candidate-patch artifacts were uploaded.
  • The GitLab daily schedule is enabled; original Forgejo Actions is disabled, leaving one scheduled writer. Recovery tag pre-navidrome-gitlab-cutover-2026-10-17 exists on both repositories.
  • Consumer MR #359 is merged after clean current-head review/CI and source acceptance. It preserves the existing v2.3.0 application revision and NAR hash. Issue #358 is closed. No host activation was performed; later normal input updates can adopt the newly packaged upstream version.
Cutover complete under explicit user authorization. - GitLab source MRs !1 and !2 are merged. The initial updater canary exposed a missing awk dependency; !2 starts it through the CI Nix shell with declared command-line tools. Native fix pipeline 10 and merged-main pipeline 11 passed. - [Scheduled updater pipeline 12](https://forge.nimmog.uk/nimmo/navidrome-mcp/-/pipelines/12) built and validated upstream v2.6.0, then successfully pushed package-only commit `a9819067ff5760c720c63516f28195f5730142aa` using its short-lived job token. All three reported MCP smoke cases passed, and provenance/candidate-patch artifacts were uploaded. - The GitLab daily schedule is enabled; original Forgejo Actions is disabled, leaving one scheduled writer. Recovery tag `pre-navidrome-gitlab-cutover-2026-10-17` exists on both repositories. - Consumer MR #359 is merged after clean current-head review/CI and source acceptance. It preserves the existing v2.3.0 application revision and NAR hash. Issue #358 is closed. No host activation was performed; later normal input updates can adopt the newly packaged upstream version.
nimmo closed this issue 2026-10-17 14:15:46 +01:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#357
No description provided.