← Back to Pull requests

feat: read Coolify 4.7 vulnerabilities and Gitea apps #1083

Open
unknown opened this pull request with 206 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 22, 2026 19:39 UTC
Author

Description

Coolify 4.7 adds three read APIs this provider did not wrap:

  • data.coolify_vulnerabilities lists the team's applications, services, and databases with their stored image-scan status. Optional status limits the request. filter narrows the response locally.

  • data.coolify_resource_vulnerabilities reads findings, scanned images, and security status for one application, service, or database. Set exactly one parent UUID.

  • data.coolify_gitea_apps lists Gitea sources for the team, including system-wide sources. uuid is the value to pass as gitea_app_uuid. Client secrets, access tokens, refresh tokens, and webhook secrets are not stored.
  • These reads require Coolify >= v4.7.0. An older instance fails the read with that requirement instead of calling a route it does not have.

    The pinned contract stays on v4.6.0. The new routes are tracked as coverage extras until that pin moves.

    Ref #1059. The channel watch stays open while the pin, stable release, and nightly still differ.

    Checklist

  • Commits have DCO sign-off (git commit -s / Signed-off-by trailer; CI enforces this)

  • Tests added or updated

  • make test passes locally (package tests with -race passed for client, vulnerability, giteaapp, and provider acceptance coverage; CI runs the full suite)

  • make fmt ran (gofmt + go mod tidy)

  • Documentation updated (if adding/changing resources or data sources)

  • make docs regenerated (if templates changed)

  • Examples updated (if adding new resources)

  • CHANGELOG.md updated (release-please writes the changelog)

  • No breaking changes to existing resources
  • Diff: 206 lines (+154 / -52) across 2 files Reviewer: github-actions[bot] Review duration: 2m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.36) × (1 − Review Confidence (0.29)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 206 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 45% · Reviewer familiarity: 35%
    28%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.319
    Real PR Conversation Timeline
    1 comments
    "Review active on #1083"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 28.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.4% (MEDIUM) · Higher = larger blast radius
    36.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 28.6% · Lower = rushed or shallow review
    28.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 26.0% · Safe to merge
    26.0%