Skip to content

MGMT-19930: upgrade PostgreSQL stack to pgx v5 and ocm-sdk-go v0.1.499#10232

Closed
andrej1991 wants to merge 1 commit intoopenshift:masterfrom
andrej1991:upgrade_pgx_test
Closed

MGMT-19930: upgrade PostgreSQL stack to pgx v5 and ocm-sdk-go v0.1.499#10232
andrej1991 wants to merge 1 commit intoopenshift:masterfrom
andrej1991:upgrade_pgx_test

Conversation

@andrej1991
Copy link
Copy Markdown
Contributor

@andrej1991 andrej1991 commented Apr 27, 2026

JUST TESTING IF ALL THE CHANGES ARE NEEDED!!!

This branch moves assisted-service from jackc/pgx/v4 (via older GORM postgres driver and transitive pgtype/pgconn) to the stack required by newer openshift-online/ocm-sdk-go, and aligns GORM, DSN construction, custom DB types, OCM error handling, and subsystem WireMock with that reality.

Dependency upgrades (go.mod / go.sum + vendor)

  • github.com/openshift-online/ocm-sdk-go: v0.1.205 -> v0.1.499 Brings in github.com/openshift-online/ocm-api-model/{clientapi,model} v0.0.453 and other transitive updates (e.g. skratchdot/open-golang). v0.1.499 is built for pgx v5; keeping ocm-sdk-go on v0.1.205 while moving the rest of the tree to pgx v5 is not viable.

  • PostgreSQL driver stack:

    • gorm.io/driver/postgres: v1.3.5 -> v1.6.0 (uses pgx v5 under the hood)
    • gorm.io/gorm: v1.25.8 -> v1.25.10
    • Remove jackc/pgx/v4, pgconn, pgtype, pgio, chunkreader, pgproto3.
    • Add jackc/pgx/v5 v5.6.0 and jackc/puddle/v2 (pool support).
    • Bump jackc/pgservicefile to a release compatible with pgx v5.
    • Drop replace github.com/jackc/pgx/v4 => v4.18.3 (no longer used).
  • golang.org/x/sys minor bump on the branch (toolchain alignment).

Submodule go.mod hygiene (api/, client/, models/)

  • Remove unused indirect jackc/pgio and jackc/pgtype from api/go.mod and client/go.mod.
  • Remove github.com/jackc/pgtype and pgio from models/go.mod now that models/custom.go no longer references pgtype.

Why ocm-sdk-go v0.1.499 matters for assisted-service ---------------------------------------------------- assisted-service uses pkg/ocm against accountsmgmt/v1 for:

  • ClusterAuthorizations().Post() — create AMS subscription at register.
  • Subscriptions().Subscription(id).Get() — read subscription.
  • Subscriptions().Subscription(id).Update().Body(sub).SendContext() — PATCH display name, console URL, external_cluster_id (OpenShift cluster ID), and status Active.
  • Subscriptions().Subscription(id).Delete().SendContext() — delete subscription on cluster deregister.

Compared to v0.1.205, the newer SDK + ocm-api-model clientapi layer:

  1. JSON encoding of API types (e.g. Subscription) is generated in
    ocm-api-model/clientapi (jsoniter, explicit field-set bitmaps).
    PATCH bodies always include a leading "kind" field and only the
    fields the builder set. That affects HTTP fixtures (subsystem
    WireMock) that matched only minimal JSON.

  2. Subscription PATCH response handling: SendContext wraps the body in
    a bufio.Reader and uses Peek(1). If the server returns an HTTP error
    with an empty body, Peek hits io.EOF; the client returns with err == nil
    while result.status is still 4xx/5xx, and never unmarshals an
    errors.Error. assisted-service previously assumed "err != nil" for
    failures. pkg/ocm.HandleOCMResponse now treats response.Status() >= 400
    as failure even when err is nil (mirrors the intent of the generated
    error path when a body exists).

  3. Error responses are unmarshalled into github.com/openshift-online/ocm-sdk-go/errors
    when the body is valid OCM "Error" JSON. Subsystem stubs that returned
    a subscription-shaped JSON body with HTTP 401 caused unmarshalling /
    downstream UTF-8 issues; stubs now return proper Error JSON for PATCH
    failures (see wiremock_stubs.go).

Per-file / functional changes

pkg/db/db.go

  • Add LibpqDSN(host, port, user, password, database) and Config.LibpqDSN().
  • Build a libpq keyword connection string with escaped user/password for single quotes and backslashes.
  • Append client_encoding=UTF8 so pgx v5 / GORM simple-query paths behave predictably regardless of server client_encoding defaults.

cmd/main.go

  • setupDB: use Options.DBConfig.LibpqDSN() instead of hand-rolled host=... DSN (same semantics, safer quoting, UTF8).

internal/common/common_unitest_db.go

  • getDBDSN: delegate to pkg/db.LibpqDSN for unit-test PostgreSQL so tests use the same DSN rules as production.

models/custom.go

  • Remove dependency on github.com/jackc/pgtype (pgx v4 era).
  • IP/Subnet driver.Valuer: encode inet/cidr using netip and return textual prefix strings PostgreSQL accepts.
  • IP/Subnet sql.Scanner: accept netip.Prefix / *netip.Prefix as returned by pgx v5 for inet/cidr, in addition to legacy []byte, string, net.IP, *net.IPNet.

internal/bminventory/inventory.go

  • InstallClusterInternal async goroutine: call storeOpenshiftClusterID with asyncCtx instead of the outer request ctx so S3/object-store work is not tied to an HTTP request deadline that can fire before AMS integration completes.

internal/cluster/cluster.go

  • HandlePreInstallError: sanitize installErr.Error() with strings.ToValidUTF8 before persisting LastInstallationPreparation.Reason and emitting events. OCM error bodies / parse paths can produce strings that are not valid UTF-8; PostgreSQL text columns reject those writes.

pkg/ocm/utils.go

  • HandleOCMResponse: after the existing err != nil handling, if response is non-nil and Status() >= 400, return InfraError (401 mapping) for 4xx and ApiError (503) for 5xx. Covers empty-body HTTP errors from newer SendContext implementations.

subsystem/utils_test/wiremock_stubs.go

  • subscriptionPatchWiremockResponse: for resStatus >= 400, return OCM Error JSON so the SDK can UnmarshalErrorStatus; avoids subscription- shaped 401 bodies and invalid UTF-8 in DB reasons.
  • Subscription PATCH external_cluster_id: use matchesJsonPath on $.external_cluster_id instead of equalToJson on a minimal template, so stubs stay stable across SDK JSON field order/extra fields and reduce ambiguous matching when many mappings exist.
  • Add WireMock stubs for soft-timeouts org capability review and an accounts_mgmt stub for the cluster-editor test user so authorization flows match current API expectations.

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Summary by CodeRabbit

  • Chores
    • Cleaned up project dependencies by removing unused indirect module dependencies, reducing overhead.

JUST TESTING IF ALL THE CHANGES ARE NEEDED!!!

This branch moves assisted-service from jackc/pgx/v4 (via older GORM
postgres driver and transitive pgtype/pgconn) to the stack required by
newer openshift-online/ocm-sdk-go, and aligns GORM, DSN construction,
custom DB types, OCM error handling, and subsystem WireMock with that
reality.

Dependency upgrades (go.mod / go.sum + vendor)
-----------------------------------------------
- github.com/openshift-online/ocm-sdk-go: v0.1.205 -> v0.1.499
  Brings in github.com/openshift-online/ocm-api-model/{clientapi,model}
  v0.0.453 and other transitive updates (e.g. skratchdot/open-golang).
  v0.1.499 is built for pgx v5; keeping ocm-sdk-go on v0.1.205 while
  moving the rest of the tree to pgx v5 is not viable.

- PostgreSQL driver stack:
  - gorm.io/driver/postgres: v1.3.5 -> v1.6.0 (uses pgx v5 under the hood)
  - gorm.io/gorm: v1.25.8 -> v1.25.10
  - Remove jackc/pgx/v4, pgconn, pgtype, pgio, chunkreader, pgproto3.
  - Add jackc/pgx/v5 v5.6.0 and jackc/puddle/v2 (pool support).
  - Bump jackc/pgservicefile to a release compatible with pgx v5.
  - Drop replace github.com/jackc/pgx/v4 => v4.18.3 (no longer used).

- golang.org/x/sys minor bump on the branch (toolchain alignment).

Submodule go.mod hygiene (api/, client/, models/)
------------------------------------------------
- Remove unused indirect jackc/pgio and jackc/pgtype from api/go.mod and
  client/go.mod.
- Remove github.com/jackc/pgtype and pgio from models/go.mod now that
  models/custom.go no longer references pgtype.

Why ocm-sdk-go v0.1.499 matters for assisted-service
----------------------------------------------------
assisted-service uses pkg/ocm against accountsmgmt/v1 for:

- ClusterAuthorizations().Post() — create AMS subscription at register.
- Subscriptions().Subscription(id).Get() — read subscription.
- Subscriptions().Subscription(id).Update().Body(sub).SendContext() —
  PATCH display name, console URL, external_cluster_id (OpenShift
  cluster ID), and status Active.
- Subscriptions().Subscription(id).Delete().SendContext() — delete
  subscription on cluster deregister.

Compared to v0.1.205, the newer SDK + ocm-api-model clientapi layer:

1) JSON encoding of API types (e.g. Subscription) is generated in
   ocm-api-model/clientapi (jsoniter, explicit field-set bitmaps).
   PATCH bodies always include a leading "kind" field and only the
   fields the builder set. That affects HTTP fixtures (subsystem
   WireMock) that matched only minimal JSON.

2) Subscription PATCH response handling: SendContext wraps the body in
   a bufio.Reader and uses Peek(1). If the server returns an HTTP error
   with an empty body, Peek hits io.EOF; the client returns with err == nil
   while result.status is still 4xx/5xx, and never unmarshals an
   errors.Error. assisted-service previously assumed "err != nil" for
   failures. pkg/ocm.HandleOCMResponse now treats response.Status() >= 400
   as failure even when err is nil (mirrors the intent of the generated
   error path when a body exists).

3) Error responses are unmarshalled into github.com/openshift-online/ocm-sdk-go/errors
   when the body is valid OCM "Error" JSON. Subsystem stubs that returned
   a subscription-shaped JSON body with HTTP 401 caused unmarshalling /
   downstream UTF-8 issues; stubs now return proper Error JSON for PATCH
   failures (see wiremock_stubs.go).

Per-file / functional changes
-------------------------------
pkg/db/db.go
- Add LibpqDSN(host, port, user, password, database) and Config.LibpqDSN().
- Build a libpq keyword connection string with escaped user/password for
  single quotes and backslashes.
- Append client_encoding=UTF8 so pgx v5 / GORM simple-query paths behave
  predictably regardless of server client_encoding defaults.

cmd/main.go
- setupDB: use Options.DBConfig.LibpqDSN() instead of hand-rolled
  host=... DSN (same semantics, safer quoting, UTF8).

internal/common/common_unitest_db.go
- getDBDSN: delegate to pkg/db.LibpqDSN for unit-test PostgreSQL so tests
  use the same DSN rules as production.

models/custom.go
- Remove dependency on github.com/jackc/pgtype (pgx v4 era).
- IP/Subnet driver.Valuer: encode inet/cidr using netip and return textual
  prefix strings PostgreSQL accepts.
- IP/Subnet sql.Scanner: accept netip.Prefix / *netip.Prefix as returned
  by pgx v5 for inet/cidr, in addition to legacy []byte, string, net.IP,
  *net.IPNet.

internal/bminventory/inventory.go
- InstallClusterInternal async goroutine: call storeOpenshiftClusterID
  with asyncCtx instead of the outer request ctx so S3/object-store work
  is not tied to an HTTP request deadline that can fire before AMS
  integration completes.

internal/cluster/cluster.go
- HandlePreInstallError: sanitize installErr.Error() with
  strings.ToValidUTF8 before persisting LastInstallationPreparation.Reason
  and emitting events. OCM error bodies / parse paths can produce strings
  that are not valid UTF-8; PostgreSQL text columns reject those writes.

pkg/ocm/utils.go
- HandleOCMResponse: after the existing err != nil handling, if response is
  non-nil and Status() >= 400, return InfraError (401 mapping) for 4xx
  and ApiError (503) for 5xx. Covers empty-body HTTP errors from newer
  SendContext implementations.

subsystem/utils_test/wiremock_stubs.go
- subscriptionPatchWiremockResponse: for resStatus >= 400, return OCM
  Error JSON so the SDK can UnmarshalErrorStatus; avoids subscription-
  shaped 401 bodies and invalid UTF-8 in DB reasons.
- Subscription PATCH external_cluster_id: use matchesJsonPath on
  $.external_cluster_id instead of equalToJson on a minimal template, so
  stubs stay stable across SDK JSON field order/extra fields and reduce
  ambiguous matching when many mappings exist.
- Add WireMock stubs for soft-timeouts org capability review and an
  accounts_mgmt stub for the cluster-editor test user so authorization
  flows match current API expectations.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 27, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented Apr 27, 2026

@andrej1991: This pull request references MGMT-19930 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

JUST TESTING IF ALL THE CHANGES ARE NEEDED!!!

This branch moves assisted-service from jackc/pgx/v4 (via older GORM postgres driver and transitive pgtype/pgconn) to the stack required by newer openshift-online/ocm-sdk-go, and aligns GORM, DSN construction, custom DB types, OCM error handling, and subsystem WireMock with that reality.

Dependency upgrades (go.mod / go.sum + vendor)

  • github.com/openshift-online/ocm-sdk-go: v0.1.205 -> v0.1.499 Brings in github.com/openshift-online/ocm-api-model/{clientapi,model} v0.0.453 and other transitive updates (e.g. skratchdot/open-golang). v0.1.499 is built for pgx v5; keeping ocm-sdk-go on v0.1.205 while moving the rest of the tree to pgx v5 is not viable.

  • PostgreSQL driver stack:

  • gorm.io/driver/postgres: v1.3.5 -> v1.6.0 (uses pgx v5 under the hood)

  • gorm.io/gorm: v1.25.8 -> v1.25.10

  • Remove jackc/pgx/v4, pgconn, pgtype, pgio, chunkreader, pgproto3.

  • Add jackc/pgx/v5 v5.6.0 and jackc/puddle/v2 (pool support).

  • Bump jackc/pgservicefile to a release compatible with pgx v5.

  • Drop replace github.com/jackc/pgx/v4 => v4.18.3 (no longer used).

  • golang.org/x/sys minor bump on the branch (toolchain alignment).

Submodule go.mod hygiene (api/, client/, models/)

  • Remove unused indirect jackc/pgio and jackc/pgtype from api/go.mod and client/go.mod.
  • Remove github.com/jackc/pgtype and pgio from models/go.mod now that models/custom.go no longer references pgtype.

Why ocm-sdk-go v0.1.499 matters for assisted-service ---------------------------------------------------- assisted-service uses pkg/ocm against accountsmgmt/v1 for:

  • ClusterAuthorizations().Post() — create AMS subscription at register.
  • Subscriptions().Subscription(id).Get() — read subscription.
  • Subscriptions().Subscription(id).Update().Body(sub).SendContext() — PATCH display name, console URL, external_cluster_id (OpenShift cluster ID), and status Active.
  • Subscriptions().Subscription(id).Delete().SendContext() — delete subscription on cluster deregister.

Compared to v0.1.205, the newer SDK + ocm-api-model clientapi layer:

  1. JSON encoding of API types (e.g. Subscription) is generated in
    ocm-api-model/clientapi (jsoniter, explicit field-set bitmaps).
    PATCH bodies always include a leading "kind" field and only the
    fields the builder set. That affects HTTP fixtures (subsystem
    WireMock) that matched only minimal JSON.

  2. Subscription PATCH response handling: SendContext wraps the body in
    a bufio.Reader and uses Peek(1). If the server returns an HTTP error
    with an empty body, Peek hits io.EOF; the client returns with err == nil
    while result.status is still 4xx/5xx, and never unmarshals an
    errors.Error. assisted-service previously assumed "err != nil" for
    failures. pkg/ocm.HandleOCMResponse now treats response.Status() >= 400
    as failure even when err is nil (mirrors the intent of the generated
    error path when a body exists).

  3. Error responses are unmarshalled into github.com/openshift-online/ocm-sdk-go/errors
    when the body is valid OCM "Error" JSON. Subsystem stubs that returned
    a subscription-shaped JSON body with HTTP 401 caused unmarshalling /
    downstream UTF-8 issues; stubs now return proper Error JSON for PATCH
    failures (see wiremock_stubs.go).

Per-file / functional changes

pkg/db/db.go

  • Add LibpqDSN(host, port, user, password, database) and Config.LibpqDSN().
  • Build a libpq keyword connection string with escaped user/password for single quotes and backslashes.
  • Append client_encoding=UTF8 so pgx v5 / GORM simple-query paths behave predictably regardless of server client_encoding defaults.

cmd/main.go

  • setupDB: use Options.DBConfig.LibpqDSN() instead of hand-rolled host=... DSN (same semantics, safer quoting, UTF8).

internal/common/common_unitest_db.go

  • getDBDSN: delegate to pkg/db.LibpqDSN for unit-test PostgreSQL so tests use the same DSN rules as production.

models/custom.go

  • Remove dependency on github.com/jackc/pgtype (pgx v4 era).
  • IP/Subnet driver.Valuer: encode inet/cidr using netip and return textual prefix strings PostgreSQL accepts.
  • IP/Subnet sql.Scanner: accept netip.Prefix / *netip.Prefix as returned by pgx v5 for inet/cidr, in addition to legacy []byte, string, net.IP, *net.IPNet.

internal/bminventory/inventory.go

  • InstallClusterInternal async goroutine: call storeOpenshiftClusterID with asyncCtx instead of the outer request ctx so S3/object-store work is not tied to an HTTP request deadline that can fire before AMS integration completes.

internal/cluster/cluster.go

  • HandlePreInstallError: sanitize installErr.Error() with strings.ToValidUTF8 before persisting LastInstallationPreparation.Reason and emitting events. OCM error bodies / parse paths can produce strings that are not valid UTF-8; PostgreSQL text columns reject those writes.

pkg/ocm/utils.go

  • HandleOCMResponse: after the existing err != nil handling, if response is non-nil and Status() >= 400, return InfraError (401 mapping) for 4xx and ApiError (503) for 5xx. Covers empty-body HTTP errors from newer SendContext implementations.

subsystem/utils_test/wiremock_stubs.go

  • subscriptionPatchWiremockResponse: for resStatus >= 400, return OCM Error JSON so the SDK can UnmarshalErrorStatus; avoids subscription- shaped 401 bodies and invalid UTF-8 in DB reasons.
  • Subscription PATCH external_cluster_id: use matchesJsonPath on $.external_cluster_id instead of equalToJson on a minimal template, so stubs stay stable across SDK JSON field order/extra fields and reduce ambiguous matching when many mappings exist.
  • Add WireMock stubs for soft-timeouts org capability review and an accounts_mgmt stub for the cluster-editor test user so authorization flows match current API expectations.

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@andrej1991
Copy link
Copy Markdown
Contributor Author

/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 27, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: afb5c397-2136-4c54-98f6-203a674f05c6

📥 Commits

Reviewing files that changed from the base of the PR and between 4a58d48 and 03a0368.

⛔ Files ignored due to path filters (292)
  • api/go.sum is excluded by !**/*.sum
  • api/vendor/github.com/jackc/pgio/.travis.yml is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgio/LICENSE is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgio/README.md is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/CHANGELOG.md is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/README.md is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/aclitem.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/aclitem_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/array_type.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bit.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bool.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bool_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/box.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bpchar.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bpchar_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bytea.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/bytea_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/cid.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/cidr.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/cidr_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/circle.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/composite_fields.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/composite_type.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/convert.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/database_sql.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/date.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/date_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/daterange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/enum_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/enum_type.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/float4.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/float4_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/float8.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/float8_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/generic_binary.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/generic_text.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/hstore.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/hstore_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/inet.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/inet_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int2.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int2_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int4.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int4_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int4_multirange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int4range.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int8.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int8_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int8_multirange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/int8range.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/interval.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/json.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/json_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/jsonb.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/jsonb_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/line.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/lseg.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/ltree.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/macaddr.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/macaddr_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/multirange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/name.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/num_multirange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/numeric.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/numeric_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/numrange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/oid.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/oid_value.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/path.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/pgtype.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/pguint32.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/point.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/polygon.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/qchar.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/range.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/record.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/record_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/text.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/text_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/tid.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/time.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/timestamp.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/timestamp_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/timestamptz.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/timestamptz_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/tsrange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/tsrange_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/tstzrange.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/tstzrange_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_array.go.erb is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_array_gen.sh is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_multirange.go.erb is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_multirange_gen.sh is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_range.go.erb is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/typed_range_gen.sh is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/unknown.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/uuid.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/uuid_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/varbit.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/varchar.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/varchar_array.go is excluded by !**/vendor/**
  • api/vendor/github.com/jackc/pgtype/xid.go is excluded by !**/vendor/**
  • api/vendor/github.com/openshift/assisted-service/models/custom.go is excluded by !**/vendor/**
  • api/vendor/modules.txt is excluded by !**/vendor/**
  • client/go.sum is excluded by !**/*.sum
  • client/vendor/github.com/jackc/pgio/.travis.yml is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgio/LICENSE is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgio/README.md is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgio/doc.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgio/write.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/CHANGELOG.md is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/LICENSE is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/README.md is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/aclitem.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/aclitem_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/array_type.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bit.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bool.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bool_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/box.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bpchar.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bpchar_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bytea.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/bytea_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/cid.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/cidr.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/cidr_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/circle.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/composite_fields.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/composite_type.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/convert.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/database_sql.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/date.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/date_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/daterange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/enum_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/enum_type.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/float4.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/float4_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/float8.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/float8_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/generic_binary.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/generic_text.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/hstore.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/hstore_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/inet.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/inet_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int2.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int2_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int4.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int4_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int4_multirange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int4range.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int8.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int8_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int8_multirange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/int8range.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/interval.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/json.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/json_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/jsonb.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/jsonb_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/line.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/lseg.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/ltree.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/macaddr.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/macaddr_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/multirange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/name.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/num_multirange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/numeric.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/numeric_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/numrange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/oid.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/oid_value.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/path.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/pgtype.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/pguint32.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/point.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/polygon.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/qchar.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/range.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/record.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/record_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/text.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/text_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/tid.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/time.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/timestamp.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/timestamp_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/timestamptz.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/timestamptz_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/tsrange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/tsrange_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/tstzrange.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/tstzrange_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_array.go.erb is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_array_gen.sh is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_multirange.go.erb is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_multirange_gen.sh is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_range.go.erb is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/typed_range_gen.sh is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/unknown.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/uuid.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/uuid_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/varbit.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/varchar.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/varchar_array.go is excluded by !**/vendor/**
  • client/vendor/github.com/jackc/pgtype/xid.go is excluded by !**/vendor/**
  • client/vendor/github.com/openshift/assisted-service/models/custom.go is excluded by !**/vendor/**
  • client/vendor/modules.txt is excluded by !**/vendor/**
  • go.sum is excluded by !**/*.sum
  • models/go.sum is excluded by !**/*.sum
  • models/vendor/github.com/jackc/pgio/.travis.yml is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgio/LICENSE is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgio/README.md is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgio/doc.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgio/write.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/CHANGELOG.md is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/LICENSE is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/README.md is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/aclitem.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/aclitem_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/array_type.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bit.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bool.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bool_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/box.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bpchar.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bpchar_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bytea.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/bytea_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/cid.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/cidr.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/cidr_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/circle.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/composite_fields.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/composite_type.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/convert.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/database_sql.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/date.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/date_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/daterange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/enum_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/enum_type.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/float4.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/float4_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/float8.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/float8_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/generic_binary.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/generic_text.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/hstore.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/hstore_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/inet.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/inet_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int2.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int2_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int4.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int4_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int4_multirange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int4range.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int8.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int8_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int8_multirange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/int8range.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/interval.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/json.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/json_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/jsonb.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/jsonb_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/line.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/lseg.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/ltree.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/macaddr.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/macaddr_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/multirange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/name.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/num_multirange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/numeric.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/numeric_array.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/numrange.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/oid.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/oid_value.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/path.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/pgtype.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/pguint32.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/point.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/polygon.go is excluded by !**/vendor/**
  • models/vendor/github.com/jackc/pgtype/qchar.go is excluded by !**/vendor/**
📒 Files selected for processing (8)
  • api/go.mod
  • client/go.mod
  • cmd/main.go
  • go.mod
  • internal/cluster/cluster.go
  • internal/common/common_unitest_db.go
  • models/custom.go
  • models/go.mod
💤 Files with no reviewable changes (1)
  • api/go.mod

Walkthrough

Two indirect Go module dependencies (github.com/jackc/pgio and github.com/jackc/pgtype) are removed from the api/go.mod file. No version changes or other module directives are affected.

Changes

Cohort / File(s) Summary
Go Module Dependencies
api/go.mod
Removal of two indirect dependencies: github.com/jackc/pgio and github.com/jackc/pgtype.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 9 | ❌ 3

❌ Failed checks (3 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description provides comprehensive technical context about dependency upgrades and code changes, but is missing required template elements like explicit issue category selection, environment impact checkboxes, and testing method selection. Complete the template checklist by selecting appropriate issue category (Enhancement), marking environment impact, and confirming testing method. Also address the opening disclaimer 'JUST TESTING IF ALL THE CHANGES ARE NEEDED!!!' by providing a clear statement of intent.
Test Structure And Quality ⚠️ Warning Assertions throughout the test suite systematically lack meaningful failure messages, violating custom check requirement #4. Add meaningful messages to assertions using Gomega's message parameter to provide diagnostic context for test failures.
Ipv6 And Disconnected Network Test Compatibility ⚠️ Warning PR adds 25 new Ginkgo e2e subsystem tests containing hardcoded IPv4 CIDR blocks (10.128.0.0/14, 172.30.0.0/16) and addresses (192.168.x.x, 192.0.2.x) plus external registry references that fail in IPv6-only disconnected environments. Use dynamic IP family detection helpers like GetIPAddressFamily() or correctCIDRFamily() to select CIDRs based on cluster IP family; use internal registries for external image references; add [Skipped:Disconnected] tags or provide IPv6 equivalents for dual-stack support.
✅ Passed checks (9 passed)
Check name Status Explanation
Title check ✅ Passed The PR title directly matches the main objective: upgrading PostgreSQL stack to pgx v5 and ocm-sdk-go v0.1.499, which is reflected in the Jira reference MGMT-19930.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed Comprehensive analysis of test files reveals no Ginkgo test names containing dynamic information such as timestamps, UUIDs, pod names, or identifiers.
Microshift Test Compatibility ✅ Passed This PR does not add any new Ginkgo e2e tests, only Go module dependency cleanup.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This pull request does not add any new Ginkgo e2e tests. The PR is focused on upgrading PostgreSQL stack dependencies and updating ocm-sdk-go version, with only 2 lines removed from api/go.mod. While the PR modifies wiremock stubs for test infrastructure, it does not add new test blocks. Therefore, the SNO test compatibility check does not apply.
Topology-Aware Scheduling Compatibility ✅ Passed PR exclusively modifies backend service code for database driver upgrades; no Kubernetes deployment manifests, operator code, or scheduling constraints are modified.
Ote Binary Stdout Contract ✅ Passed Pull request only modifies api/go.mod by removing indirect dependencies; no process-level code changes that write to stdout.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Apr 27, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: andrej1991
Once this PR has been reviewed and has the lgtm label, please assign omertuc for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the api-review Categorizes an issue or PR as actively needing an API review. label Apr 27, 2026
@openshift-ci openshift-ci Bot requested review from avishayt and danielerez April 27, 2026 15:47
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.34%. Comparing base (a52156b) to head (03a0368).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10232      +/-   ##
==========================================
- Coverage   44.36%   44.34%   -0.02%     
==========================================
  Files         416      417       +1     
  Lines       72793    72824      +31     
==========================================
+ Hits        32292    32293       +1     
- Misses      37579    37603      +24     
- Partials     2922     2928       +6     
Files with missing lines Coverage Δ
cmd/main.go 0.00% <ø> (ø)
internal/cluster/cluster.go 66.38% <ø> (+0.02%) ⬆️
internal/common/common_unitest_db.go 22.36% <ø> (-1.01%) ⬇️

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 27, 2026

@andrej1991: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/edge-subsystem-aws 03a0368 link true /test edge-subsystem-aws

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@andrej1991 andrej1991 marked this pull request as draft April 28, 2026 07:54
@openshift-ci openshift-ci Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 28, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 29, 2026

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@andrej1991 andrej1991 closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review Categorizes an issue or PR as actively needing an API review. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants