Skip to content

๐ŸŽจ Palette: ๋Œ€์‹œ๋ณด๋“œ 'Deploy-blocking' ์นด๋“œ ํด๋ฆญ ํ•„ํ„ฐ ๊ธฐ๋Šฅ ์ถ”๊ฐ€ - #1090

Open
seonghobae wants to merge 5 commits into
developfrom
palette-interactive-deploy-blocking-card-12517871394529878792
Open

๐ŸŽจ Palette: ๋Œ€์‹œ๋ณด๋“œ 'Deploy-blocking' ์นด๋“œ ํด๋ฆญ ํ•„ํ„ฐ ๊ธฐ๋Šฅ ์ถ”๊ฐ€#1090
seonghobae wants to merge 5 commits into
developfrom
palette-interactive-deploy-blocking-card-12517871394529878792

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Product intent

Make the Deploy-blocking summary card a real findings filter with the same pointer, keyboard, and pressed-state semantics as the existing severity filters, without losing keyboard position when the dashboard rerenders.

Review-driven repair

The initial implementation toggled filterBlocking and rerendered the entire dashboard, but the generated card had no stable DOM id. render() already preserves focus by capturing document.activeElement.id and focusing the replacement element with the same id; because this card had none, Enter/Space activation moved keyboard focus to the page after replacement.

The repair was performed test-first and kept the existing focus-restoration mechanism rather than adding a competing state path:

  • RED/contract commit d8bd9a0e09e451f3b61cc706f9c4bea8171abc9c requires a stable deploy-blocking-card id, the real isDeployBlocking filtering predicate, toggle wiring, aria-pressed, and keyboard activation. The preceding source lacks that stable id and therefore fails this acceptance.
  • GREEN source commit 95fa6ed394b623d3ec9af4c69fea821b6795c0aa adds only id="deploy-blocking-card" to the generated card, allowing the pre-existing activeId / restoredElement.focus() path to restore focus after replacement.
  • Current exact head 75987aea4fdb909d8e18c20e343453a357718209 strengthens the regression into executable behavior: a Node DOM harness runs the shipped render() logic with one blocking finding plus non-blocking HIGH/test and WARNING findings, toggles the filter, and verifies the filtered rows, aria-pressed="true", and focus restoration to the newly rendered card.
  • Both valid Devin review threads are now resolved; no finding was closed without a causal source/test repair.

Current-head evidence

  • base: develop@e71d37e7c58118e6764c96ab7c4492fe33eed6f8
  • exact head: 75987aea4fdb909d8e18c20e343453a357718209
  • GitHub reports the PR open and mechanically mergeable.
  • Fresh exact-head repository checks are still queued: Tests 33647328885, Security Process 33647328704, SAST 33647328941, Security Scan 33647328983, OSV 33647329799, Scorecard 33647328727, and the evidence-coverage workflows.
  • Central CodeQL PR run 33647332036 terminated with startup_failure; that control-plane failure is not leaf success evidence and must not be bypassed or inherited from an older head.

Delivery gate

The causal UI fix and executable regression are present, but this PR is not yet merge-ready. Require terminal current-head Tests/security evidence and final current-head review reconciliation. If the Node executable is unavailable in the repository runner, treat that as an explicit test-toolchain defect and repair the workflow/toolchain rather than skipping the behavioral regression.

Anti-Slop delivery check

  • Intentionality: PASS โ€” the card exists because users need to isolate deployment-blocking findings, and the stable id solely preserves that control through rerender.
  • Functional completeness: PENDING โ€” executable behavior is encoded, but exact-head CI has not run to completion.
  • Content fit: PASS โ€” no decorative card, unrelated copy, or template section was introduced.
  • Resilience: PASS in repaired contract โ€” pointer, Enter/Space, pressed state, filter composition, clear-filter state, and focus restoration are covered; terminal browser/CI evidence is still pending.
  • Evidence: PENDING โ€” current-head Actions remain queued and CodeQL has a central startup failure.
  • Product identity: PASS โ€” AppGuardrailโ€™s existing dashboard tokens, information hierarchy, and security findings model are preserved.

๋Œ€์‹œ๋ณด๋“œ ๋‚ด์˜ 'Deploy-blocking' ์š”์•ฝ ์นด๋“œ๋ฅผ ํด๋ฆญํ•˜์—ฌ ๋ฐฐํฌ๋ฅผ ์ฐจ๋‹จํ•˜๋Š” ํ•ญ๋ชฉ๋“ค๋งŒ ๋น ๋ฅด๊ฒŒ ํ•„ํ„ฐ๋งํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค. ์‹œ๊ฐ์ ์ธ ์ƒํ˜ธ์ž‘์šฉ ํ”ผ๋“œ๋ฐฑ์„ ์ ์šฉํ•˜๊ณ  ์ ‘๊ทผ์„ฑ์„ ๊ณ ๋ คํ•˜์—ฌ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ’ก ๋ณ€๊ฒฝ ์‚ฌํ•ญ:
- `Deploy-blocking` ์นด๋“œ์— `role="button"`, `tabindex="0"`, `aria-pressed` ์†์„ฑ ์ถ”๊ฐ€
- ๋งˆ์šฐ์Šค ํด๋ฆญ ๋ฐ ํ‚ค๋ณด๋“œ(`Enter`, `Space`) ์ž…๋ ฅ์„ ํ†ตํ•œ ํ•„ํ„ฐ ํ† ๊ธ€ ๊ธฐ๋Šฅ ๊ตฌํ˜„
- ์ „์—ญ `Clear filters` ๋ฒ„ํŠผ ๋™์ž‘ ์‹œ ํ•ด๋‹น ํ•„ํ„ฐ ์ƒํƒœ๋„ ํ•จ๊ป˜ ์ดˆ๊ธฐํ™”๋˜๋„๋ก ์ˆ˜์ •
- ํ•„ํ„ฐ ํ™œ์„ฑํ™” ์‹œ ๋‹ค๋ฅธ ์‹ฌ๊ฐ๋„(Severity) ์นด๋“œ๋“ค๊ณผ ๋™์ผํ•œ ํ™œ์„ฑํ™” ์Šคํƒ€์ผ(ํŒŒ๋ž€์ƒ‰ ํ…Œ๋‘๋ฆฌ ๋ฐ ๊ทธ๋ฆผ์ž) ์ ์šฉ
@google-labs-jules

Copy link
Copy Markdown

๐Ÿ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a ๐Ÿ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: Youโ€™ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

โš™๏ธ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 600d599f-0462-42ae-ad28-1c67672649bd

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between e71d37e and a3ab25b.

๐Ÿ“’ Files selected for processing (3)
  • .jules/palette.md
  • scanner/dashboard/index.html
  • tests/test_dashboard_core.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

โค๏ธ Share

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

devin-ai-integration[bot]

This comment was marked as resolved.

@seonghobae seonghobae added area: ui-ux Frontend, interaction, design, or user experience enhancement New feature or request priority: medium Normal-priority or P2 work status: needs-review Open pull request requiring current-head review or checks type: feature New or expanded product capability labels Sep 2, 2026 — with ChatGPT Codex Connector

@devin-ai-integration devin-ai-integration 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.

Note

This report is out of date. Scroll down for Devin Review's latest report on this PR.

Devin Review found 1 new potential issue.

Devin Review

const filtered = ALL
.map((f,i)=>({f,i}))
.filter(({f})=> (!filterSev || String(f.severity).toUpperCase()===filterSev))
.filter(({f})=> !filterBlocking || isDeployBlocking(f))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

๐Ÿ“ Info: Combined filters preserve row identity

The blocking predicate intersects with severity and search filters. Preserved original indices keep each displayed row linked to the correct finding.

Devin Review

Was this helpful? React with ๐Ÿ‘ or ๐Ÿ‘Ž to provide feedback.

Comment thread tests/test_dashboard_blocking_filter_contract.py Fixed
๋Œ€์‹œ๋ณด๋“œ ๋‚ด์˜ 'Deploy-blocking' ์š”์•ฝ ์นด๋“œ๋ฅผ ํด๋ฆญํ•˜์—ฌ ๋ฐฐํฌ๋ฅผ ์ฐจ๋‹จํ•˜๋Š” ํ•ญ๋ชฉ๋“ค๋งŒ ๋น ๋ฅด๊ฒŒ ํ•„ํ„ฐ๋งํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค. ์‹œ๊ฐ์ ์ธ ์ƒํ˜ธ์ž‘์šฉ ํ”ผ๋“œ๋ฐฑ์„ ์ ์šฉํ•˜๊ณ  ์ ‘๊ทผ์„ฑ์„ ๊ณ ๋ คํ•˜์—ฌ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ’ก ๋ณ€๊ฒฝ ์‚ฌํ•ญ:
- `Deploy-blocking` ์นด๋“œ์— `role="button"`, `tabindex="0"`, `aria-pressed` ์†์„ฑ ์ถ”๊ฐ€
- ๋งˆ์šฐ์Šค ํด๋ฆญ ๋ฐ ํ‚ค๋ณด๋“œ(`Enter`, `Space`) ์ž…๋ ฅ์„ ํ†ตํ•œ ํ•„ํ„ฐ ํ† ๊ธ€ ๊ธฐ๋Šฅ ๊ตฌํ˜„
- ์ „์—ญ `Clear filters` ๋ฒ„ํŠผ ๋™์ž‘ ์‹œ ํ•ด๋‹น ํ•„ํ„ฐ ์ƒํƒœ๋„ ํ•จ๊ป˜ ์ดˆ๊ธฐํ™”๋˜๋„๋ก ์ˆ˜์ •
- ํ•„ํ„ฐ ํ™œ์„ฑํ™” ์‹œ ๋‹ค๋ฅธ ์‹ฌ๊ฐ๋„(Severity) ์นด๋“œ๋“ค๊ณผ ๋™์ผํ•œ ํ™œ์„ฑํ™” ์Šคํƒ€์ผ(ํŒŒ๋ž€์ƒ‰ ํ…Œ๋‘๋ฆฌ ๋ฐ ๊ทธ๋ฆผ์ž) ์ ์šฉ
- CI ํ…Œ์ŠคํŠธ์—์„œ ์š”๊ตฌํ•˜๋Š” `id="deploy-blocking-card"`๋ฅผ ์นด๋“œ ์š”์†Œ์— ์œ ์ง€๋˜๋„๋ก ์ ์šฉ

@devin-ai-integration devin-ai-integration 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.

Devin Review found 1 new potential issue.

Devin Review

<p class="sub">${findingsText} ยท <strong>${blocking}</strong> deploy-blocking (gate ${blocking?'active':'clear'})</p>
<div class="cards">${cards}
<div class="card"><div class="lbl"><span class="dot" style="background:var(--primary)"></span>Deploy-blocking</div><div class="n">${blocking}</div></div>
<div id="deploy-blocking-card" class="card" role="button" tabindex="0" aria-label="Filter by Deploy-blocking: ${blocking}" aria-pressed="${filterBlocking}" onclick="filterBlocking=!filterBlocking; document.getElementById('deploy-blocking-card')?.focus(); render();" onkeydown="if(event.key==='Enter'||event.key===' '){event.preventDefault(); this.click();}" style="${filterBlocking ? 'border-color:var(--primary); box-shadow:0 0 0 1px var(--primary); cursor:pointer;' : 'cursor:pointer;'}">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

๐Ÿ“ Info: Pre-render focus preserves keyboard position

The pre-render focus() makes the card active before render() captures its ID. Existing restoration then focuses the replacement card.

Devin Review

Was this helpful? React with ๐Ÿ‘ or ๐Ÿ‘Ž to provide feedback.

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

Labels

area: ui-ux Frontend, interaction, design, or user experience enhancement New feature or request priority: medium Normal-priority or P2 work status: needs-review Open pull request requiring current-head review or checks type: feature New or expanded product capability

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants