Skip to content

make update count type happy for story update #2063

make update count type happy for story update

make update count type happy for story update #2063

Triggered via push October 7, 2024 17:13
Status Failure
Total duration 4m 10s
Billable time 4m
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Build and Test
Property 'SITE_NOT_FOUND' does not exist on type 'typeof ERROR_CODES'. Did you mean 'USER_NOT_FOUND'?
Build and Test
Type '*** COMMENT_BODY_EXCEEDS_MAX_LENGTH: string; COMMENT_BODY_TOO_SHORT: string; COMMENT_NOT_FOUND: string; COMMENT_REVISION_NOT_FOUND: string; PARENT_COMMENT_REJECTED: string; ANCESTOR_REJECTED: string; COMMENTING_DISABLED: string; DUPLICATE_EMAIL: string; DUPLICATE_EMAIL_DOMAIN: string; DUPLICATE_DSA_REPORT: string; DUPLICATE_STORY_ID: string; DUPLICATE_STORY_URL: string; DUPLICATE_FLAIR_BADGE: string; DUPLICATE_USER: string; EMAIL_ALREADY_SET: string; EMAIL_EXCEEDS_MAX_LENGTH: string; EMAIL_INVALID_FORMAT: string; EMAIL_NOT_SET: string; EMAIL_DOMAIN_PROTECTED: string; INTERNAL_ERROR: string; LOCAL_PROFILE_ALREADY_SET: string; LOCAL_PROFILE_NOT_SET: string; SSO_PROFILE_NOT_SET: string; NOT_FOUND: string; PASSWORD_TOO_SHORT: string; STORY_CLOSED: string; STORY_NOT_FOUND: string; STORY_URL_NOT_PERMITTED: string; TENANT_INSTALLED_ALREADY: string; TENANT_NOT_FOUND: string; TOKEN_INVALID: string; TOKEN_NOT_FOUND: string; USER_NOT_ENTITLED: string; USER_NOT_FOUND: string; USER_CANNOT_BE_IGNORED: string; USERNAME_ALREADY_SET: string; USERNAME_CONTAINS_INVALID_CHARACTERS: string; USERNAME_EXCEEDS_MAX_LENGTH: string; USERNAME_TOO_SHORT: string; AUTHENTICATION_ERROR: string; INVALID_CREDENTIALS: string; TOXIC_COMMENT: string; SPAM_COMMENT: string; USER_ALREADY_SUSPENDED: string; USER_ALREADY_BANNED: string; USER_BANNED: string; USER_SITE_BANNED: string; MODERATOR_CANNOT_BE_BANNED_ON_SITE: string; USER_SUSPENDED: string; USER_WARNED: string; INTEGRATION_DISABLED: string; PASSWORD_RESET_TOKEN_EXPIRED: string; EMAIL_CONFIRM_TOKEN_EXPIRED: string; RATE_LIMIT_EXCEEDED: string; JWT_REVOKED: string; INVITE_TOKEN_EXPIRED: string; INVITE_REQUIRES_EMAIL_ADDRESSES: string; LIVE_UPDATES_DISABLED: string; PASSWORD_INCORRECT: string; USERNAME_UPDATED_WITHIN_WINDOW: string; PERSISTED_QUERY_NOT_FOUND: string; RAW_QUERY_NOT_AUTHORIZED: string; USER_ALREADY_PREMOD: string; INVITE_INCLUDES_EXISTING_USER: string; REPEAT_POST: string; INSTALLATION_FORBIDDEN: string; SCRAPE_FAILED: string; DUPLICATE_SITE_ORIGIN: string; VALIDATION: string; USER_BIO_TOO_LONG: string; COMMENT_EDIT_WINDOW_EXPIRED: string; AUTHOR_ALREADY_HAS_RATED_STORY: string; CANNOT_CREATE_COMMENT_ON_ARCHIVED_STORY: string; CANNOT_OPEN_AN_ARCHIVED_STORY: string; CANNOT_MERGE_AN_ARCHIVED_STORY: string; USERNAME_ALREADY_EXISTS: string; UNABLE_TO_UPDATE_STORY_URL: string; DATA_CACHING_NOT_AVAILABLE: string; INVALID_FLAIR_BADGE_NAME: string; DSA_REPORT_LAW_BROKEN_TOO_LONG: string; DSA_REPORT_ADDITIONAL_INFO_TOO_LONG: string; UNABLE_TO_PRIME_CACHED_COMMENTS_FOR_STORY: string; SITE_NOT_FOUND: string; ***' is not assignable to type 'Record<ERROR_CODES, string>'.
Build and Test
Type 'WithId<Document> | null' is not assignable to type 'Readonly<Story> | null'.
Build and Test
Process completed with exit code 1.
Build and Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, webfactory/[email protected], docker/login-action@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/