Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e805873d64
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return HttpServerResponse.jsonUnsafe( | ||
| result._tag === "Failure" | ||
| ? { error: "Updates unavailable" } | ||
| : { viewerId: viewer.user.id, latest: result.success[0] ?? null }, |
There was a problem hiding this comment.
Strip provenance from the latest-updates response
When the history comes from the deployment importer, result.success[0] retains its deployment object, so any signed-in member can call /updates/latest and receive the run ID, attempt, commit SHA, and Actions URL. This bypasses the field projection used by /updates/feed and violates the documented contract that deployment provenance remains internal; remove this unused route or project the entry to the same display-only fields as the feed.
AGENTS.md reference: AGENTS.md:L45-L45
Useful? React with 👍 / 👎.
| const hasUpdates = page.app?.viewer.user.id !== undefined; | ||
| const head = | ||
| (shell && clerk ? sessionScripts(shell) : "") + | ||
| (hasUpdates ? '<script defer src="/updates/client.js"></script>' : ""); |
There was a problem hiding this comment.
Keep the local prototype off production app shells
In a normal production session every app-shell viewer has a user ID, so this condition always injects the updates client despite docs/product.md defining deployment updates as a local prototype with production publication out of scope. Consequently every production tab displays an unpublished bell and polls the authenticated /updates/feed route every five seconds, repeatedly resolving the viewer and reading the content store even when no production history exists; gate the shell and routes behind an explicit prototype/dev setting.
AGENTS.md reference: AGENTS.md:L45-L45
Useful? React with 👍 / 👎.
| async readLog(jobId) { | ||
| return gh(["api", `${prefix}/jobs/${jobId}/logs`, "--allow-escape-sequences"]); |
There was a problem hiding this comment.
Remove the unsupported flag from job-log reads
For every uncached successful deployment, this invokes gh api with --allow-escape-sequences, so the importer exits before it can establish the deployed revision. The installed gh 2.96 documentation for gh api --help lists flags such as --paginate and --slurp but not this flag, and the exact invocation terminates with unknown flag: --allow-escape-sequences; because gh() converts that failure into a generic Actions-read error, the initial sync can never import a deployment. Remove the unsupported flag and process the raw log output separately if escape handling is needed.
Useful? React with 👍 / 👎.
|
Closing in favour of the smaller design on #548. The comment there explains the decision. Thanks, Srikar: the writing rules from your release-notes prompt carry over. |
What changed
People can catch up on changes from confirmed successful Deploy GitHub Actions in a local notification prototype. Main updates and pull requests do not create changelog entries.
Continues #550 on this branch; tracks #548. Local prototype only—no production deployment or production history publication. Live generated-note quality and importer recovery checks remain follow-up work.
How it was verified
pnpm testpasses locallyFull
pnpm verifyremains red on unrelated formatting, execution/CLI tests and the Linux-only fleet browser check on macOS.Release impact
Additive prototype; no database migration or public CLI/API contract changes.
Model: GPT-6. Harness: Codex.