Skip to content

test: expand CI core suite with config/context contracts#7

Merged
danbot315 merged 1 commit into
mainfrom
feat/p0-expand-ci-suite
Mar 2, 2026
Merged

test: expand CI core suite with config/context contracts#7
danbot315 merged 1 commit into
mainfrom
feat/p0-expand-ci-suite

Conversation

@danbot315
Copy link
Copy Markdown
Contributor

P0 follow-up to expand CI checks while keeping the suite green.

What changed

  • Expanded CI test step to include additional core contract tests:
    • packages/core/src/workflow-generator.test.ts
    • packages/core/src/context.test.ts
    • packages/core/src/config.test.ts

Stabilization fixes included

  • Restored context/config compatibility behavior expected by test suite:
    • DotGithubContext root/output path defaults and legacy compatibility
    • setConfigPath/getConfigPath override behavior (path or directory)
    • addActionToConfig supports legacy rootDir string call pattern and normalizes absolute output paths
  • Fixed plugin generator strict/type issues introduced during earlier refactors.
  • Made workflow construct registration tolerant for test doubles lacking addWorkflow.

Validation

  • bun run build
  • bun run typecheck
  • bun run lint
  • bun run test -- packages/core/src/workflow-generator.test.ts packages/core/src/context.test.ts packages/core/src/config.test.ts

@danbot315 danbot315 requested a review from azweb76 March 2, 2026 04:57
@danbot315 danbot315 merged commit bad3a2f into main Mar 2, 2026
1 check passed
@danbot315 danbot315 deleted the feat/p0-expand-ci-suite branch March 2, 2026 05:00
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.

1 participant