Distinguish discovery from selection
A sitemap helps discovery but does not guarantee indexing. Use URL Inspection to compare the page’s response, robots directives, canonical and rendered content. A canonical is a signal, not an absolute instruction.
If a page must be removed from indexing with noindex, the crawler needs to be able to fetch that directive. Blocking it in robots.txt first can prevent that. Keep staging and live-domain settings intentional.