Repository navigation
Add read-only Bitbucket repository review actions - #1949
Open
Paul Lizer (paullizer) wants to merge 3 commits into
Open
Paul Lizer (paullizer) wants to merge 3 commits into
Paul Lizer (paullizer) wants to merge 3 commits into
Conversation
Support Data Center and Cloud with private OAuth connections, token identities, repository allowlists, and branch policies in Classic and V2 editors. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Handle missing configuration keys before broad lookup failures and cover safe error responses. Leave confirmed pre-existing Cosmos inventory drift for separate review. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve version 0.261.451 and integrate Government Speech changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Linked issue
N/A. No associated issue was requested.
Release Notes & Latest Features
Is this visible to end users?
Is this admin-facing (Admin Settings, governance, deployment, config)?
Should this become a Latest Feature card?
Screenshot needed for the card?
No Latest Feature card is included; card publication and screenshots are left for maintainer selection. Release notes have not been changed.
Version bump
application/single_app/config.pyVERSIONthird segment bumped, or not needed because this is docs-onlydeployers/version.txtbumped, or not needed becausedeployers/was not changedApplication version:
0.261.449->0.261.450. No deployer changes.Testing / validation
Python commands used
$env:PYTHONPATH = '.\application\single_app;.\functional_tests'.python -m pytest functional_tests\test_bitbucket_action_plugin.py functional_tests\test_bitbucket_connections.py functional_tests\test_bitbucket_routes.py -q --disable-warnings -p no:cacheprovider --tb=short- 30 passed, including normal/optimized real application bootstrap and actual kernel-loader registration.python -m pytest functional_tests\test_bitbucket_routes.py functional_tests\route_tests\test_route_blueprint_policy_inventory.py functional_tests\route_tests\test_route_unauthenticated_policy_contract.py functional_tests\route_tests\test_route_policy_test_coverage.py -q --disable-warnings -p no:cacheprovider --tb=short- 33 passed.python -m pytest ui_tests\test_bitbucket_action_configuration.py ui_tests\test_classic_action_credentials.py -q --disable-warnings -p no:cacheprovider --tb=short- 32 passed. Classic and V2 Bitbucket layouts also exercised at 390 and 1440 pixels with local production styles and no horizontal overflow.python -m pytest ui_tests\test_v2_action_credentials.py -q --disable-warnings -p no:cacheprovider --tb=short- 27 passed. This suite runs separately because its Playwright lifecycle differs from the shared page fixture.npm --prefix application\v2_ui run typecheckandnpm --prefix application\v2_ui run build- passed; the build retains the existing large-chunk warning.python functional_tests\test_docs_app_surface_coverage.py- 7/7 passed.python functional_tests\test_docs_site_quality.py- 6/6 passed.python scripts\check_swagger_routes.py application\single_app\route_backend_bitbucket.py- passed.python -m pytest functional_tests\test_bitbucket_connections.py functional_tests\test_action_personal_credentials.py functional_tests\test_m365_cosmos_sdk_contract.py functional_tests\test_cosmos_document_boundaries.py functional_tests\test_cosmos_contract_runner.py -q --disable-warnings -p no:cacheprovider -p test_support.cosmos_network_guard --tb=short- 107 passed, 1 failed. The sole failure is the existing repository inventory assertion described below.python scripts\check_cosmos_response_boundaries.py --run-contracts- blocked by 18 pre-existing module-fingerprint mismatches in unchangedroute_backend_orchestration.py. Only this feature's three new OAuth storage owners and seven affected identity-owner contracts were reviewed/updated; unrelated orchestration reviews were preserved, not reapproved.git --no-pager diff --check- passed before commit.Deployment acceptance remains outstanding: no live Data Center/Cloud server, customer smart-card/SSO environment, or Azure lab was used. OAuth requires a registered read-only provider application, canonical HTTPS
BITBUCKET_REDIRECT_URI, persistentBITBUCKET_TOKEN_ENCRYPTION_KEY, and trusted private network/TLS connectivity. OAuth connect returns users to retry chat; only personal token credential requests use the existing automatic Save and continue flow. Disconnect removes local token access, not the provider-side grant.Documentation
Added the Bitbucket action reference and
BITBUCKET_REPOSITORY_ACTION.md, updated the personal credentials guide/action index, and regenerated the application surface inventory. Separate fix documentation is not applicable to this new feature. Release notes remain pending approval.Security checklist
@swagger_route(security=get_auth_security())sanitize_settings_for_user()No settings objects are sent to the new frontend. Discovery beyond an action's allowlist requires action-management rights; runtime operations reauthorize the current actor/action. Provider redirects are disabled, Cloud continuation URLs cannot change destination/operation, and repository source is treated as untrusted data. All included credentials and encryption fixtures are synthetic test values.