Skip to content

Add test to verify repository homepage URL availability #215

@MariusStorhaug

Description

Context

Repositories using Process-PSModule have a configured homepage URL pointing to their GitHub Pages documentation site. If the Pages site goes down or the URL becomes invalid, there is no automated check to detect this.

Request

A test or CI check should verify that the repository's configured homepage URL is reachable and returns a successful HTTP status.

Acceptance criteria

  • The homepage URL configured on the repository is tested for availability
  • A non-200 response or connection failure is reported as a test failure or warning
  • The check runs as part of the CI pipeline or a scheduled workflow

Technical decisions

To be determined during implementation planning.


Implementation plan

  • Determine where to add the availability check (Test-PSModule, CI workflow, or scheduled job)
  • Implement an HTTP request to the repository homepage URL
  • Validate the response status code (expect 200)
  • Report failures or warnings appropriately

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions