Skip to content

fix(ci): keep Devtools owner workflow generation self-hosted and stable #261

Description

@artiphishle

Problem

The trusted Renovate Devtools-owner synchronization runs from the base branch. Its owner-specific workflow rendering currently omits the self-hosted APM/structure commands, so rendered Devtools workflows fall back to ./node_modules/.bin/ankhorage-*. After the PKGViz audit slot was added, rendering an inapplicable audit also leaves extra terminal blank lines, causing the generated root CI workflow to fail Prettier.

This blocks the Devtools toolchain Renovate PR even when its dependency changes are otherwise valid.

Scope

  • make Devtools owner synchronization use the same self-hosted release command resolution as normal managed workflow rendering;
  • keep rendered workflow files normalized to one terminal newline when optional managed sections are absent;
  • add regression coverage for self-hosted APM/structure commands and stable workflow output;
  • do not add Prettier/ESLint/Knip suppressions to bypass generated output.

Required skills

Before implementation read AGENTS.md, inspect .agents/skills, and load:

  • ankhorage-coding-rules
  • ankhorage-project-structure
  • hexagonal-architecture

Acceptance

  • Devtools owner-synced CI uses node ./dist/cli/bin/apm-release.js;
  • owner-synced release uses the built APM and structure CLIs;
  • rendered workflows end with exactly one newline;
  • build, check-types, lint, Knip, tests, changeset and format checks pass;
  • PR is assigned to artiphishle, links and closes this issue.

Related: #241, #242.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions