Skip to content

Add bug_auth_token_expiry_race benchmark scenario fixtures#867

Draft
BrhKmr23 wants to merge 1 commit into
mainfrom
cursor/bug-auth-token-expiry-race-e698
Draft

Add bug_auth_token_expiry_race benchmark scenario fixtures#867
BrhKmr23 wants to merge 1 commit into
mainfrom
cursor/bug-auth-token-expiry-race-e698

Conversation

@BrhKmr23

@BrhKmr23 BrhKmr23 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the complete fixture set for the bug_auth_token_expiry_race benchmark scenario: a JWT token expiry race condition in auth-service that causes intermittent 401s under concurrent load.

Files added

Acme universe (fixtures/raw_events/universe/acme/)

  • 4 service manifests (repo_docs / service_manifest): auth-service, api-gateway, checkout-api, user-profile-api
  • 1 CODEOWNERS file (repo_docs / codeowners): maps services to owners including Maya Chen (auth lead) and Jordan Park (SRE on-call)

Signal fixtures (fixtures/raw_events/)

File Connector Story beat
linear/ops_355_jwt_expiry_symptom.json linear / issue / create Symptom report — intermittent 401s, no root cause
slack/thread_jwt_race_diagnosis.json slack / message / thread Real-time diagnosis narrowing to refresh worker race
linear/ops_431_jwt_race_root_cause.json linear / issue / create Root cause identified, links OPS-355
notion/postmortem_jwt_race.json notion / page / created Postmortem with timeline, fix, follow-ups

Scenario YAML (scenarios/bug_auth_token_expiry_race.yaml)

  • Ingest timeline: OPS-355 (-14d) → Slack (-13d) → OPS-431 (-10d) → postmortem (-7d)
  • Query scoped to auth-service
  • Ground truth must_cite source_ids aligned with fixture envelopes

Validation

All 9 fixture envelopes pass validate_all_fixtures(). Acme universe discovery yields 5 seed files at -365d.

Other

  • Added .gitignore exception for benchmarks/fixtures/raw_events/**/*.json so synthetic fixtures can be committed (previously blocked by global *.json rule).
Open in Web Open in Cursor 

Author the Acme universe seed (auth-service, api-gateway, checkout-api,
user-profile-api, CODEOWNERS), four signal fixtures (Linear OPS-355/OPS-431,
Notion postmortem, Slack diagnosis thread), and scenario YAML with
ground-truth citations. Allow benchmark raw_events JSON through .gitignore.

Co-authored-by: Bharath Kumar K <BrhKmr23@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 05a0c3d3-2834-46a8-98a2-71a56e0e3fcb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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 and usage tips.

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.

2 participants