Page MenuHomePhabricator

Namespace is not supported error in structured data article delete service
Closed, ResolvedPublic8 Estimated Story PointsBUG REPORT

Description

What happens?:
We have a lot of messages from 118 namespace in our articledelete(structured data service) dead letter queue, although we are filtering out this namespace at the event-bridge. Messages are failing with namespaces is not supported error message (that's to be expected cuz we are not supporting this namespace at the moment).

What should have happened instead?:
Those messages should not end up in dead letter queue.

Message example:

{
	"name": "Draft:Sallie_Walker_Stockard",
	"identifier": 72605295,
	"abstract": "",
	"date_created": null,
	"date_modified": null,
	"date_previously_modified": null,
	"protection": [],
	"version": {
		"wikimedia_enterprise.general.schema.Version": {
			"identifier": 1138804512,
			"comment": "Publishing accepted [[Wikipedia:Articles for creation|Articles for creation]] submission ([[WP:AFCH|AFCH]] 0.9.1)",
			"tags": [],
			"is_minor_edit": false,
			"is_flagged_stable": false,
			"has_tag_needs_citation": false,
			"scores": null,
			"editor": {
				"wikimedia_enterprise.general.schema.Editor": {
					"identifier": -1,
					"name": "...",
					"edit_count": 5602,
					"groups": [
						"extendedconfirmed",
						"patroller",
						"reviewer",
						"rollbacker",
						"*",
						"user",
						"autoconfirmed"
					],
					"is_bot": false,
					"is_anonymous": false,
					"is_admin": false,
					"is_patroller": false,
					"has_advanced_rights": false,
					"date_started": {
						"long": 1662738680000000
					}
				}
			},
			"diff": null,
			"number_of_characters": 0,
			"sizes": null,
			"event": null
		}
	},
	"previous_version": null,
	"version_identifier": "",
	"url": "",
	"watchers_count": 0,
	"namespace": {
		"wikimedia_enterprise.general.schema.Namespace": {
			"name": "",
			"alternate_name": "",
			"identifier": 118,
			"description": "",
			"event": null
		}
	},
	"in_language": {
		"wikimedia_enterprise.general.schema.Language": {
			"identifier": "en",
			"name": "",
			"alternate_name": "",
			"direction": "",
			"event": null
		}
	},
	"main_entity": null,
	"additional_entities": [],
	"categories": [],
	"templates": [],
	"redirects": [],
	"is_part_of": {
		"wikimedia_enterprise.general.schema.Project": {
			"name": "",
			"identifier": "enwiki",
			"url": "https://en.wikipedia.org",
			"version": "",
			"date_modified": null,
			"in_language": null,
			"namespace": null,
			"sizes": null,
			"additional_type": "",
			"event": null
		}
	},
	"article_body": null,
	"license": [],
	"visibility": null,
	"event": {
		"wikimedia_enterprise.general.schema.Event": {
			"identifier": "836416b1-1a7e-472a-89ca-d9f01ed2a715",
			"type": "delete",
			"date_created": {
				"long": 1676140412515033
			},
			"fail_count": 2,
			"fail_reason": "namespaces is not supported"
		}
	}
}

Event Timeline