Skip to content

[FIX][CI] Replace broken submodule actions with inline helm/kubectl/kind setup in Integration Test - #5513

Open
Alexkun wants to merge 11 commits into
apache:masterfrom
Alexkun:fix-it-workflow
Open

Alexkun wants to merge 11 commits into
apache:masterfrom
Alexkun:fix-it-workflow

Conversation

@Alexkun

@Alexkun Alexkun commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Fixes #5512

What is the purpose of the change

The Integration Test workflow has never been able to start (29 of the last 30 runs end in startup_failure): .github/actions/chart-testing-action and .github/actions/kind-action are git submodules pointing to SSH URLs ([email protected]:helm/...), which GitHub Actions runners cannot fetch without deploy keys.

Brief change log

  • Remove the two submodule-based steps in .github/workflows/integration-test.yml
  • Add inline, pinned-version installation of the three tools the subsequent steps use: helm v3.14.4 (get.helm.sh), kubectl v1.23.4 (matching the kindest/node:v1.23.4 matrix image), kind v0.20.0
  • Keep the existing cluster creation inputs (KIND_CONFIG_PATH, matrix.kubernetes-version, KIND_CLUSTER_NAME) so the behavior is unchanged

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

…ind setup in Integration Test

The chart-testing-action and kind-action paths are git submodules with
SSH URLs that GitHub Actions runners cannot fetch, so the workflow has
failed at startup on every run since 2023. Replace them with inline,
pinned-version installation of the tools the later steps use:
helm v3.14.4, kubectl v1.23.4 (matching the kindest/node:v1.23.4 matrix
image) and kind v0.20.0, creating the cluster with the existing
KIND_CONFIG_PATH / matrix image / KIND_CLUSTER_NAME inputs.
…ries from .github/actions

.github/actions/chart-testing-action and kind-action are git submodules
with SSH URLs ([email protected]:helm/...) that GitHub Actions runners
cannot fetch (no deploy keys). The Integration Test workflow no longer
references these paths; removing the dead gitlink entries eliminates
the unresolvable paths from the tree entirely.
Third-party actions outside apache/*, actions/* and github/* are subject
to the ASF GitHub Actions policy (SHA-pinning and review). Replace the
docker/setup-buildx-action@v1 reference with an inline buildx creation;
the runner-provided docker CLI already ships the buildx plugin, so
'docker buildx create --use' is sufficient.
LINKIS_VERSION was hard-coded to 1.8.0 while the project version on
master is 1.9.0, so 'docker tag linkis:1.8.0' failed with 'No such
image' right after the build produced linkis:1.9.0 images. Derive the
version from <revision> in pom.xml, consistent with the snapshot
publish workflow.
The whole-repository markdown scan (hundreds of files, up to 10s per
link with retries) exceeds the previous 30-minute job timeout; the run
was killed before producing any result.
The serial scan over the whole repository did not fit the 60-minute
job timeout. Process eight files concurrently.
fallbackRetryDelay was set to 1000 seconds -- each link that triggered a
fallback retry stalled its file for ~17 minutes, which (even with 8-way
parallelism) blew the 60-minute job timeout. Normalize to a 30s fallback
delay and 3 retries; also drop the -q flag from the scan so per-file
progress is visible in the logs.
…ink check

- '^#' : same-document fragment anchors cannot be validated by
  markdown-link-check and are always false positives
- *.localhost subdomains, badges.toozhao.com, deepwiki.com/apache/linkis
  and mybatis.org/mybatis-3/zh : placeholder URLs / external sites that
  block or throttle bot requests

Genuinely broken file references (stale paths to moved/deleted files)
remain reported so they can be fixed in follow-up doc updates.
@Alexkun

Alexkun commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

The revived Dead Link Check produced the first full dead-link report for this repository (24 unique entries). Categorization:

False positives -- now ignored in dlc.json (this PR):

  • 7 same-page fragment anchors (#...) -- markdown-link-check cannot validate them
  • *.localhost placeholder URLs, badges.toozhao.com, deepwiki.com/apache/linkis, mybatis.org/mybatis-3/zh -- external sites that block or throttle bot requests

Real broken references -- kept reported, follow-up doc updates needed (11):

  • docs/dev-1.18.0-webank/design/spark_driver_params_设计.md / requirements/spark_driver_params_需求.md
  • 3 × 敏感字段屏蔽_*.drawio diagrams
  • stale com/webank/wedatasphere/... package paths: SparkConfiguration.scala, SparkEngineConnExecutor.scala
  • linkis-web/src/apps/linkis/module/globalHistoryManagement/index.vue
  • ./modules/public-enhancements/monitor.md, ./monitor.md
  • http://www.apache.org/licenses/LICENSE-2.0%5Cn (literal \n inside the link)

These are stale references to moved/deleted files left behind by past refactors; they should be fixed in follow-up doc updates (separate from this CI-infrastructure PR).

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.

[BUG] Integration Test workflow always fails at startup: helm/kind actions are unresolvable git submodules

1 participant