message: indexer-agent: Index, but don't allocate towards network subgraph
diff: @@ -276,14 +276,6 @@ class Agent {
  ? []
  : await this.network.subgraphDeploymentsWorthIndexing(indexingRules)
  - if (this.networkSubgraph instanceof SubgraphDeploymentID) {
  - // Ensure the network subgraph deployment is _always_ indexed and
  - // considered for allocations (depending on rules)
  - if (!deploymentInList(targetDeployments, this.networkSubgraph)) {
  - targetDeployments.push(this.networkSubgraph)
  - }
  - }
  -
  // Identify active allocations
  const activeAllocations = await this.network.allocations(
  AllocationStatus.Active,
  @@ -331,6 +323,13 @@ class Agent {
  activeDeployments = uniqueDeployments(activeDeployments)
  targetDeployments = uniqueDeployments(targetDeployments)
  + // Ensure the network subgraph deployment is _always_ indexed
  + if (this.networkSubgraph instanceof SubgraphDeploymentID) {
  + if (!deploymentInList(targetDeployments, this.networkSubgraph)) {
  + targetDeployments.push(this.networkSubgraph)
  + }
  + }
  +
  this.logger.info('Reconcile deployments', {
  active: activeDeployments.map(id => id.display),
  target: targetDeployments.map(id => id.display),
  @@ -403,6 +402,14 @@ class Agent {
  ...activeAllocations.map(allocation => allocation.subgraphDeployment.id),
  ])
  + // Ensure the network subgraph is never allocaated towards
  + if (this.networkSubgraph instanceof SubgraphDeploymentID) {
  + const networkSubgraphDeployment = this.networkSubgraph
  + targetDeployments = targetDeployments.filter(
  + deployment => deployment.bytes32 !== networkSubgraphDeployment.bytes32,
  + )
  + }
  +
  this.logger.debug(`Deployments to reconcile allocations for`, {
  number: deployments.length,
  deployments: deployments.map(deployment => deployment.display),
  