Skip to content

fix(kaexporter): PVO11Y-5728 use ServiceAccount token authentication - #1376

Merged
FaisalAl-Rayes merged 5 commits into
redhat-appstudio:mainfrom
FaisalAl-Rayes:fix/PVO11Y-5728-kaexporter-serviceaccount-auth
Nov 23, 2026
Merged

FaisalAl-Rayes merged 5 commits into
redhat-appstudio:mainfrom
FaisalAl-Rayes:fix/PVO11Y-5728-kaexporter-serviceaccount-auth

Conversation

@FaisalAl-Rayes

@FaisalAl-Rayes FaisalAl-Rayes commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Remove the unused KA_TOKEN environment fallback and use the mounted ServiceAccount token, retaining KA_TOKEN_FILE overrides and rotation support. Read KA_HOST from the kaexporter-endpoint ConfigMap and update the documentation and authentication tests.

Staging deployment migration: redhat-appstudio/infra-deployments#15685

PVO11Y-5728

Remove the unused KA_TOKEN fallback while retaining token-file overrides and rotation. Read the KubeArchive endpoint from a ConfigMap and document the deployment contract.

Jira: https://redhat.atlassian.net/browse/PVO11Y-5728

Validation: CGO_ENABLED=0 go test ./...; yamllint config/exporters/monitoring/kaexporter/base; kustomize build config/exporters/monitoring/kaexporter/base

Assisted-by: OpenAI Codex
Signed-off-by: Faisal Al-Rayes <falrayes@redhat.com>
@qodo-for-redhat-appstudio

qodo-for-redhat-appstudio Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Use ServiceAccount token authentication for kaexporter

🐞 Bug fix 🧪 Tests 📝 Documentation ⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Remove static-token authentication; use a rotating ServiceAccount token or an explicit token file.
• Read the KubeArchive endpoint from a ConfigMap instead of a Secret.
• Document deployment requirements and test token rotation and missing-file behavior.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The exporter authentication, KubeArchive queries, rolling aggregation, and Prometheus exposition form one bounded integration outcome: collecting and exposing KubeArchive-derived metrics.
  • Token-file handling is a producer/request hop on the same path, not an independent capability.
  • Changing the endpoint source affects the same bounded KubeArchive observability integration whose outcome is exporter metric collection.
  • The ConfigMap is deployment wiring for that behavior, not a separate capability or functional scope.
Behavioral complexity 🟡 Medium 🧩 Compatibility cases

  • Before: authentication could use an explicitly configured file, the default ServiceAccount file, or the KA_TOKEN static environment variable.
  • After: only a readable explicit or default token file is accepted, and the file is reread for each request.
  • New correctness condition: all supported startup and request-time states must provide a readable token file whose identity is accepted by KubeArchive, including rotation and missing-file transitions.
  • The request pipeline and retry machinery are otherwise reused; concurrency is not newly introduced.
Potential damage 🟡 Medium 🩹 Temporary loss

  • When activated, the concrete consequence is loss or staleness of KubeArchive-derived metrics.
  • Reverting code alone does not repair a missing ServiceAccount mount or invalid token; supported recovery requires restoring a readable token file with accepted permissions/audience, or redeploying a compatible configuration.
  • No persistent exporter state or external business transaction is modified by the failed request.
  • Recoverable after the credential file, ServiceAccount permissions, audience, or deployment configuration is corrected and the exporter is restarted if startup failed.
  • The source does not prove automatic repair or compensation for missed collection intervals.
Assessed commit f1d9b4f
Diagram

graph TD
  CM["Endpoint ConfigMap"] --> DEP["kaexporter Deployment"] --> EXP(["KA exporter"]) --> API["KubeArchive API"]
  SA["ServiceAccount token"] --> EXP
Loading
High-Level Assessment

The file-based ServiceAccount approach fits the existing deployment and preserves token rotation. Retaining a static environment-token fallback would undermine that authentication contract; the explicit file override still supports custom audiences and local development.

Files changed (7) +102 / -57

Bug fix (2) +15 / -32
exporter.goRequire a token file at startup +13/-25

Require a token file at startup

• Removes static-token state and the KA_TOKEN fallback. Resolves an explicit KA_TOKEN_FILE or the default ServiceAccount mount, returning an error if the selected file is unavailable.

exporters/kaexporter/exporter.go

ka_client.goAlways read the bearer token from file +2/-7

Always read the bearer token from file

• Removes the static-token branch so bearer-token retrieval re-reads the selected file for each request.

exporters/kaexporter/ka_client.go

Tests (3) +70 / -16
auth_test.goTest token-file selection and rotation +55/-0

Test token-file selection and rotation

• Adds tests confirming that token changes are read, missing explicit files fail, and KA_TOKEN cannot replace an absent ServiceAccount token.

exporters/kaexporter/auth_test.go

ka_client_test.goUse token files in client tests +14/-14

Use token files in client tests

• Updates retry and pagination test exporters to use temporary token files instead of static token fields.

exporters/kaexporter/ka_client_test.go

tiers_test.goUse a token file in exporter construction test +1/-2

Use a token file in exporter construction test

• Updates tier-wiring setup to provide KA_TOKEN_FILE rather than KA_TOKEN.

exporters/kaexporter/tiers_test.go

Documentation (1) +15 / -2
README.mdDocument file-based authentication +15/-2

Document file-based authentication

• Replaces KA_TOKEN instructions with KA_TOKEN_FILE and its default mounted path. Describes the ServiceAccount identity, token audience requirements, and endpoint ConfigMap contract.

exporters/kaexporter/README.md

Other (1) +2 / -7
kaexporter-service.yamlSource KA_HOST from a ConfigMap +2/-7

Source KA_HOST from a ConfigMap

• Switches the KubeArchive endpoint reference from a Secret to the kaexporter-endpoint ConfigMap. Removes the KA_TOKEN Secret-backed environment variable.

config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 10:59 AM UTC · Ended 11:05 AM UTC

Commit: c362f4f · View workflow run →

@qodo-for-redhat-appstudio

qodo-for-redhat-appstudio Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Code Review by Qodo


Action required

1. Exporter pods cannot start 🔗 Cross-repo conflict
Description
The KA_HOST environment variable now has a required reference to the kaexporter-endpoint
ConfigMap, but neither the exporter base nor the production and staging infra-deployments overlays
creates it; those overlays provision the existing credentials Secret and differently named
ConfigMaps. When either overlay updates its pinned o11y base to this version before supplying the
ConfigMap, new exporter pods cannot start.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The deployment requires `kaexporter-endpoint` for `KA_HOST`, but the exporter base and the production and staging infra-deployments overlays do not create that ConfigMap. Clusters with only the previous credentials Secret cannot start new exporter pods after adopting this version.

## Fix Focus Areas
- config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml[132-136]
- config/exporters/monitoring/kaexporter/base/kustomization.yaml[1-7]
- exporters/kaexporter/README.md[258-261]
- /cross_repos/infra-deployments/components/monitoring/exporters/kaexporter/production/base/configs/kustomization.yaml[4-12]
- /cross_repos/infra-deployments/components/monitoring/exporters/kaexporter/staging/base/configs/kustomization.yaml[4-12]

## Recommended Fix
Before updating the production and staging overlays to the new pinned o11y base, ensure each per-cluster deployment overlay creates `kaexporter-endpoint` with its `ka-host` key in `konflux-o11y-exporters`, or include the ConfigMap in the applicable deployment manifests. Alternatively, retain the existing Secret reference until those overlays are ready. Validate the deployed overlays, not just the base Kustomize build.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Comment thread exporters/kaexporter/exporter.go Fixed
Comment thread exporters/kaexporter/exporter.go Fixed
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:06 AM UTC · Completed 11:25 AM UTC

Commit: 6720151 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.67

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 18, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Tier 1 and Tier 2 signals are essentially unchanged from the prior assessment (7 files, 167 lines, medium blast radius, no CI/dependency/protected-path changes, 0.43 test ratio, known author, zero recent churn, single-author area, aging files); re-review anchoring preserves the prior score of 2 (moderate), appropriate for a targeted ServiceAccount token authentication refactor with decent test coverage.

Previous run

Risk Assessment: moderate (2/5)

Details

Tier 1 signals (7 files, 164 lines, medium blast radius, no CI/dependency/protected-path changes, 0.43 test ratio, known author) and Tier 2 signals (zero churn, single-author area, no regressions, but several aging files at 4-5 months) are essentially unchanged from the prior assessment; re-review anchoring preserves the prior score of 2 (moderate), appropriate for a targeted authentication refactor with decent test coverage touching stable but aging code.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Small targeted authentication refactor (7 files, 159 lines) with no CI/dependency/protected-path changes, good test coverage, and a known non-first-time author; moderate blast radius and aging files (3-5 months old) in a low-churn single-author area keep the score at 2.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

Small targeted authentication refactor (7 files, 159 lines) with no CI/dependency/protected-path changes, good test coverage, and a known non-first-time author; moderate blast radius and aging files (3-5 months old) in a low-churn single-author area keep the score at 2.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Review

Findings

High

  • [deployment-configuration-contract] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:135 — The Deployment references a ConfigMap named kaexporter-endpoint (key ka-host) via configMapKeyRef that is not created by this repository. If the companion PR (infra-deployments#15685) is not merged and rolled out before or simultaneously with this change, clusters applying the base Kustomize layer will fail container creation with CreateContainerConfigError because the referenced ConfigMap does not exist.
    Remediation: Ensure infra-deployments#15685 is merged and rolled out to all target clusters before or atomically with this change.

  • [environment-variable-contract] exporters/kaexporter/exporter.go:526 — The KA_TOKEN environment variable has been completely removed as an authentication fallback. resolveTokenSource() now returns (string, error) and errors out if neither KA_TOKEN_FILE nor the default mounted ServiceAccount token at /var/run/secrets/kubernetes.io/serviceaccount/token is present. Any cluster that previously relied on the KA_TOKEN env var (injected via the now-removed ka-kubearchive-credentials secret) will fail to start if the companion infra-deployments PR has not been applied. The three tests in auth_test.go correctly assert this new contract. Additionally, any out-of-cluster operator or developer script that sets KA_TOKEN without providing a token file will now receive a startup error rather than authenticating successfully; use KA_TOKEN_FILE pointing to a file containing the token instead.
    Remediation: Confirm that every cluster targeted by this change has the companion infra-deployments PR (infra-deployments#15685) applied before or atomically with this merge, ensuring the kaexporter-sa ServiceAccount has the necessary token mount and KubeArchive API permissions. Update any local development runbooks, CI jobs, or integration test harnesses that inject KA_TOKEN to use KA_TOKEN_FILE instead.

Medium

  • [secret-reference-removal] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:132 — The Secret ka-kubearchive-credentials (keys ka-host and ka-token) is no longer referenced by the Deployment. If the Secret was managed by an ExternalSecret or SealedSecret in infra-deployments, it will become an orphaned resource.
    Remediation: Coordinate with infra-deployments to remove the orphaned ExternalSecret/SealedSecret for ka-kubearchive-credentials after migration.

Low

  • [intent-mismatch] exporters/kaexporter/exporter.go:526 — The PR is titled and scoped as a fix, but removing the KA_TOKEN static-token fallback is a breaking change to the existing contract. The conventional commits prefix fix underrepresents the scope of the authorization strategy change.
    Remediation: Consider using feat or fix! (breaking change) in the commit prefix, or note in the PR body that local dev workflows require updating to use KA_TOKEN_FILE.

  • [intent-coherence] exporters/kaexporter/exporter.go:539 — The error message in resolveTokenSource() — 'no KubeArchive API token file found: mount a ServiceAccount token or set KA_TOKEN_FILE' — does not mention that KA_TOKEN is no longer supported. Developers who previously set KA_TOKEN will see an opaque failure with no hint that the env var was removed.
    Remediation: Consider adding guidance such as 'KA_TOKEN is no longer supported; use KA_TOKEN_FILE pointing to a local token file' to the error message so the removal is discoverable at runtime.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run

Review

Findings

High

  • [deployment-configuration-contract] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:134 — The Deployment references a ConfigMap named kaexporter-endpoint (key ka-host) via configMapKeyRef that is not created by this repo. If the companion PR (infra-deployments#15685) is not applied before or simultaneously with this change, clusters applying the base Kustomize layer will fail container creation (CreateContainerConfigError) because the referenced ConfigMap key is missing.
    Remediation: Ensure infra-deployments#15685 is merged and rolled out to all target clusters before or atomically with this change.

  • [environment-variable-contract] exporters/kaexporter/exporter.go:525 — The KA_TOKEN environment variable has been completely removed as an authentication fallback. resolveTokenSource() now returns (string, error) instead of (tokenFile, staticToken, err) and errors out if neither KA_TOKEN_FILE nor the default mounted ServiceAccount token is present. Any cluster that previously relied on the KA_TOKEN env var will fail to start if the companion infra-deployments PR has not yet been applied. Three tests in auth_test.go assert this new contract.
    Remediation: Confirm that every cluster targeted by this change has the companion infra-deployments PR (infra-deployments#15685) applied before or atomically with this merge.

Medium

  • [secret-reference-removal] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:132 — The Secret ka-kubearchive-credentials (keys ka-host and ka-token) is no longer referenced by the Deployment. If the Secret was managed by an ExternalSecret or SealedSecret in infra-deployments, it will become an orphaned resource.
    Remediation: Coordinate with infra-deployments to remove the orphaned ExternalSecret/SealedSecret for ka-kubearchive-credentials after migration.

Low

  • [naming-convention] exporters/kaexporter/exporter.go:528 — KA_TOKEN_FILE is used as a bare string literal in resolveTokenSource() and in t.Setenv calls throughout auth_test.go and tiers_test.go. Every other environment variable in this file is accessed through a named constant. The PR removed kaTokenEnvVar but did not introduce a kaTokenFileEnvVar constant.
    Remediation: Add kaTokenFileEnvVar = "KA_TOKEN_FILE" to the const block and replace all bare string literals.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (2)

Review

Findings

High

  • [deployment-configuration-contract] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:134 — The Deployment references a ConfigMap named kaexporter-endpoint (key ka-host) via configMapKeyRef that is not created by this repo. If the companion PR (infra-deployments#15685) is not applied before or simultaneously with this change, clusters applying the base Kustomize layer will fail container creation (CreateContainerConfigError) because the referenced ConfigMap key is missing.
    Remediation: Ensure infra-deployments#15685 is merged and rolled out to all target clusters before or atomically with this change.

  • [environment-variable-contract] exporters/kaexporter/exporter.go:537 — The KA_TOKEN environment variable has been completely removed as an authentication fallback. resolveTokenSource() now returns an error if neither KA_TOKEN_FILE nor the default mounted ServiceAccount token is present. Any cluster that previously relied on the KA_TOKEN env var will fail to start if the companion infra-deployments PR has not yet been applied. Three dedicated tests in auth_test.go assert this new contract.
    Remediation: Confirm that every cluster targeted by this change has the companion infra-deployments PR (infra-deployments#15685) applied before or atomically with this merge.

Medium

  • [secret-reference-removal] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:132 — The Secret ka-kubearchive-credentials (keys ka-host and ka-token) is no longer referenced by the Deployment. If the Secret was managed by an ExternalSecret or SealedSecret in infra-deployments, it will become an orphaned resource.

Low

  • [naming-convention] exporters/kaexporter/exporter.go:528 — KA_TOKEN_FILE is used as a bare string literal in resolveTokenSource() and in t.Setenv calls throughout auth_test.go and tiers_test.go. Every other environment variable in this file is accessed through a named constant. The PR removed kaTokenEnvVar but did not introduce a kaTokenFileEnvVar constant.
    Remediation: Add kaTokenFileEnvVar = "KA_TOKEN_FILE" to the const block and replace the bare string literals.

  • [code-organization] exporters/kaexporter/exporter.go:529 — The nosec annotation uses // #nosec G703 (space before hash) while the existing annotation at line 431 uses //nosec G402 (no space, no hash). Inconsistent style within the same file.
    Remediation: Change // #nosec G703 to //nosec G703 to match the existing style.


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (3)

Review

Findings

High

  • [deployment-configuration-contract] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:134 — The Deployment now has a hard dependency on a ConfigMap named kaexporter-endpoint (key ka-host) that is not created by this repo. If the companion PR (infra-deployments#15685) is not applied before or simultaneously with this change, any cluster applying the base Kustomize layer will fail pod scheduling at startup because Kubernetes will refuse to start the container when a referenced ConfigMap key is missing.
    Remediation: Coordinate deployment ordering — ensure the infra-deployments companion PR is merged and applied to all target clusters before or simultaneously with this base-layer change.

Medium

  • [environment-variable-interface-removal] exporters/kaexporter/exporter.go:525 — KA_TOKEN environment variable support is completely removed. Any deployment that relied on the static-token auth path will fail at startup because no SA token file exists in that environment. This is an intentional, documented breaking change with a companion infra-deployments migration PR and a dedicated test asserting the removal as a contract, but consumers with custom overlays should be notified.
    Remediation: Confirm via the infra-deployments companion PR that no currently-deployed configuration injects KA_TOKEN without also mounting a ServiceAccount token.

  • [secret-reference-removal] config/exporters/monitoring/kaexporter/base/kaexporter-service.yaml:132 — The Secret ka-kubearchive-credentials (keys ka-host and ka-token) is no longer referenced by the Deployment. If managed by an ExternalSecret or SealedSecret in infra-deployments, it will become an orphaned resource.
    Remediation: Confirm in the companion infra-deployments PR that the ExternalSecret/Secret and any associated RBAC for ka-kubearchive-credentials are removed.

  • [naming-convention] exporters/kaexporter/exporter.go:528 — KA_TOKEN_FILE is accessed as a bare string literal in resolveTokenSource(). The codebase pattern defines every env var name as a named constant (e.g., kaHostEnvVar, clusterEnvVar). The PR removes kaTokenEnvVar but does not introduce a matching kaTokenFileEnvVar constant.
    Remediation: Add kaTokenFileEnvVar = "KA_TOKEN_FILE" to the const block and replace the bare strings.

Low

  • [code-organization] exporters/kaexporter/exporter.go:529 — The nosec annotation uses // #nosec G703 while the existing annotation at line 431 uses //nosec G402. Inconsistent style within the same file.
    Remediation: Change to //nosec G703 to match the in-file convention.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

@FaisalAl-Rayes

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@FaisalAl-Rayes

Copy link
Copy Markdown
Contributor Author

/retest

Escape the operator-supplied token path before logging. Document a narrowly scoped G703 exception because KA_TOKEN_FILE intentionally permits custom paths controlled by the deployment operator.

Validation: gosec v2.28.0 no longer reports G703 or G706 in token resolution; CGO_ENABLED=0 go test ./... passes.

Jira: https://redhat.atlassian.net/browse/PVO11Y-5728

Assisted-by: OpenAI Codex
Signed-off-by: Faisal Al-Rayes <falrayes@redhat.com>
@FaisalAl-Rayes
FaisalAl-Rayes force-pushed the fix/PVO11Y-5728-kaexporter-serviceaccount-auth branch from 6720151 to 53bdc25 Compare November 18, 2026 15:33
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:35 PM UTC · Completed 3:50 PM UTC

Commit: 53bdc25 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.61

fullsend-ai-review[bot]

This comment was marked as outdated.

@FaisalAl-Rayes

Copy link
Copy Markdown
Contributor Author

/retest

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:43 AM UTC · Completed 11:57 AM UTC

Commit: 699f4d8 · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.32

fullsend-ai-review[bot]

This comment was marked as outdated.

@FaisalAl-Rayes

Copy link
Copy Markdown
Contributor Author

/retest

Describe custom token mounts, administrator control of the token path, and rotation behavior without relying on migration context.

Validation: formatting and diff checks pass; G703/G706 findings match the previous scan, with no token-resolution findings.

Jira: https://redhat.atlassian.net/browse/PVO11Y-5728

Assisted-by: OpenAI Codex
Signed-off-by: Faisal Al-Rayes <falrayes@redhat.com>
@FaisalAl-Rayes
FaisalAl-Rayes force-pushed the fix/PVO11Y-5728-kaexporter-serviceaccount-auth branch from 699f4d8 to 9c3d9c5 Compare November 19, 2026 14:44
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 2:45 PM UTC · Ended 2:51 PM UTC

Commit: 9c3d9c5 · View workflow run →

Use kaTokenFileEnvVar consistently in token resolution and tests.

Validation: CGO_ENABLED=0 go test ./exporters/kaexporter/...; git diff --check.

Jira: https://redhat.atlassian.net/browse/PVO11Y-5728

Assisted-by: OpenAI Codex
Signed-off-by: Faisal Al-Rayes <falrayes@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 2:52 PM UTC · Ended 3:08 PM UTC

Commit: 5eb9bfd · View workflow run →

Comment thread exporters/kaexporter/exporter.go Fixed
Scope the G101 exception to the KA_TOKEN_FILE environment variable name, which contains no credential.

Validation: gosec v2.28.0 confirms the new G101 finding is removed with no additional findings; formatting and diff checks pass.

Jira: https://redhat.atlassian.net/browse/PVO11Y-5728

Assisted-by: OpenAI Codex
Signed-off-by: Faisal Al-Rayes <falrayes@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:10 PM UTC · Completed 3:27 PM UTC

Commit: f1d9b4f · View workflow run →

Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.83

@FaisalAl-Rayes
FaisalAl-Rayes dismissed fullsend-ai-review[bot]’s stale review November 19, 2026 15:14

addressed/resolved all comments

@pacho-rh pacho-rh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment for full details.

Comment thread exporters/kaexporter/exporter.go Resolved
Comment thread exporters/kaexporter/exporter.go Resolved
Comment thread exporters/kaexporter/exporter.go Resolved
@raks-tt

raks-tt commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

/retest

@raks-tt raks-tt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@FaisalAl-Rayes
FaisalAl-Rayes merged commit 7f69de6 into redhat-appstudio:main Nov 23, 2026
166 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/moderate PR risk: moderate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants