Skip to content

[3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) - #3953

Merged
integry merged 1 commit into
3758-epic-runtime-abstraction-sc0from
3950/gpt-6.2-sol-connect-wake-overflow-not-20261201-0859-7bv
Dec 1, 2026
Merged

integry merged 1 commit into
3758-epic-runtime-abstraction-sc0from
3950/gpt-6.2-sol-connect-wake-overflow-not-20261201-0859-7bv

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3950

Branch: 3950/gpt-6.2-sol-connect-wake-overflow-not-20261201-0859-7bv
Commits: ✅ Changes committed (1774755)


AI Processing Completed

Execution Details:

Summary:
Fixed #3950. Connect wake overflow warnings now reach administrators configured through PROPR_ADMIN_USERS. ProPR uses the same administrator list as the Access page and permission checks, resolves configured usernames to GitHub user IDs, and sends one notification per ID across both administrator sources.

The regression test confirms that an environment-only administrator receives the Inbox warning on a fresh instance. All four targeted test files and TypeScript checks passed. Captured a browser preview of the warning generated by a simulated wake.

Review digest

Risk-tiered paths

  • High risk (2 files)
    • packages/api/authorization.ts (+2/−6): auth-looking path
    • packages/shared/src/instanceAuthorization.ts (+4/−0): auth-looking path
  • Normal risk (2 files)
    • packages/core/src/intake/routingIdleFrames.ts (+12/−2)
    • packages/shared/src/index.ts (+1/−0)
  • Low risk (1 file)
    • test/idleShutdownRecovery.test.ts (+35/−0)

Diff size: 5 files changed, +54/−8 lines

View task for the run's logs and conversation.


This PR was created automatically by ProPR after processing issue #3950.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Connect overflow warning in Inbox

Connect overflow warning in Inbox

The System section shows the overflow warning generated for an administrator configured only through PROPR_ADMIN_USERS.

Full-size original

Fixed #3950. Connect wake overflow warnings now reach administrators configured through `PROPR_ADMIN_USERS`. ProPR uses the same administrator list as the Access page and permission checks, resolves configured usernames to GitHub user IDs, and sends one notification per ID across both administrator sources.

The regression test confirms that an environment-only administrator receives the Inbox warning on a fresh instance. All four targeted test files and TypeScript checks passed. Captured a browser preview of the warning generated by a simulated wake.

ProPR-Agent: codex/gpt-6.2-sol
@propr-dev propr-dev Bot changed the title 🔨 [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) ✅ [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) Dec 1, 2026

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ✅ [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) 🔨 [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) Dec 1, 2026
@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Ready to merge. The change addresses environment-only administrators with a small, focused implementation.

✅ Consistent administrator parsing — The shared helper preserves existing normalization and deduplication semantics while keeping authorization and notification configuration aligned.

✅ Correct recipient aggregation — Notifications combine durable administrators with resolved bootstrap administrators and deduplicate by GitHub user ID. The login comparison excludes mismatched lookup results.

✅ Focused regression coverage — The new test exercises an empty membership table, mixed-case duplicate usernames, an unresolved username, and Inbox delivery.

This review used static analysis of the supplied diff and dependency excerpts; no commands were run. Current-head checks report 23 passed and no failures.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Test overlapping administrator sources

Optionally add a case in test/idleShutdownRecovery.test.ts where one administrator appears in both instance_members and PROPR_ADMIN_USERS, alongside distinct administrators from each source. Assert that every unique ID receives one notification. The implementation’s Set already handles this correctly; the additional test would directly protect the cross-source deduplication promised by the objective.

Score

The implementation meets the stated objective, preserves authorization behavior, and includes a targeted regression test. No merge blockers were identified, and current-head checks are passing.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 25s
  • Tokens: 38,715 (38,377 in / 338 out)
  • Cost: $0.29

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) ✅❾ [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) Dec 1, 2026
@integry
integry merged commit f4437c7 into 3758-epic-runtime-abstraction-sc0 Dec 1, 2026
58 checks passed
@propr-dev propr-dev Bot changed the title ✅❾ [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) [3950 by GPT-6.2 Sol] Connect wake overflow notification skips environment administrators (PROPR_ADMIN_USERS) Dec 1, 2026
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.

1 participant