Skip to content

#570 FIX broken links - #644

Merged
MaximilianSoerenPollak merged 7 commits into
eclipse-score:mainfrom
bgsw-contrib:bgsw-develop
Jul 29, 2026
Merged

MaximilianSoerenPollak merged 7 commits into
eclipse-score:mainfrom
bgsw-contrib:bgsw-develop

Conversation

@RamakrishnanPK

Copy link
Copy Markdown
Contributor

[TASK] Add broken link fix extension to ignore errors

  • Correct the broken links to the latest links available.

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //src:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 2c0f1087-7dd5-4c09-ab34-7f7fbc8c9fe8
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: src
DEBUG: /home/runner/.bazel/external/rules_python+/python/private/repo_utils.bzl:101:16: 
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=ppc64le-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/runner/.bazel/external/rules_python+/python/private/repo_utils.bzl:101:16: 
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=riscv64-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/runner/.bazel/external/rules_python+/python/private/repo_utils.bzl:101:16: 
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=s390x-unknown-linux-gnu. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
DEBUG: /home/runner/.bazel/external/rules_python+/python/private/repo_utils.bzl:101:16: 
rules_python:coverage_dep WARNING: rules_python's bundled coverage tool has no wheel for python_version=3.12.13, platform=x86_64-unknown-linux-musl. `bazel coverage` will produce empty lcov for py_test targets in this configuration. Either pin python_version to a version in the bundled set (see python/private/coverage_deps.bzl), or configure coverage manually via py_runtime.coverage_tool. See docs/coverage.md.
Loading: 0 packages loaded
    currently loading: src
Loading: 0 packages loaded
    currently loading: src
WARNING: Target pattern parsing failed.
ERROR: Skipping '//src:license-check': no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
ERROR: no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
INFO: Elapsed time: 7.799s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions

Copy link
Copy Markdown
Contributor

The created documentation from the pull request is available at: docu-html

@RamakrishnanPK

Copy link
Copy Markdown
Contributor Author

Hi @MaximilianSoerenPollak,

Request to review and provide your comments.

Currently the checks were failing due issues on other repos via ##634
Create a ticket to fix the issue with process_description repo: eclipse-score/process_description#749

@MaximilianSoerenPollak

Copy link
Copy Markdown
Contributor

I'm not sure if I like the fix being a sphinx extension but I honestly do not have a better idea here.

@RamakrishnanPK

Copy link
Copy Markdown
Contributor Author

I'm not sure if I like the fix being a sphinx extension but I honestly do not have a better idea here.

1. 403 client errors - due to server not allowing bot requests

user_agent

user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36'
User agent configuration did not work!

linkcheck_ignore

linkcheck_ignore = [
    r'https://example\.com/broken-page',  # Ignores a specific URL
]

but this will ignore any real broken links as well. ( I mean 404 errors). I have to only ignore check only for 403 errors.

2. .md file referenced in the documentation with anchors.

Will have to wait until those are published / released as .html pages. but this is not in our control.

So, I do not have an option either! Urgency is BOT would again create a "Broken Links" automated issue!

Comment thread BUILD Outdated
@AlexanderLanin

Copy link
Copy Markdown
Member

does this replace .github/workflows/link_check.yml?

@RamakrishnanPK

Copy link
Copy Markdown
Contributor Author
image

build output - reference.

@MaximilianSoerenPollak
MaximilianSoerenPollak merged commit 825e696 into eclipse-score:main Jul 29, 2026
12 of 14 checks passed
@RamakrishnanPK
RamakrishnanPK deleted the bgsw-develop branch July 29, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants