BIT-3394: Gitea Actions CI (lint, test, coverage) #1

Merged
spark merged 5 commits from bit-3394-gitea-ci into main 2026-04-22 22:52:31 +01:00
Owner

Closes BIT-3394. See issue for acceptance.

Closes BIT-3394. See issue for acceptance.
spark added 1 commit 2026-04-15 03:30:21 +01:00
ci: Gitea Actions pipeline for ai-news-writer (BIT-3394)
ai-news-writer-ci / test (pull_request) Failing after 30s
b0d493d2ff
Align workflow with BIT-2731: lint, npm test under c8 with lcov, upload
coverage artifact, optional Codecov via repository secret. Document
branch protection and forge URLs in README; ignore coverage output.

Fix ESLint (auto-fix plus strict equality) so the lint job is green.
Disable c8 global check-coverage until overall line coverage catches up;
reports and artifacts remain for Codecov and local review.

Signed-off-by: Maria Papoila <[email protected]>
spark force-pushed bit-3394-gitea-ci from d8fc8c4d98 to b0d493d2ff 2026-04-15 03:30:21 +01:00 Compare
spark scheduled this pull request to auto merge when all checks succeed 2026-04-15 06:48:24 +01:00
spark scheduled this pull request to auto merge when all checks succeed 2026-04-15 13:39:16 +01:00
spark added 3 commits 2026-04-16 17:50:47 +01:00
- Extract command handlers (write, listen, wp:test, rss:test, x:test) into separate modules
- Create src/cli/write.js for manual article write command
- Create src/cli/listen.js for RSS listener and auto mode
- Create src/cli/test-wp.js for WordPress connection tests
- Create src/cli/test-rss.js for RSS feed tests
- Create src/cli/test-x.js for X/Twitter API tests
- Create src/cli/index.js as command dispatcher
- Simplify src/index.js to only handle initialization and error handling
- All tests pass, functionality preserved

Co-Authored-By: Paperclip <[email protected]>
- Extract authentication functions into src/http/ui-auth.js
- Extract validation functions into src/http/ui-validators.js
- Extract page rendering into src/http/ui-pages.js
- Simplify ui-handlers.js to core routing logic
- Reduced ui-handlers.js from 593 to ~270 lines
- All 57 tests pass, functionality preserved

Co-Authored-By: Paperclip <[email protected]>
chore: add CONTRIBUTING and CODEOWNERS baseline
ai-news-writer-ci / test (pull_request) Has been cancelled
f61bb11754
Paperclip-Agent: Diana Neves (urlKey diana-neves; id 4427016d-7e8f-46e9-9694-3d062e78cc3a)
Paperclip-Issue: BIT-3492
spark added 1 commit 2026-04-22 22:52:27 +01:00
Merge remote-tracking branch 'origin/main' into tmp-sync-pr1
ai-news-writer-ci / test (pull_request) Failing after 30s
dff063e14b
spark merged commit 5e95de0b0d into main 2026-04-22 22:52:31 +01:00
spark deleted branch bit-3394-gitea-ci 2026-04-22 22:52:32 +01:00
Sign in to join this conversation.