Skip to content

feat: Add Sentinel e2e persona - #1531

Merged
dannyhw merged 2 commits into
callstack:mainfrom
MrMuzyk:feat/sentinel-e2e-persona
Dec 4, 2026
Merged

dannyhw merged 2 commits into
callstack:mainfrom
MrMuzyk:feat/sentinel-e2e-persona

Conversation

@MrMuzyk

@MrMuzyk MrMuzyk commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This PR adds an e2e reviewer persona for Sentinel in personas/e2e-reviewer/.

For each PR, the persona answers one question: does an e2e test already run and check the changed code? If not, can a new e2e test do this?

A green e2e run does not show that the tests ran the changed code. The persona tells the reviewer when a green run is proof.

The persona writes one comment with one of these answers:

  • already covered: The comment gives the e2e files. It also tells how an incorrect change makes each test fail.
  • a new test would help: The comment gives a sketch of the new test.
  • out of reach: The lanes cannot run the changed code, for example in Release builds or with webpack.
  • not useful here: The change has no effect on the device, or a unit test already checks the changed lines.

Files:

  • persona.md: The question, the steps to select the answer, and the comment format.
  • AGENTS.md: Data about the MF2 and Expo lanes, and the rules to read a PR.
  • skills/test-sketch.md: The procedure to write the test sketch.

Test plan

After the merge:

  1. Make sure that Sentinel writes a comment on the next PRs.
  2. Make sure that each comment starts with ### e2e:.

@vercel

vercel Bot commented Nov 12, 2026

Copy link
Copy Markdown

@MrMuzyk is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fb06325

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging 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.

Apex Sentinel: 1 new finding on 7aeb22c. The verdict and the full list are in the summary comment.

@artus9033 artus9033 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.

A few notes on the persona's decision rules. The main ones are mixed PRs and how strict covered is: both can produce a confident wrong "already covered".

Comment thread personas/e2e-reviewer/persona.md Resolved
Comment thread personas/e2e-reviewer/persona.md Resolved
Comment thread personas/e2e-reviewer/persona.md Resolved
Comment thread personas/e2e-reviewer/persona.md Resolved
Comment thread personas/e2e-reviewer/persona.md Resolved
@apex-sentinel-staging

This comment has been minimized.

@MrMuzyk
MrMuzyk force-pushed the feat/sentinel-e2e-persona branch from 210a155 to a6353c2 Compare December 4, 2026 17:48
@apex-sentinel-staging

This comment has been minimized.

@MrMuzyk MrMuzyk changed the title Feat/sentinel e2e persona feat: Add Sentinel e2e persona Dec 4, 2026
@MrMuzyk
MrMuzyk requested a review from dannyhw December 4, 2026 18:09
@MrMuzyk

MrMuzyk commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

@dannyhw This is something we discussed quite a while ago but was waiting for e2e tests to get merged first. Once merged we should start getting recommendation on the e2e tests

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of fb06325

Since the review of a6353c2: 0 new · 0 still open · 1 no longer raised

No open findings.

Reviewed with this repository's own Sentinel configuration (fc36309943f9).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@dannyhw
dannyhw merged commit 51fdbda into callstack:main Dec 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants