Skip to content

fix(ci): drop bundle and verify-bundled steps#3

Merged
Ed Fricker (beastawakens) merged 1 commit into
mainfrom
fix/ci-drop-bundle
May 8, 2026
Merged

fix(ci): drop bundle and verify-bundled steps#3
Ed Fricker (beastawakens) merged 1 commit into
mainfrom
fix/ci-drop-bundle

Conversation

@beastawakens
Copy link
Copy Markdown
Member

@beastawakens Ed Fricker (beastawakens) commented May 8, 2026

User description

Summary

After #2 fixed the lockfile issue, the validate workflow now fails on the Verify bundled spec is valid step:

No files found to lint
##[error]Process completed with exit code 2

Why: redocly bundle specs/v3/*.yaml -o bundled/openapi-v3.yaml treats -o as a directory when there are multiple input files, producing one bundled file per input (bundled/openapi-v3.yaml/v3-token.yaml, etc.). Spectral then can't find bundled/openapi-v3.yaml as a single file.

The bundle was wired up assuming one combined API spec, but specs/v3/ contains multiple independent specs (one per API) that can't sensibly merge into a single document. The Lint step already validates each spec individually, so the bundle/verify-bundled steps add no value.

Drop both. If a published combined artifact is needed later it should live in a separate publish workflow.

Test plan


PR Type

Bug fix


Description

  • Remove bundle and verify-bundled CI steps

  • Fix validate workflow failure from multi-file bundling issue


Diagram Walkthrough

flowchart LR
  A["validate.yml"] -- "remove" --> B["Bundle OpenAPI specs step"]
  A -- "remove" --> C["Verify bundled spec step"]
  A -- "keep" --> D["Lint individual specs with Spectral"]
Loading

File Walkthrough

Relevant files
Bug fix
validate.yml
Remove bundle and verify-bundled CI steps                               

.github/workflows/validate.yml

  • Removed the "Bundle OpenAPI specs" step that ran redocly bundle
  • Removed the "Verify bundled spec is valid" step that ran spectral on
    the bundled output
  • Workflow now only lints individual specs directly
+0/-6     


Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • `redocly bundle specs/v3/*.yaml -o bundled/openapi-v3.yaml` treats
    the output path as a directory when given multiple input files,
    producing one bundled file per input (e.g.
    `bundled/openapi-v3.yaml/v3-token.yaml`). Spectral then fails to
    find `bundled/openapi-v3.yaml` as a single file:
    
      No files found to lint
    
    The bundle was originally wired up assuming one combined API spec,
    but `specs/v3/` contains multiple independent specs (one per API)
    that can't sensibly be merged into a single document. The Lint step
    already validates each spec individually, so the bundle and
    verify-bundled steps add no value here.
    
    Drop both steps. If a published bundle is needed later it can be a
    separate publish workflow.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    Copilot AI review requested due to automatic review settings May 8, 2026 11:12
    @prfectionist
    Copy link
    Copy Markdown

    prfectionist Bot commented May 8, 2026

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    🎫 Ticket compliance analysis 🔶

    2 - PR Code Verified

    Compliant requirements:

    • Use npx --yes with pinned package versions (already done in prior PR)
    • Unblock automated sync PRs (this PR further fixes the workflow)

    Requires further human verification:

    1 - Not compliant

    Non-compliant requirements:

    • This PR does not add or sync any API specs (it only fixes CI)

    Requires further human verification:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🏅 Score: 95
    🧪 No relevant tests
    🔒 No security concerns identified
    🔀 No multiple PR themes
    ⚡ No major issues detected

    @beastawakens Ed Fricker (beastawakens) merged commit d72d642 into main May 8, 2026
    3 checks passed
    @beastawakens Ed Fricker (beastawakens) deleted the fix/ci-drop-bundle branch May 8, 2026 11:13
    @prfectionist
    Copy link
    Copy Markdown

    prfectionist Bot commented May 8, 2026

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Copy link
    Copy Markdown

    Copilot AI left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    Pull request overview

    This PR updates the CI validate workflow to stop attempting to bundle multiple independent OpenAPI v3 specs into a single file, eliminating a failing “Verify bundled spec” lint step.

    Changes:

    • Remove the Redocly bundle step from the validate workflow.
    • Remove the “Verify bundled spec is valid” Spectral lint step that expected a single bundled output.

    💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

    @@ -23,9 +23,3 @@ jobs:

    - name: Lint OpenAPI specs with Spectral
    run: npx --yes @stoplight/spectral-cli@^6.14.0 lint specs/v3/*.yaml --fail-severity error
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants