Skip to content

[comp] Production Deploy#3136

Merged
tofikwest merged 5 commits into
releasefrom
main
Jun 15, 2026
Merged

[comp] Production Deploy#3136
tofikwest merged 5 commits into
releasefrom
main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.


Summary by cubic

Centralized finding exception handling and applied it across task checks, Cloud Tests, and the UI for consistent behavior. Tasks no longer fail when the only failing findings are excepted; those items are shown as “Exception” and excluded from failed counts.

  • Bug Fixes

    • Manual run-check and scheduled runner now honor exceptions via loadActiveExceptionSet and shared helpers (countEffectiveFailures, decideTaskStatus). All-excepted runs go done; execution errors don’t flip to success.
    • Task check runs (getTaskCheckRuns) flag excepted results and drop them from failed counts/status; failed → success only when exceptedCount > 0. Execution-error runs remain failed.
    • Cloud Tests findings filter uses the shared exception set (one source of truth).
    • Fail-safe: if the exception lookup errors, nothing is suppressed.
    • App UI: check run history displays “Exception” badges and doesn’t count them as failed.
  • Refactors

    • Added ActiveExceptionSet and helpers for consistent pass/fail decisions; removed duplicated exception lookup in cloud-security query.
    • Added tests for exception matching, task status decisions, and execution-error handling.

Written for commit e3a1495. Summary will update on new commits.

Review in cubic

github-actions Bot and others added 5 commits June 12, 2026 21:39
A finding marked as an exception (e.g. a deliberately-public S3 bucket) was
suppressed in the Cloud Tests findings view but still failed the corresponding
integration TASK check — both the compliance task status and the "N failed"
card — because only cloud-security-query applied exceptions.

Centralize the exception logic into one source of truth (ActiveExceptionSet /
loadActiveExceptionSet) and apply it everywhere a check result becomes pass/fail:

- Cloud Tests findings view refactored to use it (removes the duplicate; the two
  systems are now matched by construction).
- Manual run-check + scheduled Trigger task: task status excludes excepted
  findings (shared decideTaskStatus / countEffectiveFailures helpers), so a task
  whose only failures are excepted goes done — identical in both paths.
- Task-check display (getTaskCheckRuns): excepted results are flagged and dropped
  from the run's failed count/status; the UI renders them as "Exception".

Additive + fail-safe: with no exceptions the behavior is byte-for-byte identical,
and if the exception lookup errors it suppresses nothing (never hides a real
finding). Raw check results/counts are left untouched in the DB; exceptions only
affect derived status + display.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Two P1 issues from cubic:

1. getTaskCheckRuns rewrote a failed run to success whenever the effective
   failed count was 0 — which also matched an execution-error run (status
   failed, failedCount 0 because the error produced no findings), hiding real
   runtime failures. Gate the rewrite on exceptedCount > 0 so only genuinely
   all-excepted runs are downgraded; error runs stay failed.

2. decideTaskStatus returned null (leave unchanged) when all findings were
   excepted AND there were no passing results, so an all-excepted task could
   stay stuck in its prior (failed) status. Add the raw totalFindings signal:
   if the check evaluated any resource and nothing effectively fails, it goes
   done; only a run that evaluated nothing (e.g. all errored) stays unchanged.
   Applied in both the manual and scheduled paths.

Added tests: all-excepted/no-passing -> done (helper + manual run), and an
execution-error run stays failed in the display.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fix(cloud-security): honor finding exceptions in integration task checks
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app (staging) Ready Ready Preview, Comment Jun 15, 2026 12:45am
comp-framework-editor (staging) Ready Ready Preview, Comment Jun 15, 2026 12:45am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
portal (staging) Skipped Skipped Jun 15, 2026 12:45am

Request Review

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 10 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@tofikwest tofikwest merged commit 02d1317 into release Jun 15, 2026
14 checks passed
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.82.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants