Skip to content

Refactor workflow: Separate Confluence into independent job#205

Merged
htilly merged 2 commits into
masterfrom
refactor/confluence-separation
Dec 19, 2025
Merged

Refactor workflow: Separate Confluence into independent job#205
htilly merged 2 commits into
masterfrom
refactor/confluence-separation

Conversation

@htilly
Copy link
Copy Markdown
Owner

@htilly htilly commented Dec 19, 2025

Summary

Refactors the feature request enhancement workflow to make Confluence documentation a fully independent, optional component that doesn't block the main enhancement flow.

Changes

New File

  • .github/agent/create-confluence.mjs: Extracted 80+ lines of inline JavaScript into a dedicated, testable module

Workflow Restructuring

  • Separated concerns: Confluence job now runs completely independently
  • Removed race conditions: Confluence link addition handled internally in the same job
  • Simplified job dependencies: Main flow no longer waits for or depends on Confluence
  • Fixed YAML syntax: Resolved multiline string issues in issue body formatting

Benefits

  • Main enhancement flow succeeds even if Confluence fails
  • Easier to maintain and test Confluence logic
  • No race conditions from parallel issue updates
  • Cleaner, more readable workflow file

Testing

  • Workflow syntax validated
  • Job dependencies verified
  • Backwards compatible with existing secrets configuration

htilly and others added 2 commits December 19, 2025 13:02
GitHub Actions doesn't support || operator in expressions.
Removed fallback values from expressions - defaults are handled in preprocess-task.mjs instead.

Fixes: Invalid workflow file YAML syntax error
- Extract inline Confluence script to separate file (create-confluence.mjs)
- Make Confluence job fully independent from main enhancement flow
- Remove race conditions by handling Confluence link addition internally
- Simplify workflow structure and improve maintainability
- Fix YAML syntax errors in issue body formatting

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@htilly htilly merged commit 2d9732a into master Dec 19, 2025
5 checks passed
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