Skip to content

fix: CI workflow issues for scraper tests and release cherry-pick - #3

Merged
atomantic merged 11 commits into
mainfrom
dev
Jan 23, 2026
Merged

fix: CI workflow issues for scraper tests and release cherry-pick#3
atomantic merged 11 commits into
mainfrom
dev

Conversation

@atomantic

@atomantic atomantic commented Jan 23, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes CI workflow issues and consolidates into a single pipeline for clearer execution flow.

Changes

  1. Consolidated CI Pipeline - Merged separate test.yml into ci.yml:

    • Build stage: Compiles all packages once and caches artifacts
    • Test stages: Unit, integration, and scraper tests run in parallel (reusing cached build)
    • Version bump: Only runs after ALL tests pass
  2. Fixed Scraper Tests - Added build artifact restoration (previously missing the server build)

  3. Fixed Release Workflow - Store changelog commit SHA before switching branches to fix cherry-pick failure on merge commits

Pipeline Flow

Build → [Unit Tests, Integration Tests, Scraper Tests] → Bump Version (only on dev push)

Version bump is now gated on all tests passing, preventing the confusing situation where version bumps succeed while tests fail.

Test Plan

  • All test jobs pass in the consolidated CI workflow
  • Version bump only runs after all tests pass
  • No separate "Tests" workflow appears in GitHub Actions

Copilot AI review requested due to automatic review settings January 23, 2026 06:08
github-actions Bot and others added 2 commits January 23, 2026 06:08
- Build once, cache artifacts, then run all tests in parallel
- Version bump only runs after ALL tests pass (unit, integration, scraper)
- Remove separate test.yml workflow to avoid confusing parallel runs

Copilot AI left a comment

Copy link
Copy Markdown

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 fixes two CI workflow issues discovered after the v0.3.21 release and includes a version bump to v0.3.22. The scraper tests were failing because the Playwright webServer command (npm start) requires the compiled server code, and the release workflow was cherry-picking the wrong commit when merging changelog updates back to main.

Changes:

  • Added npm run build step to scraper tests workflow to compile server before Playwright starts the webServer
  • Fixed release workflow cherry-pick by storing the changelog commit SHA before switching branches
  • Bumped version from 0.3.21 to 0.3.22 across all packages
  • Corrected v0.3.21 changelog placeholders (v0.3.x → v0.3.21)

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/test.yml Added build step before scraper tests to ensure server dist files exist
.github/workflows/release.yml Store changelog commit SHA before branch checkout to fix cherry-pick target
package.json Version bump to 0.3.22
package-lock.json Version bump to 0.3.22
shared/package.json Version bump to 0.3.22
server/package.json Version bump to 0.3.22
client/package.json Version bump to 0.3.22
.changelog/v0.3.21.md Fixed version placeholders from v0.3.x to v0.3.21

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

atomantic and others added 5 commits January 22, 2026 22:14
- push to dev: runs tests + version bump
- pull_request to main: runs tests only (gate for merge)
- Added concurrency group to cancel duplicate runs
Node.js ES modules require .js extensions in imports, but TypeScript
with moduleResolution 'bundler' doesn't add them. Using tsx handles
module resolution at runtime, matching the dev environment.
Scraper tests use mock servers, don't need webServer.
E2E tests need the real server via webServer config.
@atomantic
atomantic merged commit 038af09 into main Jan 23, 2026
atomantic added a commit that referenced this pull request Apr 28, 2026
- Phase 18 foundation, issue-resolution engine, and Audit Dashboard UI all confirmed complete in code; archived to DONE.md
- 'Next Up' #3 now scopes the remaining auditor checks (place_mismatch, name_mismatch, missing_parents, duplicate_suspect, stale_record) — types are declared but walker isn't wired
- Add auditor-agent.service.ts (1233 lines) to god-file regression list
- Replace stale 'adopt buildLifespan' DRY item with the one remaining duplicate (sync.service.ts)
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.

2 participants