Skip to content

chore(deps): bump both org-infra reviewer pins to v0.9.0 and update workflowtest constant #156

Closed

Description

@yvonnedevlinrh

Summary

internal/workflowtest/ci_dependencies_test.go asserts both org-infra reusable-workflow pins against a single shared orgInfraSHA constant. PR #152 bumps only the deps reviewer to v0.9.0, leaving the Dependabot reviewer on v0.8.0, so make check fails at ci_dependencies_test.go:124 and the required Build and Test check is red.

Decision: supersede #152 with a PR that bumps both org-infra reviewer references to v0.9.0 in lockstep, keeping the single shared constant. This is smaller than restructuring the test to support different versions.

Evidence

Upstream Verification (complytime/org-infra)

  • v0.9.0 is a lightweight tag pointing at commit 8f347ba1aa2c7e9eb3b70e69c1709ddb456cd64a
  • reusable_dependabot_reviewer.yml exists at that SHA; v0.8.0 → v0.9.0 only adds outputs (org_precedent, precedent_detail) — non-breaking for consumers
  • reusable_deps_reviewer.yml v0.9.0 changes REVIEW_CONCLUSION from steps.dependency_review.conclusion to .outcome. Because that step uses continue-on-error: true, the old value was always success, masking failed scans; failed scans now report failure

Proposed Fix

  • .github/workflows/ci_dependencies.yml:37 — bump reusable_dependabot_reviewer.yml from bd3718a… # v0.8.0 to 8f347ba… # v0.9.0
  • internal/workflowtest/ci_dependencies_test.go:19 — update orgInfraSHA to 8f347ba1aa2c7e9eb3b70e69c1709ddb456cd64a
  • Keep the single constant and the full 40-char SHA assertions intact. Pinned action SHAs are a protected gate value (AGENTS.md Gatekeeping Value Protection item 4); do not weaken them to green the test

Behaviour Change

Our workflow auto-approves only when review_conclusion == 'success'. After the bump, a failed dependency scan reports failure instead of being masked as success, so Dependabot auto-approval stops and the PR goes to manual review. This fails closed and is the intended upstream fix, not a regression. No consumer logic changes are required.

Acceptance Criteria

Out of Scope

Other org-infra references remain on v0.8.0 (ci_checks.yml:34, release.yml:47,63). They are not coupled to this test constant and can be bumped separately.

Notes

Dependabot cannot modify repository test code, so this needs a maintainer-authored change. Pushing a commit onto the Dependabot branch risks being discarded on its next rebase, so a superseding PR from a normal branch is preferred.

Activity

  1. changed the title [-]fix(ci): split org-infra pin assertions so single-reference Dependabot bumps pass CI[/-] [+]chore(deps): bump both org-infra reviewer pins to v0.9.0 and update workflowtest constant[/+] on Nov 9, 2026
  2. added
    bug
    on Nov 9, 2026
  3. yvonnedevlinrh commented on Nov 9, 2026

    @yvonnedevlinrh
    ContributorAuthor

    ## Verified diagnosis

    • internal/workflowtest/ci_dependencies_test.go:19 defines a single shared orgInfraSHA (bd3718a…, v0.8.0).
    • That constant is asserted against both reusable_deps_reviewer.yml@ (:124) and reusable_dependabot_reviewer.yml@ (:125) in .github/workflows/ci_dependencies.yml.
    • Because the two references share one constant, bumping only one (as PR chore(deps): bump complytime/org-infra/.github/workflows/reusable_deps_reviewer.yml from 0.8.0 to 0.9.0 #152 does for the deps reviewer) breaks the other assertion, so make check fails at ci_dependencies_test.go:124.

    Recommendations for the superseding PR

    1. Update both workflow references to 8f347ba1aa2c7e9eb3b70e69c1709ddb456cd64a # v0.9.0 — .github/workflows/ci_dependencies.yml:29 (deps reviewer) and :37 (Dependabot reviewer). Reviewers noted the “Proposed Fix” bullets name only :37; the Summary and Acceptance Criteria correctly say “both”.
    2. Update orgInfraSHA at internal/workflowtest/ci_dependencies_test.go:19 to the same SHA.
    3. Keep the full 40-character SHA assertions and accurate # v0.9.0 comments. Do not loosen the pins to green the test — pinned action SHAs are a protected gate value (AGENTS.md Gatekeeping Value Protection item 4).
    4. Re-derive the v0.9.0 SHA from complytime/org-infra at authoring time (resolve tag → commit SHA) per CI convention CI-002 rather than copying it from this issue.
    5. Note the behaviour change in the PR description: a failed dependency scan now reports failure instead of being masked as success, so Dependabot auto-approval halts and the PR goes to manual review. This fails closed and is intended.

    Scope

    • Out-of-scope references (ci_checks.yml:34, release.yml:47,63) remain on v0.8.0 and are not coupled to orgInfraSHA; a follow-up could bump them to avoid the same masking behaviour.
    • No duplicate issues found.
    • The shared-constant coupling stays latent after the lockstep bump; a future follow-up could split into per-reference constants.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions