Add DB-Level FKs to corresondences #9814
Annotations
10 errors and 4 warnings
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L36
Correspondence Requests #current_step saves the user's current step in the intake form
Failure/Error: correspondence = create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid)
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation CavcCorrespondenceMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation CongressionalInterestMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation DeathCertificateMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation FoiaRequestMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation OtherMotionMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation PowerOfAttorneyRelatedMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation PrivacyActRequestMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation PrivacyComplaintMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
RSpec via knapsack_pro Queue Mode:
spec/requests/correspondence_controller_spec.rb#L73
Correspondence Requests #process_intake tasks_not_related_to_appeal it should behave like successful unrelated task creation StatusInquiryMailTask creates tasks not related to an appeal
Failure/Error: let(:correspondence) { create(:correspondence, veteran_id: veteran.id, uuid: SecureRandom.uuid) }
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "correspondences" violates foreign key constraint "fk_rails_1bafa39cc3"
DETAIL: Key (correspondence_type_id)=(9) is not present in table "correspondence_types".
: INSERT INTO "correspondences" ("assigned_by_id", "cmp_packet_number", "cmp_queue_id", "correspondence_type_id", "created_at", "notes", "package_document_type_id", "portal_entry_date", "source_type", "updated_at", "uuid", "va_date_of_receipt", "veteran_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id"
Shared Example Group: "successful unrelated task creation" called from ./spec/requests/correspondence_controller_spec.rb:100
|
capybara-artifacts
No files were found with the provided path: ./tmp/capybara. No artifacts will be uploaded.
|
Save Yarn Cache
Cache save failed.
|
Post Run actions/checkout@v3
The process '/usr/bin/git' failed with exit code 128
|
bullet-7.log
No files were found with the provided path: ./log/bullet-7.log. No artifacts will be uploaded.
|
The logs for this run have expired and are no longer available.
Loading