LearnNewsExamplesServices
Frontmatter
id7714
titleci(testing): gate GitHub-integration tests and add diagnostics polish
stateClosed
labels[]
assigneesMannXo
createdAtNov 7, 2025, 9:30 AM
updatedAtNov 10, 2025, 9:17 PM
githubUrlhttps://github.com/neomjs/neo/issues/7714
authorMannXo
commentsCount0
parentIssue7687
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 10, 2025, 9:17 PM

ci(testing): gate GitHub-integration tests and add diagnostics polish

Closed v11.1.0 []
MannXo
MannXo commented on Nov 7, 2025, 9:30 AM

Summary

Add CI gating for GitHub-integration tests (tests that require GH auth or network access) and small diagnostics/observability polish for the HealthService logs. (see parent issue #7687)

Motivation

Integration tests that require gh or a GITHUB_TOKEN should be explicitly gated in CI to avoid flakiness. Separate this operational/CI-level work from the core HealthService bugfix to keep reviews focused.

To do

  • Add CI/test harness support to skip GitHub-integration tests unless a flag like RUN_GH_INTEGRATION=true is set in the environment.
  • Update test code to respect the gate (skip or mark tests as skipped when token/gh missing).
  • Optionally add a short structured diagnostic log line (e.g., [DIAG] gh-status: missing) so monitoring or CI can detect the condition.

Acceptance criteria

  • CI or test harness skips GH integration tests by default and runs them only when RUN_GH_INTEGRATION=true and GITHUB_TOKEN (or gh auth) is present
  • Tests cleanly report skipped when gate isn't enabled
  • PR references this issue and parent #7687
tobiu added parent issue #7687 on Nov 7, 2025, 9:38 AM
tobiu assigned to @MannXo on Nov 7, 2025, 9:49 AM
MannXo cross-referenced by PR #7728 on Nov 8, 2025, 6:36 PM
tobiu closed this issue on Nov 10, 2025, 9:17 PM