error: rename console error actions to the error.* module#274
Merged
Conversation
Pure rename to track api#106, which promoted the shipped deployment.errors actions into a first-class error.* resource. No new UI and no behavior change; the per-deployment Errors tab and the project-level Errors view render identically. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011d4bVuGLnCbcJD9ZvastPH
|
Preview deleted (PR closed). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pure rename to track deploys-app/api#106, which promoted the shipped
deployment.errorsactions into a first-classerror.*resource. This is a rename only — no new UI, no behavior change. The per-deployment Errors tab and the project-level Errors view render identically, so there are no visual changes and no screenshots are needed.Wire-name / permission mapping
deployment.errors(action)error.listdeployment.errorGet(action)error.getdeployment.errorUpdate(action)error.updatedeployment.logserror.list(+error.getfor detail)deployment.logserror.updateTS type renames (
src/types/api.d.ts, field shapes unchanged)DeploymentErrorKind→ErrorKind,DeploymentErrorStatus→ErrorStatus,DeploymentErrorStatusFilter→ErrorStatusFilter,DeploymentErrorSort→ErrorSort,DeploymentErrorIssue→ErrorIssue,DeploymentErrorOccurrence→ErrorOccurrence,DeploymentErrorIssueDetail→ErrorIssueDetail,DeploymentErrorsArgs→ErrorListArgs,DeploymentErrorsResult→ErrorListResult,DeploymentErrorGetArgs→ErrorGetArgs,DeploymentErrorGetResult→ErrorGetResult,DeploymentErrorUpdateArgs→ErrorUpdateArgs. Doc comments mentioning the old action names updated. (NoErrorCreatetypes added —error.createis for apps/SDKs, not the console UI.)Files changed
src/types/api.d.ts— type renames + doc-comment updates.src/routes/(auth)/(project)/deployment/(detail)/errors/+page.svelte—api.invokewire names,Api.Error*type refs,READ_PERMISSION=error.list/TRIAGE_PERMISSION=error.updateconsts andGuardedButtongates.src/routes/(auth)/(project)/errors/+page.svelte— sameapi.invoke+ type renames;READ_PERMISSION=error.list.src/lib/server/mock.ts— handler map keysdeployment.errors→error.list,deployment.errorGet→error.get,deployment.errorUpdate→error.update, plus mock type refs.src/lib/nav.tsis intentionally untouched (the/errorsroute + nav item stay).Verification
bun check— green (0 errors, 0 warnings)bun lint— green (0 errors)DeploymentError/ quoteddeployment.error*action references.🤖 Generated with Claude Code
https://claude.ai/code/session_011d4bVuGLnCbcJD9ZvastPH